@charset "utf-8";
/* CSS Document */
.gallery {
  width: 80%;
  margin: 0 0 0 17%;
}
a {
  text-decoration: none;
}
.top_container {
  display: flex;
  margin: 44px 0 25px;
  position: relative;
}
.top_container_text {
  font-size: 16px;
    line-height: 1.8;
    padding: 17px 0;
}
/*斜め線、破線疑似クラスの方法
.handicraft::after {
    width: 440px;
    height: 20px;
     border-right: 4px dashed #444444;
    transform: rotate(-75deg);
    position: absolute;
}*/

.handicraft {
  padding-right: 10px;
}
.handicraft img {
  width: 100%;
}
.pottery {
      width: 94%;
    margin-left: 30px;
}
.pottery img {
  width: 90%;
}
.diagonal_line {
  width: 60%;
  height: 20px;
  margin: 22% 0 0 0;
  background-image: linear-gradient(to right, #444 10px, transparent 2px);
  background-size: 18px 1.5px;
  background-repeat: repeat-x;
  background-position: top;
  transform: rotate(-70deg);
  position: absolute;
  left: 20%;
  top: 9%;
}
.knit, .indigo, .exhibition, .Extra {
  display: flex;
  text-align: left;
  padding: 20px 0;
  background-image: linear-gradient(to right, #444 10px, transparent 2px);
  background-size: 18px 1.5px;
  background-repeat: repeat-x;
  background-position: top;
  position: relative;
}
.knit img, .indigo img, .exhibition img, .Extra img {
  width: 100%;
}
.link {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative; /* 相対位置指定 */
  object-fit: contain;
}
.link .mask {
  width: 100%;
  height: 100%;
  position: absolute; /* 絶対位置指定 */
  top: 0;
  left: 0; /* ％で調整すると希望通り。だけど左の白透過が実現されない */
  text-align: center;
  opacity: 0; /* マスクを表示しない */
  background-color: rgba(255, 255, 255, 0.4); /* マスクは半透明 */
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
  padding: 20px 0;
}
.link .mask img {
  width: auto;
  height: 100%;
}
.link:hover .mask {
  opacity: 1; /* マスクを表示する */
}
.link:link {
  color: #444444;
}
.link:hover {
  color: #FF0000;
}
.link02 {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative; /* 相対位置指定 */
  object-fit: contain;
}
.link02 .mask {
  width: 100%;
  height: 100%;
  position: absolute; /* 絶対位置指定 */
  top: 0;
  left: 0; /* ％で調整すると希望通り。だけど左の白透過が実現されない */
  text-align: center;
  opacity: 0; /* マスクを表示しない */
  background-color: rgba(255, 255, 255, 0.4); /* マスクは半透明 */
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}
.link02 .mask img {
  width: 100%;
  margin-top: 30%;
}
.link02:hover .mask {
  opacity: 1; /* マスクを表示する */
}
.link02:link {
  color: #444444;
}
.link02:visited {
  color: #FF0000;
}
.link02:hover {
  color: #008f00;
}
.footer {
  margin-top: 130px;
}
@media (max-width:640px) /*タブレット幅*/ {
  .gallery {
    width: 97%;
    margin: 0 auto;
  }
  .top_container {
    display: flex;
    margin: 20px 0 15px;
  }
  .handicraft {
    padding-right: 0px;
}
  .pottery {
    margin-left: 17px;
}
  .top_container_text {
  font-size: 14px;
}
  .footer {
    margin-top: 5px;
  }
}