@charset "UTF-8";
body {
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
  text-align: center;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
a {
  text-decoration: none;
  color: #000;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(255,255,255,0.8);
}
p {
  letter-spacing: 2px;
}
* {
   -ms-user-select: none; /* IE 10+ */
   -moz-user-select: -moz-none;
   -khtml-user-select: none;
   -webkit-user-select: none;
   user-select: none;
}
.wrapper {
  max-width: 100%;
  height: 100vh;
}
.logo {
  padding: 10px 0 50px;
}
.logo-wrap {
  padding: 30px 0;
}
.logo img {
  width: 200px;
  height: 50px;
  margin: 0 10px;
}
.shopping {
  padding: 30px;
}
.shopping a {
  display: block;
  float: right;
  font-size: 15px;
  padding: 2px;
  width: 30px;
  height: 30px;
  line-height: 30px;
  background-color: #BDBDBD;
  border-radius: 50%;
  color: #fff;
}
.shopping a:hover {
  opacity: 0.5;
}
.contents {
  max-width: 1024px;
  margin: 0 auto;
  animation-name: fadein;
  animation-duration: 2s;
}
@keyframes fadein {
from {
    opacity: 0;
    transform: translateY(5px);
}
to {
    opacity: 1;
    transform: translateY(0);
}
}
.contents ul {
  overflow: auto;
  text-align: center;
}
.contents li {
  display: inline-block;
  width: 200px;
  height: 200px;
  box-shadow: 2px 2px 10px #BDBDBD;
  margin: 0 20px 40px 20px;
}
.imgDraw {
  position: relative;
  overflow: hidden;
}
.imgDraw img {
  width: 200px;
  height: 200px;
  object-fit: cover;
}
.title {
  width: 200px;
  height: 200px;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.5);
  opacity: 0;
}
.title p {
  color: #fff;
  font-size: 2rem;
  font-weight: bold;
  margin: 70px 0;
}
.contents li a:hover .title {
  opacity: 1;
  transition: all 0.6s ease;
}
.imgGrap {
  position: relative;
  overflow: hidden;
}
.imgGrap img {
  width: 200px;
  height: 200px;
  object-fit: cover;
}
.imgPro {
  position: relative;
  overflow: hidden;
}
.imgPro img {
  width: 200px;
  height: 200px;
  object-fit: cover;
}
.imgWeb {
  position: relative;
  overflow: hidden;
}
.imgWeb img {
  width: 200px;
  height: 200px;
  object-fit: cover;
}
.title img {
  width: 50px;
  height: auto;
}
.link a {
  display: inline-block;
  border: 1px solid #000;
  padding: 10px 20px;
  letter-spacing: 2px;
  font-size: 15px;
  line-height: 30px;
  background-color: #FFF;
  margin: 10px;
}
.link a i {
  font-size: 30px;
  vertical-align: bottom;
  margin-right: 5px;
}
.link a:hover {
  background-color: #424242;
  color: #FFF;
  transition: all 0.3s ease;
}
.about-me p {
  line-height: 30px;
  margin: 0;
  padding: 10px 0;
}
.contact li {
  display: inline-block;
  margin: 10px;
}
.contact li a {
  display: block;
  font-size: 20px;
  padding: 2px;
  width: 30px;
  height: 30px;
  line-height: 30px;
  background-color: #BDBDBD;
  border-radius: 50%;
  color: #fff;
}
.contact li a:hover {
  opacity: 0.5;
}
.copyright p {
  font-size: 13px;
  margin: 0;
  padding: 10px 0;
}
/* sub-page */
.logo_home a {
  display: inline-block;
}
.logo_home img {
  width: 100px;
  height: 23px;
}
.contents a {
  display: block;
}
.modal_open {
  display: block;
}
.modal_box {
  position: fixed;
  z-index: 7777;
  display: none;
  width: 500px;
  height: 600px;
  padding-top: 50px;
  margin: 0 auto;
  background: #fff;
  box-sizing: border-box;
}
.contents-wrap {
  width: 400px;
  height: 400px;
  text-align: center;
  margin: 0 auto;
}
.txt {
  float: left;
  text-align: left;
  padding: 30px 0;
}
.txt h1 {
  font-size: 20px;
  margin: 5px 0;
}
.txt p {
  margin: 0;
  font-size: 14px;
}
#drawing .contents-wrap img ,
#product .contents-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#graphic .contents-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.modal_close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: block;
  width: 40px;
  height: 40px;
  line-height: 40px;
}
.modal_close img {
  width: 25px;
  height: auto;
  vertical-align: middle;
}
.modal_bg {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 6666;
  display: none;
  width: 100%;
  height: 120%;
  background-color: rgba(0,0,0,0.7);
}
.link_area {
  overflow: hidden;
}
.link_right {
  position: absolute;
  top: 45%;
  right: 20px;
}
.link_left {
  position: absolute;
  top: 45%;
  left: 20px;
}
.link_area .modal_link {
  display: inline;
}
.link_area .modal_link a {
  display: block;
  width: 15px;
}
@media (max-width: 1000px) {
  .contents {
    max-width: 720px;
  }
}
@media (max-width: 768px) {
  .logo-wrap img {
    width: 100px;
    height: 24px;
  }
  #web .title {
    background: rgba(0,0,0,0.5);
    opacity: 1;
  }
  #drawing .contents li {
    float: none;
  }
  .modal_box {
    width: 400px;
    height: 533px;
  }
  .contents-wrap {
    width: 300px;
    height: 350px;
  }
  .txt {
    padding: 0;
  }
  .txt h1 {
    font-size: 15px;
  }
  .txt p {
    font-size: 10px;
  }
  .link_right {
    position: absolute;
    top: 40%;
    right: 5px;
  }
  .link_left {
    position: absolute;
    top: 40%;
    left: 5px;
  }
  .modal_close {
    position: absolute;
    top: 8px;
    right: 10px;
    display: block;
    width: 30px;
    height: 30px;
    line-height: 30px;
  }
  .modal_close img {
    width: 20px;
  }
}
@media (max-width: 420px) {
  .modal_box {
    width: 300px;
    height: 400px;
  }
  .contents-wrap {
    width: 250px;
    height: 250px;
  }
}
