@charset "UTF-8";

#technology_header {
  margin-top: 200px;
  width: 1080px;
  margin: 200px auto 80px;
  position: relative;
  z-index: 10;
}

#technology_header::before {
  content: '';
  display: block;
  position: absolute;
  background-image: url("../img/bg_1.jpg");
  background-size: contain;
  width: 100vw;
  height: 42.3vw;
  bottom: 200px;
  left: 50%;
  margin-left: -50vw;
  z-index: 1;
}

#technology_header h1 {
  font-family: "Poiret One";
  font-size: 70px;
  font-weight: 100;
  position: relative;
  margin-bottom: 100px;
  color: #333;
  z-index: 10;
}

#technology_header h1 small {
  font-family: "Noto Sans JP";
  font-size: 20px;
  font-weight: 200;
  letter-spacing: 0.2em;
  position: absolute;
  left: 0;
  top: 100px;
  color: #333;
}

#technology_header .tech_disc {
  display: flex;
  position: relative;
  align-items: top;
  margin-top: 290px;
  z-index: 10;
}

#technology_header h2 {
  font-family: "Noto Sans JP";
  font-size: 32px;
  line-height: 2em;
  margin: -0.25em 0 0;
  font-weight: 100;
  position: relative;
  width: 50%;
  color: #333;
}

#technology_header p {
  font-size: 16px;
  line-height: 2em;
  margin: 0;
  width: 50%;
  color: #333;
}

#flow {
  margin: auto;
  width: 1080px;
  position: relative;
  z-index: 10;
}

#flow .flow__content .title-area h2 {
  display: block;
  width: 100%;
  border-bottom: 1px solid #666;
  font-family: "Poiret One";
  letter-spacing: 0.1em;
  font-size: 40px;
  font-weight: 100;
  position: relative;
  color: #333;
  padding-left: 10px;
  margin: 0 0 50px;
}

#flow .flow__content .title-area h2 small {
  font-family: "Noto Sans JP";
  font-size: 16px;
  font-weight: 200;
  letter-spacing: 0.1em;
  margin-left: 20px;
  top: 100px;
  color: #333;
}

#flow ul {
  display: flex;
  padding: 0;
  justify-content: space-between;
  margin: 0 0 50px;
}

#flow li {
  display: flex;
  position: relative;
  width: 160px;
  height: 160px;
  border-radius: 80px;
  background-color: #787a75;
  color: white;
  justify-content: center;
  text-align: center;
  align-items: center;
}

#flow li::after {
  content: '';
  display: block;
  position: absolute;
  background-image: url("../img/arrow1.png");
  background-size: contain;
  width: 6px;
  height: 20px;
  top: 50%;
  margin-top: -10px;
  right: -15px;
}

#flow li:nth-child(6)::after {
  display: none;
}

#flow .flow__discription {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

#flow .discription__item {
  position: relative;
  width: 340px;
  height: 400px;
  border-radius: 5px;
  background-color: #dde0d8;
  margin-bottom: 40px;
  padding: 0 20px;
}

#flow .discription__item h3 {
  text-align: center;
  font-family: "Noto Sans JP";
  font-size: 18px;
  font-weight: 200;
  line-height: 70px;
  display: block;
  width: 300px;
  border-bottom: 1px solid #666;
  margin: 0 0 30px;
}

#flow .discription__item p {
  font-family: "Noto Sans JP";
  font-weight: 200;
  font-size: 14px;
}

#flow .discription__item strong {
  font-weight: 600;
}

#flow .discription__item::after {
  content: '';
  display: block;
  position: absolute;
  background-image: url("../img/arrow1.png");
  background-size: contain;
  width: 6px;
  height: 20px;
  top: 50%;
  margin-top: -10px;
  right: -18px;
}

#flow .discription__item:nth-child(3n)::after {
  display: none;
}

#flow .comparison {
  width: 900px;
  position: relative;
  margin: 80px auto 0;
  border: 1px solid #999;
  z-index: 10;
}

