#main > .topicpath {
  display: none;
}

main article {
  padding-top: 0;
}

main article .container header {
  display: none;
}

main article h1 {
  background: url(/campaign/atoapresent/images/main-img.webp) center bottom no-repeat;
  background-size: auto 520px;
  height: 520px;
}

.ml-xl {
  margin-left: 5.5rem !important;
}

main .main-footer {
  margin-top: 0;
}

@media screen and (max-width: 767px) {
  main article {
    background: none;
  }
  h1.mv {
    background: none;
    margin-left: -16px;
    margin-right: -16px;
    height: auto;
  }

  .col-42 {
    text-align: center;
  }
  .col-42 p {
    text-align: left;
    display: inline-block;
  }

  .ml-xl {
    margin-left: 4.8rem !important;
  }

  main .main-footer {
    margin-top: 30px;
  }
}

main .gallery-box {
  margin: 0;
  width: 100%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

main .gallery-box p {
  margin-bottom: 50px;
}

.gallery-wrap {
  width: 1080px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -moz-flex;
  display: flex;
  -webkit-box-lines: multiple;
  -moz-box-lines: multiple;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  margin: 0 auto;
}

.gallery-wrap::after {
  content: "";
  display: block;
  width: 32.55%;
}

.gallery-wrap a {
  margin: 0 0 13px 0;
  padding: 0;
  -webkit-box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
          box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
  line-height: 0;
}

.gallery-wrap a img {
  width: 330px;
  height: 230px;
  margin: 0;
  border: 10px solid #fff;
}

/* sp */
@media screen and (max-width: 767px) {
  main .gallery-box {
    margin-left: -16px;
    margin-right: -16px;
    width: auto;
  }
  .gallery-wrap {
    width: 90%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -moz-flex;
    display: flex;
    -webkit-box-lines: multiple;
    -moz-box-lines: multiple;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    margin: 0 auto;
  }
  .gallery-wrap a {
    margin: 0 0 20px 0;
    padding: 0;
    -webkit-box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
            box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
    line-height: 0;
  }
  .gallery-wrap a img {
    width: 40vw;
    height: calc(40vw*160/245);
    margin: 0;
    border: 5px solid #fff;
  }
}

#galleryWindow {
  width: 840px;
  height: 665px;
  position: fixed;
  display: none;
  z-index: 2000;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

#galleryWindow .galleryContents {
  width: 100%;
  height: 575px;
  position: absolute;
  top: 45px;
  left: 0;
  background-color: #FFF;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.galleryContents p {
  width: 660px;
  margin: 45px auto;
  padding: 0;
  text-align: center;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.galleryContents p img {
  margin-bottom: 7px;
}

.galleryContents p span {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.gl_close {
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  color: #ffffff;
  width: 35px;
  height: 35px;
  cursor: pointer;
}

.gl_close::before {
  position: absolute;
  top: -19px;
  left: 19px;
  width: 2px;
  height: 40px;
  content: "";
  background-color: #ffffff;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
  cursor: pointer;
}

.gl_close::after {
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 2px;
  content: "";
  background-color: #ffffff;
  -webkit-transform: rotate(225deg);
          transform: rotate(225deg);
  cursor: pointer;
}

.gl_close_bt {
  display: block;
  position: absolute;
  bottom: 0;
  right: 47%;
  color: #ffffff;
  font-size: 14px;
  cursor: pointer;
}

.gl_close_bt::before {
  position: absolute;
  top: 2px;
  left: -21px;
  width: 2px;
  height: 20px;
  content: "";
  background-color: #eee;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
  cursor: pointer;
}

.gl_close_bt::after {
  position: absolute;
  top: 11px;
  left: -30px;
  width: 20px;
  height: 2px;
  content: "";
  background-color: #eee;
  -webkit-transform: rotate(225deg);
          transform: rotate(225deg);
  cursor: pointer;
}

.overLay {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  z-index: 1000;
}

.gl_prev {
  background-color: #333333;
  width: 40px;
  height: 40px;
  border-radius: 20px;
  color: #fff;
  position: absolute;
  left: 23px;
  top: 50%;
  cursor: pointer;
  margin-top: -20px;
}

.gl_prev::before {
  content: '';
  width: 10px;
  height: 10px;
  border: 0px;
  border-top: solid 2px #fff;
  border-right: solid 2px #fff;
  -webkit-transform: rotate(225deg);
  transform: rotate(225deg);
  position: absolute;
  top: 43%;
  right: 12px;
  margin-top: -4px;
}

.gl_next {
  background-color: #333333;
  width: 40px;
  height: 40px;
  border-radius: 20px;
  color: #fff;
  position: absolute;
  right: 23px;
  top: 50%;
  cursor: pointer;
  margin-top: -20px;
}

.gl_next::before {
  content: '';
  width: 10px;
  height: 10px;
  border: 0px;
  border-top: solid 2px #fff;
  border-right: solid 2px #fff;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  position: absolute;
  top: 43%;
  left: 12px;
  margin-top: -4px;
}

@media screen and (max-width: 767px) {
  #galleryWindow {
    width: 90vw;
    height: 90vw;
    position: fixed;
    display: none;
    z-index: 2000;
  }
  #galleryWindow .galleryContents {
    width: 100%;
    height: auto;
    position: absolute;
    top: 45px;
    left: 0;
    background-color: #FFF;
  }
  .galleryContents p {
    width: 80vw;
    margin: 7% auto 5%;
    padding: 0;
    text-align: center;
  }
  .galleryContents p span {
    margin-top: 8px;
  }
  .galleryContents p img {
    width: 80vw;
    height: calc(80vw * 160/245);
  }
  .gl_prev {
    background-color: rgba(51, 51, 51, 0.3);
    left: 5px;
  }
  .gl_next {
    background-color: rgba(51, 51, 51, 0.3);
    right: 5px;
  }
  .gl_close_bt {
    right: 43%;
  }
}