@charset "utf-8";
.hide-area {
  display: none;
}

.modaal-close:after, .modaal-close:before {
  background: #ccc;
}

.modaal-close:focus:after, .modaal-close:focus:before, .modaal-close:hover:after, .modaal-close:hover:before {
  background: #666;
}

#modaal-title {
  font-size: 1.2rem;
  text-align: center;
  margin: 0 0 20px 0;
}

.modaal-video .modaal-inner-wrapper {
  padding: 0;
}

.modaal-container {
  width: 30%!important;
}

.info-list dl, .gallery-list {
  display: flex;
}

.gallery-list {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  margin: auto;
  justify-content: space-evenly;
}

.gallery-list li {
  margin: 0 10px 0 0;
  width: 45%;
  margin-bottom: 3%;
  width: 300px;
  height: 300px;
  box-shadow: 2px 2px 12px 1px rgb(74 74 74 / 20%)
}

.ghost {
  box-shadow: 2px 2px 12px 1px rgb(74 74 74 / 0%)!important;
}

.gallery-list li:hover {
  opacity: 0.5;
  transition: 300ms;
}

.gallery-list li:nth-child(4) img {
  object-position: 0% 100%;
}

.gallery img {
  width: 100%;
  object-fit: cover;
  height: 100%;
}

header {
  background: #333;
}

header h1 {
  font-size: 1.5rem;
  text-align: center;
  text-transform: uppercase;
  padding: 20px;
  color: #fff;
}

main {
  width: 100%;
  max-width: 1200px;
  margin: auto;
}

h2 {
  font-size: 2.2rem;
  padding: 3% 0;
  font-family: 'M PLUS 1p', sans-serif;
  font-weight: 100;
}

ul {
  list-style: none;
}

p, ul {
  margin-top: 20px;
}

a {
  color: #333;
  text-decoration: none;
}

small {
  background: #333;
  color: #fff;
  display: block;
  text-align: center;
  padding: 20px;
}

img {
  max-width: 100%;
  height: auto;
}

.button_area {
  margin-top: 70px;
  margin: auto;
  padding: 3% 0;
}

.button_area a {
  writing-mode: horizontal-tb;
}

.btntextchange {
  position: relative;
  border: 1px solid #333333;
  border-radius: 25px;
  min-width: 210px;
  padding: 20px;
  text-align: center;
  display: inline-block;
  text-decoration: none;
  color: #333333;
  outline: none;
  transition: all .2s;
}

.btntextchange:hover {
  background: #333333;
  color: #fff;
}

.btntextchange span {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: all .5s;
  display: block;
  white-space: nowrap;
}

.btntextchange span:nth-child(2) {
  opacity: 0;
}

.btntextchange:hover span:nth-child(1) {
  opacity: 0;
}

.btntextchange:hover span:nth-child(2) {
  opacity: 1;
}
@media screen and (max-width:930px) {
  .ghost{
    display: none;
  }
}