#flow .comparison h3 {
  position: absolute;
  background-color: white;
  font-family: "Noto Sans JP";
  font-weight: 200;
  font-size: 18px;
  display: block;
  width: 200px;
  box-sizing: border-box;
  text-align: center;
  line-height: 1em;
  left: 50%;
  margin:0 0 0 -100px;
  top: -0.5em;
}

#flow .comparison__inner {
  display: flex;
  padding: 50px 80px 40px;
  align-items: center;
}

#flow .comparison__inner img {
  width: 300px;
  height: 210px;
}

#flow .comparison__inner .right-side {
  margin-left: 60px;
  text-align: center;
}

#flow .before01 {
  font-size: 16px;
  position: relative;
  margin-bottom: 80px;
}

#flow .before01::after {
  content: '';
  display: block;
  position: absolute;
  background-image: url("../img/arrow2.png");
  background-size: contain;
  width: 40px;
  height: 14px;
  bottom: -54px;
  left: 50%;
  margin-left: -20px;
}

#flow .before02 {
  font-size: 20px;
}

#flow::after {
  content: '';
  display: block;
  position: absolute;
  background-image: url("../img/bg_2.jpg");
  background-size: contain;
  background-repeat: no-repeat;
  width: 100vw;
  height: 30vw;
  bottom: -22vw;
  left: 50%;
  margin-left: -50vw;
  z-index: 1;
}

#system {
  width: 1080px;
  margin: 200px auto 120px;
  position: relative;
  z-index: 10;
}

#system .system__header {
  display: flex;
  align-items: flex-end;
  margin-bottom: 80px;
}

#system .system__header .left {
  width: 50%;
}

#system .system__header .left h2 {
  font-family: "Noto Sans JP";
  font-size: 32px;
  font-weight: 200;
  letter-spacing: 0.1em;
  margin: 0 0 60px;
}

#system .system__header img {
  width: 50%;
}

#system .tech {
  margin: 40px 0 0;
} 

#system .tech_header h3 {
  display: block;
  width: 100%;
  border-bottom: 1px solid #666;
  font-family: "Poiret One";
  letter-spacing: 0.1em;
  font-size: 40px;
  font-weight: 100;
  position: relative;
  color: #333;
  padding-left: 10px;
  margin: 0 0 20px;  
}

#system .tech_header h3 small {
  font-family: "Noto Sans JP";
  font-size: 16px;
  font-weight: 200;
  letter-spacing: 0.1em;
  margin-left: 20px;
  top: 100px;
  color: #333;
}

#system .tech ul {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin-top: 30px;
}

#system .tech .modal-open {
  display: flex;
  position: relative;
  text-align: center;
  align-items: center;
  justify-content: center;
  background-color: #dde0d8;
  border-radius: 5px;
  width: 340px;
  height: 100px;
  margin: 0 30px 30px 0;
  transition: background 0.2s;
}

#system .tech .modal-open:hover {
  background-color: #adfdf2;
}

#system .tech .modal-open::after {
  content: '';
  display: block;
  position: absolute;
  background-image: url("../img/plus.png");
  background-size: contain;
  width: 20px;
  height: 20px;
  bottom: 10px;
  right: 10px;
}

#system .tech .modal-open:nth-child(3n) {
  margin-right: 0;
}

#system .tech .modal-open h4 {
  font-family: "Noto Sans JP";
  font-weight: 100;
  font-size: 18px;
  line-height: 1.2em;
}

#system .tech .modal-open h4 small {
  font-size: 14px;
}


/* モーダル */

.modal {
  padding: 200px 0;
}

.inner {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 0 20px;
}

/* モーダルを開くボタン */
.modal__trigger {
  cursor: pointer;
}

.modal__trigger:nth-child(n + 2) {
  margin-top: 60px;
}

/* モーダル本体 */
.modal__wrapper {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
  height: 100%;
}

