html::-webkit-scrollbar {
  display: none;
}

#main-contents {
  margin: 10px auto;
  height: 78vh;
  width: 100%;
  z-index: 1;
}

.flex-container {
  position: absolute;
  height: 73vh;
  width: 100%;
  display: flex;
  overflow: hidden;
}

.flex-slider {
  flex: 1;
  cursor: pointer;
  -webkit-transition: all 500ms ease;
  -moz-transition: all 500ms ease;
  -ms-transition: all 500ms ease;
  -o-transition: all 500ms ease;
  transition: all 500ms ease;
}

.flex-title {
  color: #f1f1f1;
  position: relative;
  font-size: 2vw;
  width: 100%;
  margin: auto;
  text-align: center;
  transform: rotate(90deg);
  top: 20%;
  -webkit-transition: all 500ms ease;
  -moz-transition: all 500ms ease;
  -ms-transition: all 500ms ease;
  -o-transition: all 500ms ease;
  transition: all 500ms ease;
}

.flex-text {
  opacity: 0;
  color: #f1f1f1;
  position: relative;
  width: 70%;
  font-size: 2vw;
  padding: 5%;
  top: 20%;
  margin: auto;
  text-align: left;
  transform: rotate(0deg);
  -webkit-transition: all 500ms ease;
  -moz-transition: all 500ms ease;
  -ms-transition: all 500ms ease;
  -o-transition: all 500ms ease;
  transition: all 500ms ease;
}

.flex-link {
  opacity: 0;
  color: #f1f1f1;
  position: relative;
  width: 80%;
  font-size: 2vw;
  padding: 5%;
  top: 13%;
  margin: auto;
  text-align: right;
  transform: rotate(0deg);
  -webkit-transition: all 500ms ease;
  -moz-transition: all 500ms ease;
  -ms-transition: all 500ms ease;
  -o-transition: all 500ms ease;
  transition: all 500ms ease;
}

.flex-link-button {
  width: 10vw;
  height: 10vh;
  text-align: center;
  font-size: 100%;
  color: #f1f1f1;
  background-color: rgba(28, 113, 224, 0.5);
  border-radius: 5%;
  border: #f1f1f1;
  border-style: solid;
  border-width: 1px;
}

.conteints-1 {
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("/assets/img/development/Android_back.webp");
  background-size: cover;
  background-position: center center;
  background-attachment: scroll;
}

.conteints-2 {
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("/assets/img/development/iPhone_back.webp");
  background-size: cover;
  background-position: center center;
  background-attachment: scroll;
}

.conteints-3 {
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("/assets/img/development/web_develop.webp");
  background-size: cover;
  background-position: center center;
  background-attachment: scroll;
}

.conteints-4 {
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("/assets/img/development/commnunication.webp");
  background-size: cover;
  background-position: center center;
  background-attachment: scroll;
}

.conteints-5 {
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("/assets/img/development/iot.webp");
  background-size: cover;
  background-position: center center;
  background-attachment: scroll;
}

.conteints-6 {
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("/assets/img/development/embedded.webp");
  background-size: cover;
  background-position: center center;
  background-attachment: scroll;
}

.conteints-7 {
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("/assets/img/development/bitcoin.webp");
  background-size: cover;
  background-position: center center;
  background-attachment: scroll;
}

@keyframes flexSlide {
  0% {
    flex-grow: 1;
  }

  50% {
    flex-grow: 3;
  }

  100% {
    flex-grow: 1;
  }
}

@keyframes flextitle {
  0% {
    transform: rotate(90deg);
    top: 15%;
  }

  50% {
    transform: rotate(0deg);
    top: 15%;
  }

  100% {
    transform: rotate(90deg);
    top: 15%;
  }
}

.flex-text-conteints-1 {
  opacity: 0;
}

