@charset "UTF-8";

/* tile */
.commit-tile {
  display: grid;
  grid-template-columns: 30vw 30vw 30vw;
  grid-template-rows: 30vw 30vw 30vw;
  justify-content: space-between;
}

@media screen and (min-width: 1025px) {
  .commit-tile {
    display: grid;
    grid-template-columns: 25vw 25vw 25vw;
    grid-template-rows: 25vw 25vw 25vw;
    justify-content: space-between;
  }
}

.tile {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.tilebox {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  transition: 0.3s;
}

.tilebox:hover {
  opacity: 0.7;
}

div.bg_dark {
  background-color: black;
  display: inline-block;
  border-radius: 2vw;
}

.commit-tileimg {
  width: 25vw;
  height: 25vw;
  object-fit: cover;
  border-radius: 2vw;
  opacity: 0.7;
  box-shadow: 0 10px 25px 0 rgba(0, 0, 0, .5);
}

@media screen and (min-width: 1025px) {
  .commit-tileimg {
    width: 20vw;
    height: 20vw;
  }
}

.commit-tiletitle {
  position: absolute;
  text-align: center;
  font-size: 3vw;
  color: #FFF;
}

@media screen and (min-width: 1025px) {
  .commit-tiletitle {
    font-size: 2vw;
  }
}

#commit01 {
	display: none;
}

#commit02 {
	display: none;
}

#commit03 {
	display: none;
}

#commit04 {
	display: none;
}

#commit05 {
	display: none;
}

#commit06 {
	display: none;
}

#commit07 {
	display: none;
}

/*モーダルの横幅を変更したい場合*/
.modaal-container{
  max-width: 600px;
}

@media screen and (min-width: 1025px) {
  .modaal-container{
    max-width: 1500px;
  }
}

/*モーダルのボタンの色を変更したい場合*/
.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;
}

.modal-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.modal-title {
  font-size: 4.5vw;
  color: #8CC63F;
  text-align: center;
}

@media screen and (min-width: 600px) {
  .modal-title {
    font-size: 3.5vw;
  }
}

@media screen and (min-width: 1025px) {
  .modal-title {
    font-size: 3vw;
  }
}

.modal-img {
  width: 70vw;
  margin: 2vh 0;
  box-shadow: 0 10px 25px 0 rgba(0, 0, 0, .5);
}

@media screen and (min-width: 600px) {
  .modal-img {
    width: 55vw;
  }
}

@media screen and (min-width: 1025px) {
  .modal-img {
    width: 40vw;
  }
}

.modal-ex {
  font-size: 3vw;
  text-align: left;
  width: 70vw;
}

@media screen and (min-width: 600px) {
  .modal-ex {
    font-size: 2.5vw;
    width: 60vw;
  }
}

@media screen and (min-width: 1025px) {
  .modal-ex {
    font-size: 2vw;
    width: 50vw;
  }
}