.modal__layer {
  position: relative;
  width: 100%;
  height: 100%;
  background: rgba(50, 50, 50, .85);
  cursor: pointer;
  z-index: 9998;
  max-width: 100vw;
}

.modal__container {
  position: absolute;
  top: 50%;
  left: 50%;
  max-height: 80vh;
  overflow-y: scroll;
  transform: translate(-50%, -50%);
  width: min(calc(100% - 40px), 1000px);
  padding: 20px;
  background: #fff;
  z-index: 9999;
}

.modal__inner {
  position: relative;
  overflow-y: scroll;
  height: 100%;
  padding: 20px;
}

/* モーダルを閉じるボタン */
.modal__close {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: rgba(50, 50, 50, 1);
  cursor: pointer;
  transition: opacity .6s;
}

.modal__close:hover {
  opacity: .6;
}

.modal__close:before,
.modal__close:after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 1px;
  background: #fff;
  content: '';
}

.modal__close:before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.modal__close:after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* モーダル内のコンテンツ */
.modal__content {
  display: flex;
  align-items: center;
}

.modal__title {
  font-size: 24px;
}

.text_area {
  width: 100%;
}

.modal__text {
  margin-top: 30px;
  line-height: 1.5em;
}

.modal__text strong {
  font-weight: bold;
}


#contact a {
  height: 400px;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

#contact div.contact__inner {
  margin: auto;
}

/* スマホレイアウト　スマホレイアウト　スマホレイアウト　スマホレイアウト　スマホレイアウト　スマホレイアウト　スマホレイアウト　スマホレイアウト　スマホレイアウト　スマホレイアウト　スマホレイアウト　スマホレイアウト */

