*{
  outline:none;
}
body {
  font-family: 'Noto Sans JP', sans-serif;
  background: #f1f0ff;
  color: rgb(40, 40, 40);
}
a,
a:link,
a:visited,
a:hover,
a:active {
  text-decoration: none;
  color: rgb(70, 70, 70);
}
li {
  list-style: none;
}
ul {
  margin: 0;
}
h1{
  font-size:60px;
  font-family: 'Montserrat', sans-serif;
}
h2 {
  margin: 0;
  font-size: 35px;
  line-height: 60px;
}
p{
  line-height: 25px;
}
header {
  height: 100vh;
}
nav {
  height: 60px;
  color:rgb(205, 205, 205);
}
nav a:link,
nav a:visited,
nav a:hover,
nav a:active {
  color:rgb(205, 205, 205);
}
.font-montserrat{
  font-family: 'Montserrat', sans-serif;
}
.btn {
  display: none;
  position: fixed;
  top: 5px;
  right: 16px;
  width: 48px;
  height: 48px;
  z-index: 10;
  background-color: rgb(231, 231, 231);
  border-radius: 5px;
}
#nav-wrapper {
  width: 100%;
  height: 60px;
  background: rgb(18, 27, 116);
}
#nav-wrapper.fixed {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  background: rgba(18, 27, 116,0.7);
}
.nav-ul {
  display: flex;
  justify-content: flex-end;
  z-index: 5;
  gap: 0 15px;
}
#nav-wrapper li {
  line-height: 60px;
}
#nav-wrapper li:last-child {
  padding-right: 15px;
}

#top-arrow-wrapper {
  position: relative;
  text-align: center;
  top: 45vh;
}
.arrow-animation {
  border: solid 4px rgb(205, 205, 205);
  color:rgb(205, 205, 205);
  padding: 20px 25px;
  border-radius: 50%;
  animation: float-arrow 3s ease 0s infinite alternate;
}
@keyframes float-arrow {
  0% {}

  50% {
    transform: translateY(5px);
  }

  100% {
    transform: translateY(-5px);
  }
}
#top-bannar-container {
  background: linear-gradient(180deg, rgb(24 28 67 / 20%), rgb(134 122 197 / 20%)), url(../images/background-top-bannar.jpg);
  background-attachment: fixed;
  display: inline-block;
  position: relative;
  background-size: cover;
  background-position: center;
  width: 100vw;
  height: calc(100vh - 60px);
}
#top-banner-title{
  position:relative;
  text-align:center; 
  color:rgb(205, 205, 205);
  top: calc(70vh - 250px);
}
.container-title {
  height: 100px;
  text-align: center;
}
.container-title h2{
  line-height: 100px;
}
#welcome-message-container h2{
  text-align:center;
}

#welcome-message-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-flow: column;

  border-radius: 10px;
  position: relative;
  width: 50%;
  height: calc(100vh - 100px);
  margin: 0 auto;
}
#profile-container {
  background: linear-gradient(180deg, rgb(24 28 67 / 20%), rgb(134 122 197 / 20%)), url("../images/background-profile.jpg");
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  display:flex;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 100vh;
}
#profile-wrapper {
  display:flex;
  width: 80%;
  height: 80%;
  gap:0 50px;
  justify-content: center;
  align-items: center;
}
#welcome-message-img {
  background:url("../images/img-welcome-message.jpg");
  background-position: center;
  background-size: cover;
  border-radius: 50%;
  width: 250px;
  height: 250px;
}
#profile-words{
  width: 50%;
  height: 80%;
  flex-flow: column;
  background: #f1f0ff;
  padding:10px 30px 30px 30px;
  border-radius: 5px;
}
#profile-words h2{
  padding-top:0px;
  font-size:25px;
}

#profile-sns{
  width:50%;
  padding-top:5px;
  line-height: 10px;
}
#profile-sns a{
  cursor:pointer;
  color:rgb(75, 75, 224);
}

