body.pages {
  background: url("../images/gashapon/gashapon_cover.png") repeat center center;
  background-size: contain;
}

body.pages #p_mainvisual,
body.pages #anchor {
  background-color: #efefef;
}

.pages #gashapon_about {
  padding: 67px 0 80px;
}

.pages #gashapon_about .gashapon_wrap {
  padding: 40px;
  border-radius: 5px;
  position: relative;
  overflow: hidden;
}

.pages #gashapon_about .gashapon_wrap::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--white-color);
  filter: blur(4px);
  z-index: 0;
  pointer-events: none;
}

.pages #gashapon_about .gashapon_banner {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 21.976vw;
  max-height: 258px;
  background-color: #fafafa;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.pages #gashapon_about .gashapon_banner figure {
  width: 63.203vw;
  max-width: 742px;
  line-height: 0;
}

.pages #gashapon_about .gashapon_banner img {
  width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center center;
}

.pages #gashapon_about .gashapon_content {
  position: relative;
  z-index: 1;
}

.pages #gashapon_about .gashapon_item {
  display: flex;
  align-items: center;
  margin-bottom: 48px;
}

.pages #gashapon_about .gashapon_item:last-child {
  margin-bottom: 0;
}

.pages #gashapon_about .gashapon_box {
  display: block;
  width: 42.76vw;
  max-width: 502px;
  height: 275px;
  max-height: 275px;
  margin-right: 40px;
  flex-shrink: 0;
}

.pages #gashapon_about .gashapon_img {
  width: 100%;
  height: 100%;
  line-height: 0;
}

.pages #gashapon_about .gashapon_img > * {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gashapon_yt {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
}
.gashapon_yt iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.pages #gashapon_about .gashapon_block {
  flex: 1;
}

.pages #gashapon_about .gashapon_title {
  font-size: 26px;
  font-weight: 500;
  line-height: 1.2916;
  border-bottom: 1px solid var(--main-color);
  padding-bottom: 3px;
  margin-bottom: 25px;
}

.pages #gashapon_about .gashapon_desc {
  font-size: 18px;
  line-height: 1.5;
}

.pages #gashapon_link {
  padding: 78px 0 104px;
}

.pages #gashapon_link .gashapon_link_list {
  display: flex;
}

.pages #gashapon_link .gashapon_link_item {
  width: calc((100% - 24px) / 2);
  height: 110px;
  margin-right: 24px;
}

.pages #gashapon_link .gashapon_link_item:last-child {
  margin-right: 0;
}

.pages #gashapon_link .gashapon_link_item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--white-color);
  padding: 0 40px;
  width: 100%;
  height: 100%;
  box-shadow: 0 0 10px rgba(13, 13, 13, 0.1);
}

.pages #gashapon_link .gashapon_link_item:first-child .gashapon_link_title {
  color: var(--red-color);
}

.pages #gashapon_link .gashapon_link_item:first-child figure {
  margin-right: 11px;
  line-height: 0;
}

.pages #gashapon_link .gashapon_link_item:first-child figure img {
  max-height: 100%;
  object-fit: contain;
}

.pages #gashapon_link .gashapon_link_title {
  font-size: 24px;
  font-weight: 500;
  display: flex;
  align-items: center;
}

.pages #gashapon_link .gashapon_link_item a i {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(270deg, #ee5c00 0%, #e60000 100%);
  overflow: hidden;
  position: relative;
}

.pages #gashapon_link .gashapon_link_item a i::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 1px;
  width: calc(100% - 2px);
  height: calc(100% - 2px);
  background-color: var(--white-color);
  border-radius: 50%;
  transition: all 0.4s ease;
  z-index: 1;
}

.pages #gashapon_link .gashapon_link_item a i::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: center center;
  transition: all 0.4s ease;
  z-index: 2;
}

.pages #gashapon_link .gashapon_link_item:first-child a i::before {
  background-image: url("../images/common/icon_open.png");
  background-size: 16px 15px;
}

.pages #gashapon_link .gashapon_link_item:last-child a i::before {
  background-image: url("../images/common/icon_location.png");
  background-size: 16px 12px;
}

@media screen and (min-width: 1025px) {
  .pages #gashapon_link .gashapon_link_item a:hover i::after {
    opacity: 0;
  }

  .pages #gashapon_link .gashapon_link_item:first-child a:hover i::before {
    background-image: url("../images/common/icon_open_hover.png");
  }

  .pages #gashapon_link .gashapon_link_item:last-child a:hover i::before {
    background-image: url("../images/common/icon_location_hover.png");
  }
}

@media screen and (max-width: 1024px) {
  .pages #gashapon_about {
    padding-top: 63px;
  }

  .pages #gashapon_about .gashapon_wrap {
    padding: 32px 16px;
  }

  .pages #gashapon_about .gashapon_box {
    margin-right: 25px;
  }

  .pages #gashapon_about .gashapon_title {
    font-size: 24px;
    padding-bottom: 8px;
    margin-bottom: 16px;
  }

  .pages #gashapon_about .gashapon_desc {
    font-size: 16px;
  }

  #block_news {
    padding-top: 75px;
  }

  .pages #gashapon_link {
    padding: 69px 0 64px;
  }

  .pages #gashapon_link .gashapon_link_item a {
    padding: 0 24px;
  }

  .pages #gashapon_link .gashapon_link_title {
    font-size: 20px;
  }

  .pages #gashapon_link .gashapon_link_item a i {
    width: 32px;
    height: 32px;
  }

  .pages #gashapon_link .gashapon_link_item a i::after {
    opacity: 0;
  }

  .pages #gashapon_link .gashapon_link_item:first-child a i::before {
    background-image: url(../images/common/icon_open_hover.png);
    background-size: 11px 11px;
  }

  .pages #gashapon_link .gashapon_link_item:last-child a i::before {
    background-image: url(../images/common/icon_location_hover.png);
    background-size: 12px 9px;
  }
}

@media screen and (max-width: 768px) {
  .pages .p_gashapon #anchor {
    padding-bottom: 106px;
  }

  .pages #gashapon_about .gashapon_banner {
    height: 99px;
    margin-bottom: 24px;
  }

  .pages #gashapon_about .gashapon_banner figure {
    width: 94%;
    max-width: 263px;
  }

  .pages #gashapon_about .gashapon_item {
    flex-direction: column;
    margin-bottom: 35px;
  }

  .pages #gashapon_about .gashapon_box {
    width: 82.933vw;
    max-width: 311px;
    height: 45.333vw;
    max-height: 170px;
    margin: 0 auto 24px;
  }

  .pages #gashapon_about .gashapon_title {
    text-align: center;
  }

  .pages #gashapon_link .gashapon_link_list {
    flex-direction: column;
  }

  .pages #gashapon_link .gashapon_link_item {
    width: 100%;
    max-width: 327px;
    height: 80px;
    margin: 0 auto 16px !important;
  }

  .pages #gashapon_link .gashapon_link_item:first-child figure {
    margin-right: 9px;
    width: 38.667vw;
    max-width: 145px;
  }
}