@media screen and (max-width: 768px) {
/* 768pxまでの幅の場合に適応される */
  
  #technology_header {
    width: 100%;
    margin: 130px auto 80px;
    position: relative;
    z-index: 10;
  }

  #technology_header::before {
    content: '';
    display: block;
    position: absolute;
    background-image: url("../img/bg_1.jpg");
    background-size: contain;
    width: 100vw;
    height: 42.3vw;
    bottom: inherit;
    top: 7vw;
    left: 50%;
    margin-left: -50vw;
    z-index: 1;
  }

  #technology_header h1 {
    font-family: "Poiret One";
    font-size: 50px;
    font-weight: 100;
    position: relative;
    margin-bottom: inherit;
    margin-left: 10vw;
    color: #333;
    z-index: 10;
  }

  #technology_header h1 small {
    font-family: "Noto Sans JP";
    font-size: 16px;
    font-weight: 200;
    letter-spacing: 0.2em;
    position: absolute;
    left: 0.2em;
    top: 80px;
    color: #333;
  }

  #technology_header .tech_disc {
    display: block;
    position: relative;
    align-items: top;
    margin: 150px 10vw;
    z-index: 10;
  }

  #technology_header h2 {
    font-family: "Noto Sans JP";
    font-size: 24px;
    line-height: 2em;
    margin: 0 0 1em;
    font-weight: 100;
    position: relative;
    width: 100%;
    color: #333;
  }

  #technology_header p {
    font-size: 14px;
    line-height: 1.8em;
    margin: 0;
    width: 100%;
    color: #333;
  }

  #flow {
    margin: auto;
    width: 90vw;
    position: relative;
    z-index: 10;
  }

  #flow .flow__content .title-area h2 {
    display: block;
    width: 100%;
    border-bottom: 1px solid #666;
    font-family: "Poiret One";
    letter-spacing: 0.1em;
    font-size: 35px;
    font-weight: 100;
    position: relative;
    color: #333;
    padding-left: 10px;
    margin: 0 0 5vw;
  }

  #flow .flow__content .title-area h2 small {
    font-family: "Noto Sans JP";
    font-size: 14px;
    font-weight: 200;
    letter-spacing: 0.1em;
    margin-left: 1em;
    top: 100px;
    color: #333;
  }

  #flow ul {
    display: flex;
    padding: 0;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0 5vw 5vw 0;
  }

  #flow li {
    display: flex;
    position: relative;
    font-size: 2.5vw;
    width: 25vw;
    height: 25vw;
    margin-bottom: 5vw;
    border-radius: 12.5vw;
    background-color: #787a75;
    color: white;
    justify-content: center;
    text-align: center;
    align-items: center;
  }

  #flow li::after {
    content: '';
    display: block;
    position: absolute;
    background-image: url("../img/arrow1.png");
    background-size: contain;
    width: 6px;
    height: 20px;
    top: 50%;
    margin-top: -10px;
    right: -15px;
  }

  #flow li:nth-child(6)::after {
    display: none;
  }

  #flow .flow__discription {
    display: block;
    width: 80vw;
    margin: auto;
  }

  #flow .discription__item {
    position: relative;
    width: 80vw;
    height: auto;
    border-radius: 5px;
    background-color: #dde0d8;
    margin-bottom: 40px;
    padding: 0 5vw 5vw;
  }

  #flow .discription__item h3 {
    text-align: center;
    font-family: "Noto Sans JP";
    font-size: 18px;
    font-weight: 200;
    line-height: 70px;
    display: block;
    width: 70vw;
    border-bottom: 1px solid #666;
    margin: 0 0 5vw;
  }
  
  #flow .discription__item img {
    width: 70vw;
    height: auto;
  }

  #flow .discription__item p {
    font-family: "Noto Sans JP";
    font-weight: 200;
    font-size: 14px;
  }

  #flow .discription__item strong {
    font-weight: 600;
  }

  #flow .discription__item::after {
    content: '';
    display: block;
    position: absolute;
    background-image: url("../img/arrow2.png");
    background-size: contain;
    width: 40px;
    height: 14px;
    bottom: -29px;
    right: 50%;
    top: inherit;
    margin-right: -20px;
  }

  #flow .discription__item:nth-child(3n)::after {
    display: block;
  }
  #flow .discription__item:nth-child(6)::after {
    display: none;
  }

  #flow .comparison {
    width: 90vw;
    position: relative;
    margin: 80px auto 0;
    border: 1px solid #999;
    z-index: 10;
  }

  #flow .comparison h3 {
    position: absolute;
    background-color: white;
    font-family: "Noto Sans JP";
    font-weight: 200;
    font-size: 18px;
    display: block;
    width: 200px;
    box-sizing: border-box;
    text-align: center;
    line-height: 1em;
    left: 50%;
    margin:0 0 0 -100px;
    top: -0.5em;
  }

  #flow .comparison__inner {
    display: block;
    padding: 0;
    margin: 10vw 5vw;
  }

  #flow .comparison__inner img {
    width: 80vw;
    height: auto;
  }

  #flow .comparison__inner .right-side {
    margin-left: 0;
    text-align: center;
  }

  #flow .before01 {
    font-size: 14px;
    position: relative;
    margin-bottom: 40px;
  }

  #flow .before01::after {
    content: '';
    display: block;
    position: absolute;
    background-image: url("../img/arrow2.png");
    background-size: contain;
    width: 40px;
    height: 14px;
    bottom: -35px;
    left: 50%;
    margin-left: -20px;
  }

  #flow .before02 {
    font-size: 16px;
  }

  #flow::after {
    content: '';
    display: block;
    position: absolute;
    background-image: url("../img/bg_2.jpg");
    background-size: contain;
    background-repeat: no-repeat;
    width: 100vw;
    height: 30vw;
    bottom: -22vw;
    left: 50%;
    margin-left: -50vw;
    z-index: 1;
  }

  #system {
    width: 80vw;
    margin: 100px auto 80px;
    position: relative;
    z-index: 10;
  }

  #system .system__header {
    display: block;
    margin-bottom: 80px;
  }

  #system .system__header .left {
    width: 100%;
  }

  #system .system__header .left h2 {
    font-family: "Noto Sans JP";
    font-size: 24px;
    font-weight: 200;
    letter-spacing: 0.1em;
    margin: 0 0 5vw;
  }
  
  #system .system__header .left p {
    font-size: 14px;
  }

  #system .system__header img {
    width: 100%;
    margin-top: 10vw;
  }

  #system .tech {
    margin: 40px 0 0;
  } 

  #system .tech_header h3 {
    display: block;
    width: 100%;
    border-bottom: 1px solid #666;
    font-family: "Poiret One";
    letter-spacing: 0.1em;
    font-size: 24px;
    font-weight: 100;
    position: relative;
    color: #333;
    padding-left: 0;
    margin: 0 0 20px;  
  }

  #system .tech_header h3 small {
    font-family: "Noto Sans JP";
    font-size: 13px;
    font-weight: 200;
    letter-spacing: 0.1em;
    margin-left: 20px;
    top: 100px;
    color: #333;
  }
  
  #system .tech header p {
    font-size: 14px;
  }

  #system .tech ul {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin-top: 30px;
  }

  #system .tech .modal-open {
    display: flex;
    position: relative;
    text-align: center;
    align-items: center;
    justify-content: center;
    background-color: #dde0d8;
    border-radius: 5px;
    width: 80vw;
    height: 80px;
    margin: 0 0 5vw 0;
    transition: background 0.2s;
  }

  #system .tech .modal-open:hover {
    background-color: #adfdf2;
  }

  #system .tech .modal-open::after {
    content: '';
    display: block;
    position: absolute;
    background-image: url("../img/plus.png");
    background-size: contain;
    width: 20px;
    height: 20px;
    bottom: 10px;
    right: 10px;
  }

  #system .tech .modal-open:nth-child(3n) {
    margin-right: 0;
  }

  #system .tech .modal-open h4 {
    font-family: "Noto Sans JP";
    font-weight: 100;
    font-size: 18px;
    line-height: 1.2em;
  }

  #system .tech .modal-open h4 small {
    font-size: 14px;
  }


  /* モーダル */

  .modal {
    padding: 200px 0;
  }

  .inner {
    width: min(100%, 1120px);
    margin: 0 auto;
    padding: 0 20px;
  }

  /* モーダルを開くボタン */
  .modal__trigger {
    cursor: pointer;
  }

  .modal__trigger:nth-child(n + 2) {
    margin-top: 60px;
  }

  /* モーダル本体 */
  .modal__wrapper {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 100%;
    height: 100%;
  }

  .modal__layer {
    position: relative;
    width: 100%;
    height: 100%;
    background: rgba(50, 50, 50, .85);
    cursor: pointer;
    z-index: 9998;
    max-width: 100vw;
  }

  .modal__container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(calc(100% - 40px), 1000px);
    padding: 20px;
    background: #fff;
    z-index: 9999;
  }

  .modal__inner {
    position: relative;
    overflow-y: scroll;
    height: 100%;
    max-height: 70vh;
    padding: 20px;
  }

  /* モーダルを閉じるボタン */
  .modal__close {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: rgba(50, 50, 50, 1);
    cursor: pointer;
    transition: opacity .6s;
  }

  .modal__close:hover {
    opacity: .6;
  }

  .modal__close:before,
  .modal__close:after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 1px;
    background: #fff;
    content: '';
  }

  .modal__close:before {
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .modal__close:after {
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  /* モーダル内のコンテンツ */
  .modal__content {
    display: flex;
    align-items: center;
  }

  .modal__title {
    font-size: 24px;
  }

  .text_area {
    width: 100%;
  }

  .modal__text {
    margin-top: 30px;
    line-height: 1.5em;
  }

  .modal__text strong {
    font-weight: bold;
  }


  #contact a {
    height: 180px;
  }

}