#main {
  background-color: #FFFFFF;
}

.main-wrapper {
  overflow-x: hidden;
}

.page_title_en {
  font-size: 60px;
  line-height: 60px;
  width: 100%;
  margin: 62px 0 0 0;
  text-align: center;
  font-family: "BrandonGrotesque";
  font-weight: 300;
}

.page_title {
  font-size: 16px;
  font-weight: bold;
  width: 100%;
  margin: 9px 0 40px 0;
  text-align: center;
}

.page_text {
  font-size: 16px;
  font-weight: bold;
  width: 600px;
  margin: 20px auto;
  text-align: center;
  letter-spacing: 0.4px;
}

.foto_area {
  width: 100vw;
  margin: 70px 0 190px 0;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  -ms-flex-pack: justify;
  justify-content: flex-start;
  -ms-flex-align: center;
  align-content: space-between;
}

.a_third_block {
  width: 33vw;
  height: 33vw;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -ms-flex-align: center;
  align-content: space-between;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  margin-bottom: 0.5vw;
  margin-right: 0.5vw;
  cursor: pointer;
}

.a_sixth_block {
  width: 16.25vw;
  height: 16.25vw;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  cursor: pointer;
}

.image_block:hover {
  opacity: 0.3;
}

.a_sixth_block.over_row {
  margin-bottom: 0.5vw;
  margin-right: 0.5vw;
}

@media (min-width:641px) {
  .a_third_block.pc_right_limit {
    margin-right: 0;
  }
  .a_sixth_block.over_row.pc_right_limit {
    margin-right: 0;
  }
  .page_title_en {
    padding-top: 62px;
  }
}

@media (max-width:640px) {
  .page_title_en {
    font-size: 78px;
    margin-top: 180px;
  }
  .page_title {
    font-size: 26px;
    margin-top: 35px;
  }
  .page_text {
    font-size: 26px;
    width: 520px;
    line-height: 54px;
  }
  .a_third_block {
    width: 49.5vw;
    height: 49.5vw;
    margin-bottom: 1vw;
    margin-right: 1vw;
  }
  .a_third_block.sp_right_limit {
    margin-right: 0;
  }
  .a_sixth_block {
    width: 24.25vw;
    height: 24.25vw;
  }
  .a_sixth_block.over_row {
    margin-bottom: 1vw;
    margin-right: 1vw;
  }
  .a_sixth_block.over_row.sp_right_limit {
    margin-right: 0;
  }
  .foto_area {
    margin-top: 100px;
    margin-bottom: 110px;
  }
}

.foto_view_area {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100%;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  -ms-flex-pack: justify;
  justify-content: center;
  -ms-flex-align: center;
  align-content: center;
  z-index: 100;
  display: none;
}

.foto_view_area_bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,.6);
  z-index: -1;
}

.foto_view_image {
  width: 600px;
  height: 600px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #fff;
}

@media (max-width:640px) {
  .foto_view_image {
    position: absolute;
    top: calc(50vh - 300px);
    left: calc(50% - 300px);
  }
}

.foto_view_area.fade_in {
  display: -ms-flexbox;
  display: flex;
  animation-name: fadeInFoto;
  animation-duration: 0.3s;
  animation-timing-function: linear;
  animation-fill-mode: forwards;
}

@keyframes fadeInFoto {
  0% {
    opacity : 0;
  }
  100% {
    opacity : 1;
  }
}

.foto_view_area.fade_out {
  display: -ms-flexbox;
  display: flex;
  pointer-events: none;
  animation-name: fadeOutFoto;
  animation-duration: 0.3s;
  animation-timing-function: linear;
  animation-fill-mode: forwards;
}

@keyframes fadeOutFoto {
  0% {
    opacity : 1;
  }
  100% {
    opacity : 0;
  }
}

.prev_btn {
  background: rgba(49,39,38,.2) url(../img/gallery3_l.png) no-repeat center;
  width: 60px;
  height: 60px;
  cursor: pointer;
  position: absolute;
  top: calc(50vh - 30px);
  left: calc(50% - 300px);
}

.next_btn {
  background: rgba(49,39,38,.2) url(../img/gallery3_r.png) no-repeat center;
  width: 60px;
  height: 60px;
  cursor: pointer;
  position: absolute;
  top: calc(50vh - 30px);
  right: calc(50% - 300px);
}

@media (max-width:640px) {
  .prev_btn {
    top: calc(300px - 30px);
    left: calc(50% - 300px);
  }
  .next_btn {
    top: calc(300px - 30px);
    right: calc(50% - 300px);
  }
}

#main {
  z-index: 2;
  position: relative;
}

.common-footer {
  z-index: 1;
  position: relative;
}
