@charset "UTF-8";

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
a {
  text-decoration: none;
}
li {
  list-style: none;
}
body{
  font-family: "Noto Sans JP", sans-serif;
}


/* top */
.loading {
  width: 100vw;
  height: 100vh;
  transition: all 1s;
  background-color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  opacity: 1;
  visibility: visible;
}
.loading.is-active {
  opacity: 0;
  visibility: hidden;
}
.logo_fadein {
  width: 100vw;
  height: 100vh;
  transition: all 1s;
  background: linear-gradient(to right, #083d8d, 50%, #020c49);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
}
.logo_fadein.is-active {
  opacity: 1;
  visibility: visible;
}

/* index.html */
header
:root {
  --header: 100px;
  scroll-padding: calc(var(--header));
  scroll-behavior: smooth;
}
#header {
  height: var(--header);
  background: linear-gradient(to right, #083d8d, 50%, #020c49);
  margin: 0 auto;
  width: 100%;
  position: sticky;
  top: 0px;
  z-index: 999;
}
h1.logo {
  margin: 0 auto;
  width: 174px;
  padding-top: 20px;
}

/* nav */
#nav { 
  background: white;
  display: flex;
  justify-content: center;
  align-items: center;
  position: sticky;
  top: 89px;
  width: 100%;
  height: 50px;
  z-index: 998;
}
.nav ul {
  display: flex;
  font-family: "Poppins", sans-serif;
  font-weight: bold;
  font-size: 1em;
}
.nav ul li {
  margin: 0 30px;
}
.nav ul li a {
  color: #24292e;
  transition: all 0.3s;
}
.nav ul li a:hover {
  color: red;
}

/* works */
.works_back {
  background-color: #f5f5f5;
  width: auto;
}
.works_card_wrap {
  display: flex;
  max-width: 80%;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto 0 auto;
  padding-top: 80px;
}
.works_card_list {
  width: 25%;
  margin-bottom: 80px;
  cursor: pointer;
  transition: all 0.3s;
  padding: 0 30px 0 30px;
}
.works_card_list:hover {
  opacity: 0.5;
}
.works_card_list_p  img {
  max-width: 100%;
}
.works_card_list_text {
  color: #24292e;
  font-size: 0.6em;
}

/* works_fadein */
.works_scroll_block {
  opacity : 0;
	visibility: hidden;
  transition: all 1.5s;
	transform: translateY(30px);
}

/* jsで追加されるクラス */
.blockIn {
  opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

/* works_2 */
.works_2_back {
  background-color: #f5f5f5;
  width: auto;
}
.works_2_container {
  max-width: 50%;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  flex-direction: column;
  margin: 0 auto;
  padding-top: 60px;
}
.works_2_midashi {
  margin-bottom: 30px;
}
.works_2_text {
  color: #24292e;
  font-size: 0.7em;
  margin-bottom: 30px;
}
.works_2_column_1 {
  margin-bottom: 100px;
}
.works_2_column_2 {
  margin-top: -80px;
  margin-bottom: 100px;
}


/* profile */
.profile_back {
  background-color: #f5f5f5;
  width: auto;
}
.profile_container {
  max-width: 80%;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
  padding-top: 60px;
}
.profile_column-25 {
  width: 25%;
  text-align: center;
  margin-bottom: 50px;
}
.profile_column-25 img {
  border-radius: 50%;
  width: min(300px, 100%);
}
.profile_column-65 {
  width: 50%;
}
.profile_text {
  color: #24292e;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.8em;
  margin-bottom: 80px;
}

/* access */
.access_back {
  background-color: #f5f5f5;
  width: auto;
}
.access_container {
  text-align: center;
  margin: 0 auto;
  padding: 50px;
}
.access_container p {
  margin-bottom: 20px;
  color: #24292e;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.8em;
}
.google_map {
  width: 80%;
  height: 100vh;
}

/* contact */
.contact_back {
  background-color: #f5f5f5;
  width: auto;
}
.contact_container {
  text-align: center;
  margin: 0 auto;
  padding: 50px;
}
.contact_container p {
  color: #24292e;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.8em;
  margin-bottom: 20px;
}
.contact_top a {
  color: #24292e;
  font-family: "Poppins", sans-serif;
  font-style: normal;
  text-decoration: underline;
  font-size: 1.8em;
}
.contact_container h2 {
  color: #24292e;
  font-family: "Poppins", sans-serif;
  font-size: 2em;
  margin-top: 10px;
}


/* sp */
@media (max-width: 480px) {
  /* works */
  .works_card_wrap {
    padding-top: 50px;
  }
  .works_card_list {
    width: 50%;
    margin-bottom: 50px;
    padding: 0 15px 0 15px;
  }

  /* works_2 */
  .works_2_container {
    max-width: 80%;
    padding-top: 30px;
  }
  
  /* nav */
  #nav ul {
    font-size: 0.8em; 
  }
  #nav ul li {
    margin: 0 20px;
  }

  /* profile */
  .profile_container {
    padding-top: 30px;
  }
  .profile_column-25 {
    width: 60%;
    margin-bottom: 30px;
  }
  .profile_column-65 {
    width: 100%;
  }

  /* access.main */
  .access_container {
    padding: 30px 0 50px 0;
  }

  /* contact.main */
  .contact_container {
    padding: 50px 20px;
  }
  .contact_container p {
    font-size: 0.8em;
  }
  .contact_top a {
    font-size: 1.5em;
  }
  .contact_container h2 {
    color: #24292e;
    font-family: "Poppins", sans-serif;
    font-size: 1.8em;
  }
}

  

/* tablet */
@media (min-width: 481px) and (max-width: 920px) {
  /* works */
  .works_card_wrap {
    padding-top: 50px;
  }
  .works_card_list {
    width: 50%;
    margin-bottom: 80px;
  }

  /* profile */
  .profile_container {
    padding-top: 30px;
  }
  .profile_column-25 {
    width: 30%;
    margin-bottom: 30px;
  }
  .profile_column-65 {
    width: 100%;
  }


  /* access */
  .google_map {
    width: 100%;
  }
  
  /* contact */
  .contact_container h2 {
    color: #24292e;
    font-family: "Poppins", sans-serif;
  }
}