.main-container {
  width: 100vw;
  height: 100vh;
}
.main-wrapper {
  border-top: none;
  border-bottom: none;
  width: 80%;
  height: calc(100vh - 100px);
  margin: 0 auto;
}
#use-languages-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
#use-languages-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.a-language-wrapper {
  border-radius: 5px;
  flex: auto;
  width: 20%;
  height: 50%;
  text-align: center;
}
.last-language-wrapper {
  flex: auto;
  width: 60%;
  height: 50%;
  text-align: center;
}
.language-img {
  width: 60%;
}
#product-inspection-link {
  background: url("../images/product-inspection-1.jpg");
  background-position: center;
  background-size: cover;
}
#retouch-automation-link {
  background: url("../images/retouch-automation-1.jpg");
  background-position: center;
  background-size: cover;
}
#photo-gallery-link {
  background: url("../images/img-photo-gallery.jpg");
  background-position: center;
  background-size: cover;
}
#blog-link {
  background: url("../images/github.jpg");
  background-position: center;
  background-size: cover;
}
#my-portfollio-container {
  background: linear-gradient(180deg, rgba(18, 27, 116, 0.3), rgba(157, 158, 208, 0.3)), url("../images/background-my-portfolio.jpg");
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
}

#my-portfollio-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap:0 20px;
  justify-content: center;
  align-items: center;
}
.a-my-portfollio-wrapper {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size:25px;
  opacity:0.9;
}
.a-my-portfollio-wrapper p{
  width:100%;
  text-align: center;
  padding:40px 0;
  background:rgba(0, 0, 0, 0.6);
  color:white;
}
.a-my-portfollio-wrapper:hover{
  transition: .5s;
  transform: scale(1.03);
  opacity:1;
}
.button-label-first{
  display: inline-block;
  cursor: pointer;
  width: 80%;
  height: 45%;
  flex: auto;
  background: black;
}
.button-label {
  display: inline-block;
  cursor: pointer;
  width: 40%;
  height: 45%;
  flex: auto;
  background: black;
}
#my-portfollio-wrapper input[type="checkbox"] {
  display: none;
}
.overlay {
  display: none;
}
.portfollio-image-box {
  width: 80px;
  height: 80px;
}
#product-inspection-1-thum{
  background:url("../images/product-inspection-1.jpg");
  background-position: center;
  background-size: cover;
}
#product-inspection-2-thum{
  background:url("../images/product-inspection-2.jpg");
  background-position: center;
  background-size: cover;
}
#product-inspection-3-thum{
  background:url("../images/product-inspection-3.jpg");
  background-position: center;
  background-size: cover;
}
#product-inspection-4-thum{
  background:url("../images/product-inspection-4.jpg");
  background-position: center;
  background-size: cover;
}
#product-inspection-5-thum{
  background:url("../images/product-inspection-5.jpg");
  background-position: center;
  background-size: cover;
}
#retouch-automation-1-thum{
  background:url("../images/retouch-automation-1.jpg");
  background-position: center;
  background-size: cover;
}
#retouch-automation-2-thum{
  background:url("../images/retouch-automation-2.jpg");
  background-position: center;
  background-size: cover;
}
#retouch-automation-3-thum{
  background:url("../images/retouch-automation-3.jpg");
  background-position: center;
  background-size: cover;
}
.window-images {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0px 10px;
}
#product-inspection-checkbox:checked+.overlay {
  display: block;
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  z-index: 110;
  background: rgba(0, 0, 0, 0.6);
}
#retouch-automation-checkbox:checked+.overlay {
  display: block;
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  z-index: 110;
  background: rgba(0, 0, 0, 0.6);
}
#blog-checkbox:checked+.overlay {
  display: block;
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  z-index: 110;
  background: rgba(0, 0, 0, 0.6);
}
#photo-gallery-checkbox:checked+.overlay {
  display: block;
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  z-index: 110;
  background: rgba(0, 0, 0, 0.6);
}
.portfollio-window {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 90vw;
  padding: 20px;
  height: 85vh;
  background: #f1f0ff;
  border-radius: 4px;
  align-items: center;
  transform: translate(-50%, -50%);
  opacity:0.9;
}
.close-label {
  cursor: pointer;
}
.close-box {
  padding-top: 4px;
  text-align: right;
}
.external-link-btn{
  border:solid 2px black;
  padding:10px 20px;
  border-radius:5px;
}
#contact-form-wrapper{
  width:100%;
  height:80%;
  display:flex;
  justify-content: center;
}
#contact-form-wrapper p{
  line-height:5px;
}
#ajax-form{
  width:50%;
}
#contact-form-wrapper input,textarea{
  width:100%;
  background:rgb(229, 229, 229);
  border:none;
  border-radius: 5px;
}
#contact-form-wrapper input{
  height:30px;
  margin-bottom:10px;
}
#contact-form-wrapper textarea{
  height:60px;
}

