@charset "utf-8";

h1 {
  font-size: calc(6px + 1vw);
  padding-top: 15px;
  line-height: 1.4;
  color: #fff;
  margin-left: 4%;
  margin-right: 4%;
}

#key {
  padding-top: 5%;
  padding-left: 8%;
  padding-right: 8%;
}

.var_img {
  margin: 10% 10%;
}

h2 {
  color: #5f2e7e;
  font-size: calc(20px + 1vw);
  margin-top: 20px;
}

#text_in {
  color: #5f2e7e;
  text-align: left;
  line-height: 1.4;
  font-size: calc(12px + 1vw);
  margin: 7% 3%;
  padding: 6% 4% 4%;
  /* border-radius */
  border-radius: 6px;
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
  background-color: rgba(255, 255, 255, 0.8);
}

#text_in p {
  margin-bottom: 4%;
}

.ttl {
  padding-top: 20px;
  margin-bottom: 20px;
  text-align: center;
}

.gallery_box {
  margin-top: 10px;
  overflow: hidden;
}

.gallery_img {
  margin: 0 auto 0;
  padding-left: 2%;
  width: 47%;
  float: left;
}

.gallery_img1 {
  margin: 0 auto 0;
  padding-right: 2%;
  width: 47%;
  float: right;
}

.gallery_box p {
  display: block;
  margin-bottom: 20px;
}

.images {
  height: 135px;
  overflow: hidden;
}

.gallery_img p {
  padding: 5% 0 6% 5%;
}

.gallery_img1 p {
  padding: 5% 0 6% 5%;
}

/* 20200317:追記コード
========================================== */
.com-img {
  display: block;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.com-img img {
  position: absolute;
  top: 50% !important;
  left: 50% !important;
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  font-family: "object-fit: cover; object-position: bottom";
  -o-object-position: bottom;
  object-position: bottom;
  min-height: 100%;
  min-width: 100%;
  -webkit-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
}

.gallery_img .com-img {
  height: 135px;
}
