@charset "UTF-8";
/*base*/
html {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  line-height: 1;
  color: #333333;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
  font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}

h1, h2, h3, h4, p, ul, li, dl, dt, dd, th {
  margin: 0;
  padding: 0;
  font-weight: normal;
  list-style-type: none;
  font-size: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  vertical-align: bottom;
  border: none;
}

input, button, textarea, select {
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-size: 100%;
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.works {
  padding: 6rem 2.5rem;
  background: rgba(234, 234, 234, 0.94);
  color: #000;
  box-shadow: 0 -32px 48px rgba(0, 0, 0, 0.3);
}
@media screen and (max-width: 1024px) {
  .works {
    padding: 5rem 2rem;
  }
}
@media screen and (max-width: 767px) {
  .works {
    padding: 3rem 1.5rem;
  }
}
.works_body {
  margin-top: 2.5rem;
}
@media screen and (max-width: 1024px) {
  .works_body {
    margin-top: 2rem;
  }
}
@media screen and (max-width: 767px) {
  .works_body {
    margin-top: 1.5rem;
  }
}
.works_list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(202px, 1fr));
  gap: max(2vw, 20px);
  /*
  grid-template-columns: repeat(6,1fr);
  grid-gap: $gap-pc;
  @include tab{
  	grid-template-columns: repeat(3,1fr);
  	grid-gap: $gap-tab;
  }
  @include sp{
  	display: flex;
  	justify-content: center;
  	flex-wrap: wrap;
  	grid-gap: $gap-sp;
  }
  */
}
.works_item_inner {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  box-shadow: 0 -2px 10px -2px rgba(0, 0, 0, 0.4);
  border-radius: 10px;
  aspect-ratio: 1 / 1;
  position: relative;
}
.works_item_image {
  width: 80%;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  border-width: 3px;
  border-style: solid;
  border-color: #ccc #eee #efefef #eee;
  border-radius: 2px;
}
.works_item_image_img {
  width: 100%;
}

.header {
  width: 100%;
  height: 100vh;
  position: sticky;
  top: 0;
  z-index: 1;
}
.header_logo {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.header_logo img {
  width: min(210px, 26vw);
}
.header_image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
}
.header_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: fadeIn 5s ease-out 0.5s forwards;
  opacity: 0;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}
.about {
  padding: 6rem;
  background: #f9f9f9;
  position: sticky;
  top: 0;
  z-index: 2;
  box-shadow: 0 0 70px rgba(0, 0, 0, 0.2);
}
@media screen and (max-width: 1024px) {
  .about {
    padding: 5rem;
  }
}
@media screen and (max-width: 767px) {
  .about {
    padding: 3rem 2rem;
  }
}
.about_body {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/*footer*/
.footer {
  background: rgba(234, 234, 234, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: min(10vw, 200px);
  color: #000;
}

.contents {
  position: relative;
  z-index: 2;
}

.title {
  text-align: center;
  font-size: 1.953125rem;
}
.title::after {
  content: ":";
  display: block;
}

.text {
  line-height: 3;
}

.loading {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -42px;
  margin-top: -35px;
  z-index: 5;
}

.nav_button {
  position: fixed;
  top: 0;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 50px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
}
.nav_button-works {
  border-radius: 0 0 30px 0;
  box-shadow: 2px 3px 6px 0px rgba(0, 0, 0, 0.5);
}
.nav_button-about {
  right: 0;
  border-radius: 0 0 0 30px;
  box-shadow: -2px 3px 6px 0px rgba(0, 0, 0, 0.5);
}