#contact-form-wrapper input:focus,textarea:focus{
  border:solid 1px black;
}
#return-message{
  padding:10px 0;
  text-align:center;
  margin:10px 0;
  border-radius:5px;
}

.button-box{
  padding-top:30px;
  text-align: center;
}
.button-box button{
  display: inline-block;
  border: none;
  border-radius:5px;
  cursor: pointer;
  appearance: none;
  background: #614AD3;
  transform: scale(1.2);
  padding:5px 10px;
  font-size:13px;
  transition: .3s;
  color:rgb(20, 20, 20);
}

.button-box button:hover{
  background: #8979d7;
}

#thanks-message-container {
  display: flex;
  justify-content: center;
  align-items: center;
  background: url("../images/background-thanks-message.jpg");
  background-position:center;
  background-size:cover;
  background-attachment: fixed;
  position:relative;
}

#thanks-message-wrapper {
  width: 90%;
  background: #f1f0ff;
  border-radius:5px;
  padding:30px;
}

#bottom-arrow-wrapper{
  position:absolute;
  top:80%;
  transform: scaleY(-1);
}

footer {
  background: rgba(18, 27, 116);
  height: 80px;
}
footer p{
  color:rgb(205, 205, 205);
  line-height: 80px;
  padding-left:100px;
  margin:0;
}

@media screen and (max-width: 959px) {
  h2{
    font-size:25px;
  }
  .nav-ul{
    font-size:15px;
  }
  #welcome-message-wrapper {
    width: 90%;
  }
  #welcome-message-img {
    width: 200px;
    height: 200px;
  }
  #profile-wrapper{
    width: 100%;
    height: 90%;
    padding:20px;
    gap:20px 0;
    flex-direction: column;
  }
  #profile-words{
    width: 90%;
    height: 60%;
  }
  .a-language-wrapper {
    width: 30%;
    height:auto;
  }
  .last-language-wrapper {
    width: 70%;
    height: auto;
  }
}

@media screen and (max-width: 519px) {
  h1{
    font-size:38px;
  }
  h2{
    font-size:25px;
  }
  .btn {
    display: block;
    padding:0;
  }
  #menu-btn{
    text-align:center;
  }
  .nav-ul {
    position: fixed;
    padding: 0;
    transform: translateX(100vw);
    width: 100%;
    height: 100vh;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: .3s;
    background: rgb(20, 20, 20, 0.6);
    gap: 0;
  }
  .nav-list {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
  }
  .nav-ul.open {
    transform: translateX(0);
  }
  #top-bannar-container{
    background-attachment: scroll;
  }
  #welcome-message-wrapper {
    width: 90%;
  }
  #welcome-message-img {
    width: 200px;
    height: 200px;
  }
  #profile-container{
    background-attachment: scroll;
  }
  #profile-wrapper {
    width: 100%;
    height: 90%;
    padding:20px;
    border-radius:5px;
    gap:20px 0;
    flex-direction: column;
  }
  #welcome-message-img {
    width: 180px;
    height: 180px;
  }
  #profile-words{
    width: 90%;
    height: 60%;
    padding:10px 20px;
    font-size:15px;
  }
  #profile-words h2{
    font-size:20px;
  }
  #profile-words p{
    margin-top:0px;
  }
  #target-img {
    width: 100%;
    height: 60%;
  }
  #my-portfollio-container{
    background-attachment: scroll;
  }
  .a-language-wrapper {
    flex: auto;
    width: 40%;
    height: auto;
    text-align: center;
  }
  .last-language-wrapper {
    width: 40%;
    height: auto;
  }
  .language-img {
    padding-bottom: 15px;
  }
  .a-my-portfollio-wrapper {
    font-size:20px;
  }
  .a-my-portfollio-wrapper p{
    padding:15px 0;
  }
  #my-portfollio-wrapper label {
    width: 100%;
    height: 20%;
  }
  .window-main-words{
    font-size:15px;
  }
  .portfollio-image-box {
    width: 50px;
    height: 50px;
  }
  #ajax-form{
    width:70%;
  }
  #contact-form-words{
    padding:0 20px;
  }
  #thanks-message-container{
    background-attachment: scroll;
  }
  #thanks-message-wrapper{
    width:80%;
    padding:15px;
  }
}