@keyframes flexAboutHome {
  0% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

.dialog-contents-wrapper {
  height: 100%;
  width: 100%;
  margin-top: 3.31vw;
  position: fixed;
  z-index: 0;
}

.dialog-area {
  width: 100%;
  top: 50%;
  position: fixed;
  z-index: 4;
}

.dialog-arrow-left {
  position: absolute;
  left: 21%;
  top: 12%;
  margin-left: -10px;
  display: inline-block;
  color: #333;
  text-decoration: none;
  z-index: 20;
}

.dialog-arrow-left::before {
  content: "";
  width: 7vh;
  height: 7vh;
  border: 0;
  border-top: solid 1vw #f1f1f1;
  border-left: solid 1vw #f1f1f1;
  position: absolute;
  margin-top: -4px;
  transform: rotate(-45deg);
}

.dialog-arrow-right {
  position: absolute;
  left: 74.5%;
  top: 12%;
  display: inline-block;
  color: #333;
  text-decoration: none;
  z-index: 20;
}

.dialog-arrow-right::before {
  content: "";
  width: 7vh;
  height: 7vh;
  border: 0;
  border-bottom: solid 1vw #f1f1f1;
  border-right: solid 1vw #f1f1f1;
  position: absolute;
  margin-top: -4px;
  transform: rotate(-45deg);
}

.dialog {
  height: 100%;
  width: 100%;
  position: fixed;
  top: 50%;
  left: 0;
  display: none;
  z-index: 10;
}

.dialog_bg {
  background-color: rgb(0 0 0 / 90%);
  height: 100vh;
  width: 100vw;
  top: 0;
  position: fixed;
  z-index: 5;
}

.dialog-inner {
  height: 40%;
  width: 40%;
  left: 50%;
  padding: 2%;
  position: absolute;
  top: 0;
  transform: translate(-50%, -50%);
  z-index: 6;
}

.dialog-menu-1 .dialog-inner {
  background: url("/assets/img/development/Android_modal.webp") no-repeat;
  background-size: cover;
}

.dialog-menu-2 .dialog-inner {
  background: url("/assets/img/development/iPhone_modal.webp") no-repeat;
  background-size: cover;
}

.dialog-menu-3 .dialog-inner {
  background: url("/assets/img/development/web_modal.webp") no-repeat;
  background-size: cover;
}

.dialog-menu-4 .dialog-inner {
  background: url("/assets/img/development/commnunication_modal.webp") no-repeat;
  background-size: cover;
}

.dialog-menu-5 .dialog-inner {
  background: url("/assets/img/development/iot_modal.webp") no-repeat;
  background-size: cover;
}

.dialog-menu-6 .dialog-inner {
  background: url("/assets/img/development/embedded_modal.webp") no-repeat;
  background-size: cover;
}

.dialog-menu-7 .dialog-inner {
  background: url("/assets/img/development/bitcoin_modal.webp") no-repeat;
  background-size: cover;
}

.dialog_close {
  cursor: pointer;
  position: absolute;
  height: 2.6rem;
  width: 2.6rem;
  background: url("/assets/img/other/close_btn.webp");
  background-size: cover;
  right: -3%;
  top: -5%;
  z-index: 100;
}

.dialog-menu {
  padding-left: 20%;
}

.dialog-menu li {
  padding: 5%;
  cursor: pointer;
  font-size: 2.5vh;
  text-align: left;
  position: relative;
  overflow: hidden;
  font-weight: bold;
  text-shadow: 0.15vh 0.15vh 0.15vh #808080;
}

.dialog-menu li::before {
  content: "";
  position: absolute;
  margin: auto;
  top: 0;
  bottom: 0;
  left: 0;
  width: 1vh;
  height: 1vh;
  border-top: 0.5vh solid #f1f1f1;
  border-right: 0.5vh solid #f1f1f1;
  transform: rotate(45deg);
}

#dialog-menu-1 li:hover,
#dialog-menu-4 li:hover {
  color: #ff0000;
  text-decoration: underline solid #ff0000;
  text-shadow: 0.15vh 0.15vh 0 #008733;
}

#dialog-menu-1 li:hover::before,
#dialog-menu-4 li:hover::before {
  border-color: #ff0000;
}

#dialog-menu-2 li:hover {
  color: #00b16b;
  text-decoration: underline solid #00b16b;
  text-shadow: 0.2vh 0.2vh 0 #380900;
}

#dialog-menu-2 li:hover::before {
  border-color: #00b16b;
}

#dialog-menu-3 li:hover,
#dialog-menu-5 li:hover,
#dialog-menu-6 li:hover {
  color: #ff8c00;
  text-decoration: underline solid #ff8c00;
  text-shadow: 0.2vh 0.2vh 0 #005f8c;
}

#dialog-menu-3 li:hover::before,
#dialog-menu-5 li:hover::before,
#dialog-menu-6 li:hover::before {
  border-color: #ff8c00;
}

#dialog-menu-7 li:hover {
  color: #e5e619;
  text-decoration: underline solid #e5e619;
  text-shadow: 0.2vh 0.2vh 0 #4e00a1;
}

#dialog-menu-7 li:hover::before {
  border-color: #e5e619;
}

.dialog-contents-text {
  background-color: #e2e2e2d0;
  height: 95%;
  width: 94%;
  margin-top: 2%;
  margin-left: 3%;
}

.dialog-contents-text p {
  margin-left: 15px;
}

.dialog-contents-text p {
  font-size: clamp(10.5px, 0.9vw, 50px);
  margin-left: 4%;
  margin-right: 3%;
}

h2 {
  padding-top: 3%;
  font-size: clamp(18px, 1.3vw, 50px);
}

/* (1024*768)画面 */
@media screen and (max-width: 1024px) {
  .dialog-arrow-left {
    top: 23%;
  }

  .dialog-arrow-right {
    top: 23%;
  }

  .flex-link {
    width: 92%;
  }

  .dialog_close {
    height: 2.1rem;
    width: 2.1rem;
  }

  .dialog-menu {
    padding-left: 7%;
  }
}

@media screen and (min-width: 1600px) {
  .dialog_close {
    height: 2.6rem;
    width: 2.6rem;
  }

  .dialog-arrow-left {
    top: 16%;
  }

  .dialog-arrow-right {
    top: 16%;
  }
}

/* 2K(1920*1080)画面 */
@media screen and (min-width: 1920px) {
  .dialog-arrow-left {
    top: 12%;
  }

  .dialog-arrow-right {
    top: 12%;
  }

  .dialog_close {
    height: 3.5rem;
    width: 3.5rem;
  }

  #main-contents {
    height: 80vh;
  }
}

@media screen and (min-width: 2560px) {
  .dialog-arrow-left {
    top: 20%;
  }

  .dialog-arrow-right {
    top: 20%;
  }

  .dialog_close {
    height: 5rem;
    width: 5rem;
  }
}

/* 4K(3840*2160)画面 */
@media screen and (min-width: 3840px) {
  .dialog-arrow-left {
    top: 18%;
  }

  .dialog-arrow-right {
    top: 18%;
  }

  .dialog_close {
    height: 8rem;
    width: 8rem;
  }

  #main-contents {
    height: 82vh;
  }
}
