@charset "utf-8";
/*　要素　*/
main {
      padding: 100px 0;
  background: url(../img/bg.jpg);
  background-size: 100%;
  background-repeat: repeat-y;
}
.lead {
  width: 50%;
  margin: 50px auto 80px auto;
}
main#work {
  background: url(../img/bg_color.jpg);
  background-size: 100%;
  background-repeat: repeat-y;
}
main#hobby {
  background: #b1b4bf;
}
section {
  padding: 10px;
}
.main {
  width: min(100%, 1400px);
  margin: 0 auto;
}
h1 {
  text-align: center;
  font-size: min(10vw, 6.0rem);
  background: linear-gradient(#ffc65f, #ec6404);
  -webkit-background-clip: text;
  color: transparent;
  font-family: "Oswald", sans-serif;
  font-optical-sizing: auto;
  font-weight: bold;
  font-style: normal;
  line-height: 1.2;
  padding: 2rem 0 1rem 0;
  letter-spacing: -.1rem;
}
.title {
  background: linear-gradient(#0c2442 0%, #4f7492 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
h1 img {
  width: 300px;
}
.main h2 {
  text-align: left;
  font-weight: bold;
  width: fit-content;
  font-size: 3rem;
  margin-left: 100px;
}
/*　pcspサムネイル　*/
.item_grp {
  display: flex;
  flex-wrap: wrap;
  margin: 50px 0;
}
#work .item_grp {
  justify-content: center;
}
.item_grp li {
  width: max(50%, 600px);
  margin-bottom: 50px;
}
.item {
  width: 90%;
  margin-bottom: 100px;
}
.item_page, .item_image {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  flex-wrap: nowrap;
  transition: all .3s ease-out;
}
.item_page:hover {
  scale: 1.05;
}
.item_page img {
  height: 400px;
  width: auto;
}
.item_image img {
  height: 500px;
  width: auto;
}
.pageimage {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  max-height: 700px;
  overflow-y: scroll;
}
.pageimage img {
  max-width: 45%;
  margin: 10px 10px 30px 10px;
}
/*　詳細ページ　*/
.works_sentence {
  width: fit-content;
  margin: 0 auto 100px auto;
  font-size: 1.2rem;
}
.link {
  text-align: center;
  margin-bottom: 100px;
}
.link .caution {
  font-size: 0.9rem;
}
.caution {
  text-align: center;
}
/*js関連*/
/*　ライン　*/
.line_text.active {
  background-position: -100% 0.9em;
}
.line_text {
  background-image: -webkit-linear-gradient(left, transparent 50%, #ffc65f 50%);
  background-image: -moz-linear-gradient(left, transparent 50%, #ffc65f 50%);
  background-image: -ms-linear-gradient(left, transparent 50%, #ffc65f 50%);
  background-image: -o-linear-gradient(left, transparent 50%, #ffc65f 50%);
  background-image: linear-gradient(left, transparent 50%, #ffc65f 50%);
  background-repeat: repeat-x;
  background-size: 200% 0.5em;
  background-position: 0 0.9em;
  transition: all 2s ease;
}
/*　塗りつぶし　*/
.page_name {
  font-size: 1.2rem;
  font-weight: bold;
  text-align: center;
  width: fit-content;
  margin: 0 auto;
  border-radius: 30px;
  overflow: hidden;
  position: relative;
  z-index: 1;
  padding: 5px 30px;
}
.page_name::before {
  background: #fbac7e;
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  bottom: 0;
  margin: auto;
  transform: scale(0, 1);
  transform-origin: right top;
  transition: transform .3s;
  z-index: -1;
}
.page_name:hover {
  color: #fff;
}
.page_name:hover::before {
  transform-origin: left top;
  transform: scale(1, 1);
}
/*　中央から下線　*/
.link_text {
  background: linear-gradient(#ffd34c, #ed7209);
  -webkit-background-clip: text;
  color: transparent;
  padding-bottom: 5px;
  position: relative;
  width: fit-content;
  margin: 0 auto;
  font-size: 2.0rem;
  font-weight: bold;
  height: 38px;
}
.link_text::before {
  background: #ff701e;
  content: '';
  width: 100%;
  height: 2px;
  position: absolute;
  left: 0;
  bottom: 0;
  margin: auto;
  transform-origin: center top;
  transform: scale(0, 1);
  transition: transform .3s;
}
.link_text:hover::before {
  transform-origin: center top;
  transform: scale(1, 1);
}
.link_text:hover {
  letter-spacing: 0.10em;
  transition: .3s cubic-bezier(0.45, 0, 0.55, 1);
}
.link_text_non {
  width: fit-content;
  margin: 0 auto;
  font-size: 2.0rem;
  font-weight: bold;
  color: grey;
}
/* スマホ*/
@media screen and (max-width: 750px) {
  .lead {
    width: 80%;
  }
  .main {
    width: 100%;
  }
  .main h1 img:nth-child(0), .main h1 img:nth-child(1) {
    width: 60%;
  }
  section {
    padding: 0px;
  }
  .main h2 {
    font-size: 2.5rem;
  }
  .item_image img {
    height: 50vw;
  }
  .item_grp {
    justify-content: center;
  }
  #work .item_grp {
    margin-bottom: 0px;
  }
  .item_page img {
    height: 60vw;
  }
  .works_sentence {
    width: 80%;
    font-size: 1.0rem;
    text-align: center;
  }
  .main h2 {
    margin: 0 auto;
  }
  .pageimage {
    flex-direction: column;
    align-items: center;
  }
  .pageimage img {
    width: 90%;
  }
}