@charset "utf-8";
#favoTitle {
  display: flex;
  position: relative;
  width: 100%;
  color: #ffffff;
  background-color: #dc143c;
  font-weight: 700;
  align-items: center;
  justify-content: center;
}
#favoTitle a {
  position: absolute;
  display: flex;
  text-align: center;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  background-image: url("/common/img/link_icon_r.png");
  background-repeat: no-repeat;
  font-weight: 700;
  border-radius: 50%;
}
#gallery .items {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}
#gallery .item a {
  position: relative;
  display: block;
  width: 100%;
  background: #e9eef3;
  overflow: hidden;
}
#galleryArea.as_1_1 #gallery .item a {
  padding-bottom: 100%;
}
#galleryArea.as_3_2 #gallery .item a {
  padding-bottom: 66.666%;
}
#galleryArea.tate.as_2_3 #gallery .item a {
  padding-bottom: 150%;
}
#galleryArea.tate.as_3_4 #gallery .item a {
  padding-bottom: 133.33%;
}
#galleryArea.tate.as_9_16 #gallery .item a {
  padding-bottom: 177.77%;
}
#galleryArea #gallery .item a img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
/*#galleryArea:not(.as_1_1) #gallery .item a img {
  position: absolute;
  width: auto;
  height: 100%;
  left: 0;
  bottom: 0;
  top: 0;
  right: 0;
  margin: auto;
}*/
/*#galleryArea.as_1_1 #gallery .item a img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
}*/
@media print, screen and (min-width: 751px) {
  #contents {
    padding-top: 60px;
  }
  #favoTitle {
    margin-bottom: 60px;
    height: 100px;
    font-size: 36px;
  }
  #favoTitle a {
    bottom: 10px;
    right: 10px;
    width: 80px;
    height: 80px;
    background-position: center bottom 5px;
    background-size: 16px auto;
    font-size: 12px;
    transition: all 0.3s linear;
  }
  #favoTitle a span {
    display: block;
    margin-top: -5px;
  }
  #favoTitle a:hover {
    background-color: rgba(255, 255, 255, 0.8);
  }
  #main .click {
    margin-top: 20px;
  }
  #galleryArea {
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 30px;
    padding-left: 20px;
    padding-right: 20px;
  }
  #gallery .click {
    margin-top: 20px;
  }
  #gallery .items .item {
    margin-right: 20px;
  }
  #galleryArea:not(.tate) .items .item {
    width: calc(20% - 16px);
    width: -webkit-calc(20% - 16px);
    margin-right: 20px;
  }
  #galleryArea:not(.tate) .items .item:nth-child(5n) {
    margin-right: 0;
  }
  #galleryArea:not(.tate) .items .item:nth-child(n+6) {
    margin-top: 20px;
  }
  #galleryArea.tate .items .item {
    width: calc(16.66% - 16.66px);
    width: -webkit-calc(16.66% - 16.66px);
  }
  #galleryArea.tate .items .item:nth-child(6n) {
    margin-right: 0;
  }
  #galleryArea.tate .items .item:nth-child(n+7) {
    margin-top: 20px;
  }
  #galleryArea:not(.as_1_1) #gallery .items .item a img {
    transition: all 0.3s linear;
    transform: scale(1.0, 1.0);
  }
  #galleryArea:not(.as_1_1) #gallery .items .item a:hover img {
    transform: scale(1.15, 1.15);
  }
  #galleryArea.as_1_1 #gallery .items .item a img {
    transition: all 0.3s linear;
    transform: scale(1.1, 1.1);
  }
  #galleryArea.as_1_1 #gallery .items .item a:hover img {
    transform: scale(1.25, 1.25);
  }
}
@media (max-width: 750.99px) {
  #contents {
    padding-top: 50px;
  }
  #favoTitle {
    margin-bottom: 20px;
    height: 70px;
    font-size: calc(18 / 375 * 100vw);
  }
  #favoTitle a {
    bottom: 7px;
    right: 7px;
    width: 56px;
    height: 56px;
    background-position: center bottom 4px;
    background-size: 14px auto;
    font-size: 11px;
  }
  #favoTitle a span {
    display: block;
    line-height: 1.2;
    margin-top: -5px;
  }
  #main .click {
    margin-top: calc(10 / 375 * 100vw);
  }
  #galleryArea {
    margin-top: calc(20 / 375 * 100vw);
    padding-left: 4vw;
    padding-right: 4vw;
  }
  #gallery .inner {
    margin-top: calc(10 / 375 * 100vw);
  }
  #gallery .items .item {
    margin-right: 10px;
  }
  #galleryArea:not(.tate) .items .item {
    width: calc(33.33% - 6.7px);
    width: -webkit-calc(33.33% - 6.7px);
  }
  #galleryArea:not(.tate) .items .item:nth-child(3n) {
    margin-right: 0;
  }
  #galleryArea:not(.tate) .items .item:nth-child(n+4) {
    margin-top: calc(10 / 375 * 100vw);
  }
  #galleryArea.tate .items .item {
    width: calc(25% - 7.5px);
    width: -webkit-calc(25% - 7.5px);
    margin-right: 10px;
  }
  #galleryArea.tate .items .item:nth-child(4n) {
    margin-right: 0;
  }
  #galleryArea.tate .items .item:nth-child(n+5) {
    margin-top: calc(10 / 375 * 100vw);
  }
  #galleryArea:not(.as_1_1) #gallery .items .item a img {
    transition: all 0.3s linear;
    transform: scale(1.0, 1.0);
  }
  #galleryArea.as_1_1 #gallery .items .item a img {
    transition: all 0.3s linear;
    transform: scale(1.15, 1.15);
  }
}