#headAlert,
#header,
.asideBox,
#footer {
  display: none !important;
}

a {
  color: inherit;
}
a:hover {
  opacity: 1;
}

img {
  max-width: 100%;
}

/* common */
.header-open {
  overflow: hidden;
}
#main {
  color: #292B1F;
  background-color: #F5F4F2;
  /* font-family: "TBUDGothic R", sans-serif; */
  font-family: sans-serif;
  font-size: 16px;
  overflow: hidden;
}
#main .common-wrapper {
  max-width: 1380px;
  margin: auto;
  padding: 0 40px;
}
#main .common-title {
  font-size: 30px;
  /* font-family: "TBUDGothic B", sans-serif; */
  line-height: 1.5;
  text-align: center;
}
#main .common-title span {
  font-family: din-2014, sans-serif;
  font-weight: 400;
  font-size: 40px;
}
#main .scroll-in {
  opacity: 0;
  transform: translate(0, 20px);
  transition: opacity 1s, transform 1s;
  transition-delay: .5s;
}
#main .scroll-in.scroll-show {
  opacity: 1;
  transform: translate(0);
}
@media screen and (min-width: 768px) {
  .is-sp {
    display: none;
  }
}
@media screen and (max-width: 767px) {
  .is-pc {
    display: none;
  }
  #main .common-wrapper {
    padding: 0 20px;
  }
  #main .common-title {
    font-size: 22px;
  }
  #main .common-title span {
    font-size: 33px;
  }
}

/* main header */
#main-header {
  position: fixed;
  top: -100px;
  left: 0;
  right: 0;
  z-index: 98;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;
  background-color: #F5F4F2;
  transition: top .5s;
}
#main-header.header-scroll {
  top: 0;
}
#main-header .header-btn {
  position: absolute;
  top: 0;
  right: 23px;
  bottom: 0;
  z-index: 110;
  width: 40px;
  height: 40px;
  margin: auto;
}
#main-header .header-btn::before,
#main-header .header-btn::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  width: 32px;
  height: 2px;
  margin: auto;
  background-color: #D10000;
  transition: transform .5s, top .5s, bottom .5s, background-color .5s;
}
#main-header .header-btn::before {
  top: 30%;
}
#main-header .header-btn::after {
  bottom: 30%;
}
.header-open #main-header .header-btn::before,
.header-open #main-header .header-btn::after {
  background-color: #fff;
}
.header-open #main-header .header-btn::before {
  top: calc(50% - 1px);
  transform: rotate(-45deg);
}
.header-open #main-header .header-btn::after {
  bottom: calc(50% - 1px);
  transform: rotate(45deg);
}
#main-header .header-btn span {
  position: absolute;
  top: calc(50% - 1px);
  left: 0;
  right: 0;
  width: 32px;
  height: 2px;
  margin: auto;
  background-color: #D10000;
  transition: opacity .5s;
}
.header-open #main-header .header-btn span {
  opacity: 0;
}
#main-header .header-bg {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
  width: 100%;
  height: 100%;
  background-color: #000;
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s, visibility .5s;
}
.header-open #main-header .header-bg {
  opacity: .8;
  visibility: visible;
}
#main-header .header-wrapper {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 100;
  width: 500px;
  height: 100%;
  padding-top: 100px;
  padding-left: 55px;
  background-color: #D10000;
  color: #fff;
  transform: translate(100%);
  transition: transform .5s;
}
.header-open #main-header .header-wrapper {
  transform: translate(0);
}
#main-header .header-wrapper a {
  transition: opacity .5s;
}
#main-header .header-wrapper a:hover {
  opacity: .5;
}
#main-header .header-menu li {
  font-size: 20px;
  /* font-family: "TBUDGothic B", sans-serif; */
}
#main-header .header-menu li:nth-child(n+2) {
  margin-top: 40px;
}
#main-header .header-link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
  margin-top: 55px;
}
#main-header .header-link a {
  position: relative;
  padding-right: 20px;
  font-size: 14px;
  /* font-family: "TBUDGothic B", sans-serif; */
}
#main-header .header-link a::before {
  content: "";
  position: absolute;
  top: 2px;
  right: 0;
  width: 8px;
  height: 8px;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
}
#main-header .header-link a::after {
  content: "";
  position: absolute;
  top: 1px;
  right: 6px;
  width: 1px;
  height: 15px;
  background-color: #fff;
  transform: rotate(45deg);
}
#main-header .header-sns {
  display: flex;
  align-items: center;
  gap: 38px;
  margin-top: 35px;
}
@media screen and (max-width: 767px) {
  #main-header {
    top: -66px;
    height: 66px;
  }
  #main-header .header-logo {
    width: 173px;
  }
  #main-header .header-btn {
    right: 13px;
  }
  #main-header .header-wrapper {
    width: 100%;
    padding-left: 0;
  }
  #main-header .header-menu li {
    font-size: 16px;
    text-align: center;
  }
  #main-header .header-menu li:nth-child(n+2) {
    margin-top: 35px;
  }
  #main-header .header-link {
    align-items: center;
  }
  #main-header .header-sns {
    justify-content: center;
  }
}

/* main kv */
#main-kv {
  background-color: #fff;
}
#main-kv .kv-image {
  height: 100vh;
}
#main-kv .kv-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media screen and (max-width: 767px) {
  #main-kv .kv-image {
    height: auto;
  }
  #main-kv .kv-image img {
    object-fit: contain;
  }
}

/* main lead */
#main-lead {
  margin-top: 35px;
  padding-top: 100px;
}
#main-lead p {
  /* font-family: "TBUDGothic B", sans-serif; */
  text-align: center;
}
#main-lead .lead-text {
  line-height: 2.5;
}
#main-lead .lead-anv {
  margin-top: 56px;
  line-height: 2;
}
#main-lead h2 {
  margin-top: 60px;
}
@media screen and (max-width: 767px) {
  #main-lead {
    margin-top: 34px;
    padding-top: 66px;
  }
  #main-lead .lead-anv {
    margin-top: 26px;
  }
  #main-lead h2 {
    margin-top: 30px;
  }
}

/* main movie */
#main-movie {
  margin-top: 10px;
  padding-top: 100px;
}
#main-movie .movie-link {
  position: relative;
  display: block;
  max-width: 614px;
  margin: auto;
}
#main-movie .movie-icon {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 130px;
  width: 48px;
  height: 72px;
  margin: auto;
}
#main-movie .movie-icon::after {
  content: "";
  position: absolute;
  left: 18px;
  bottom: 17px;
  width: 16px;
  height: 16px;
  background-image: url('../images/icon-movie.svg');
  background-repeat: no-repeat;
  background-size: contain;
}
#main-movie .movie-icon img {
  transition: transform .5s;
}
#main-movie .movie-link:hover .movie-icon img {
  transform: scale(1.125);
}
@media screen and (max-width: 767px) {
  #main-movie {
    margin-top: 24px;
    padding-top: 66px;
  }
  #main-movie .movie-icon {
    top: 0;
    bottom: 0;
    width: 32px;
    height: 48px;
  }
  #main-movie .movie-icon::after {
    left: 12px;
    bottom: 12px;
    width: 11px;
    height: 11px;
  }
}

/* main challenge */
#main-challenge {
  margin-top: 12px;
  padding-top: 100px;
}
#main-challenge .challenge-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 50px 24px;
  margin: 70px -20px 0;
}
#main-challenge .challenge-card {
  position: relative;
  width: 316px;
}
#main-challenge .challenge-card:nth-child(1) {
  margin-left: 10px;
}
#main-challenge .challenge-card:nth-child(3) {
  margin-right: 10px;
}
#main-challenge a.challenge-card svg {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  z-index: 1;
  width: 34px;
  height: 34px;
  margin: auto;
  transition: transform .5s;
}
#main-challenge a.challenge-card:hover svg {
  transform: translate(8px, -8px);
}
#main-challenge a.challenge-card:hover svg * {
  stroke: #D10000;
}
#main-challenge .challenge-card figure {
  overflow: hidden;
  height: 458px;
}
#main-challenge .challenge-card figure::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  background-image: url('../images/challenge-cover.svg');
  background-repeat: no-repeat;
  background-size: contain;
}
#main-challenge a.challenge-card img {
  transition: transform .5s;
}
#main-challenge a.challenge-card:hover img {
  transform: scale(1.125);
}
#main-challenge .challenge-card h3 {
  position: absolute;
  top: 60px;
  left: 0;
  right: 0;
  z-index: 1;
  color: #fff;
  font-family: din-2014, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 63px;
  text-align: center;
}
#main-challenge .challenge-card h3 span {
  display: block;
  font-size: 39px;
}
#main-challenge .challenge-card p {
  position: absolute;
  top: 0;
  right: 50%;
  z-index: 1;
  font-size: 14px;
  /* font-family: "TBUDGothic B", sans-serif; */
  transform: rotate(-60deg);
  line-height: 1.4;
  text-align: right;
}
#main-challenge .challenge-card p span {
  position: absolute;
  right: 0;
  bottom: 5px;
  width: max-content;
}
@media screen and (max-width: 767px) {
  #main-challenge {
    margin-top: 46px;
    padding-top: 66px;
  }
  #main-challenge .challenge-list {
    display: block;
    margin: 50px -10px 0;
  }
  #main-challenge .challenge-card {
    display: block;
    width: 49%;
  }
  #main-challenge .challenge-card:nth-child(n+2) {
    margin-top: -28%;
  }
  #main-challenge .challenge-card:nth-child(odd) {
    margin-left: 4%;
  }
  #main-challenge .challenge-card:nth-child(even) {
    margin-left: auto;
  }
  #main-challenge .challenge-card:nth-child(1) {
    z-index: 10;
  }
  #main-challenge .challenge-card:nth-child(2) {
    z-index: 9;
  }
  #main-challenge .challenge-card:nth-child(3) {
    z-index: 8;
    margin-right: 0;
  }
  #main-challenge .challenge-card:nth-child(4) {
    z-index: 7;
  }
  #main-challenge .challenge-card:nth-child(5) {
    z-index: 6;
  }
  #main-challenge .challenge-card:nth-child(6) {
    z-index: 5;
  }
  #main-challenge .challenge-card:nth-child(7) {
    z-index: 4;
  }
  #main-challenge .challenge-card:nth-child(8) {
    z-index: 3;
  }
  #main-challenge .challenge-card:nth-child(9) {
    z-index: 2;
  }
  #main-challenge .challenge-card:nth-child(10) {
    z-index: 1;
  }
  #main-challenge .challenge-card figure {
    height: auto;
  }
  #main-challenge .challenge-card h3 {
    top: 39px;
    font-size: 36px;
  }
  #main-challenge .challenge-card h3 span {
    font-size: 23px;
  }
  #main-challenge .challenge-card p {
    font-size: 10px;
  }
}

/* main capsule */
#main-capsule {
  margin-top: 40px;
  padding-top: 100px;
}
#main-capsule .capsule-anniversary {
  position: relative;
  display: block;
  max-width: 1208px;
  margin: auto;
}
#main-capsule .capsule-anniversary::before {
  content: "詳しくみる";
  position: absolute;
  right: 60px;
  bottom: 26px;
  z-index: 1;
}
#main-capsule .capsule-anniversary:hover::before {
  color: #D10000;
}
#main-capsule .capsule-anniversary::after {
  content: "";
  position: absolute;
  right: 40px;
  bottom: 26px;
  z-index: 1;
  width: 14px;
  height: 14px;
  background-image: url('../images/icon-link.svg');
  background-repeat: no-repeat;
  background-size: contain;
  transition: transform .5s;
}
#main-capsule .capsule-anniversary:hover::after {
  transform: translate(8px, -8px);
  background-image: url('../images/icon-link_r.svg');
}
#main-capsule .capsule-anniversary figure {
  overflow: hidden;
}
#main-capsule .capsule-anniversary img {
  transition: transform .5s;
}
#main-capsule .capsule-anniversary:hover img {
  transform: scale(1.07);
}
#main-capsule .capsule-anniversary div {
  position: absolute;
  top: 32px;
  left: 0;
  right: 0;
  display: flex;
}
#main-capsule .capsule-anniversary h3 {
  width: 50%;
  color: #fff;
  font-family: din-2014, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 50px;
  text-align: center;
}
#main-capsule .capsule-anniversary p {
  width: 50%;
  max-width: 533px;
  padding: 0 35px;
  line-height: 1.5;
}
@media screen and (max-width: 767px) {
  #main-capsule {
    margin-top: 34px;
    padding-top: 66px;
  }
  #main-capsule .capsule-anniversary img {
    width: 100%;
  }
  #main-capsule .capsule-anniversary div {
    top: 20px;
    display: block;
    width: 100%;
    padding: 0 20px;
    color: #fff;
  }
  #main-capsule .capsule-anniversary h3 {
    width: auto;
    font-size: 30px;
    text-align: left;
  }
  #main-capsule .capsule-anniversary p {
    width: auto;
    margin-top: 10px;
    padding: 0;
    font-size: 15px;
    text-shadow: 0px 2px 6px #000;
  }
}

/* main history */
#main-history {
  margin-top: 105px;
  padding-top: 100px;
  overflow: hidden;
}
#main-history .history-wrapper {
  margin-top: 55px;
  background-color: #fff;
}
#main-history .history-inner {
  position: relative;
  max-width: 1500px;
  margin: auto;
  padding: 80px 100px 110px;
}
#main-history .history-inner > div {
  overflow: visible;
}
#main-history .history-inner .slick-track {
  display: flex;
}
#main-history .history-card {
  position: relative;
  display: flex;
  height: auto;
  margin: 0 16px;
}
#main-history .history-card h3 {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  font-family: din-2014, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 40px;
  text-align: center;
}
#main-history .history-card h3::before {
  content: "";
  position: absolute;
  top: 50px;
  left: -16px;
  width: calc(100% + 32px);
  height: 1px;
  background-color: #9F9F9F;
}
#main-history .history-card h3::after {
  content: "";
  position: absolute;
  top: 42px;
  left: 0;
  right: 0;
  z-index: 2;
  width: 16px;
  height: 16px;
  margin: auto;
  background-color: #292B1F;
  border-radius: 50%;
}
#main-history .history-card h3 span {
  display: block;
  margin-top: 26px;
  font-size: 22px;
}
#main-history .history-card a {
  display: block;
  margin-top: 103px;
  padding-bottom: 45px;
}
#main-history .history-card figure {
  margin-bottom: 15px;
}
#main-history .history-card p {
  /* font-family: "TBUDGothic B", sans-serif; */
  line-height: 1.5;
  text-align: center;
}
#main-history .history-card div {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 117px;
  margin: auto;
  /* font-family: "TBUDGothic B", sans-serif; */
}
#main-history .history-card a:hover div {
  color: #D10000;
}
#main-history .history-card div svg {
  position: absolute;
  right: 8px;
  bottom: 0;
  z-index: 1;
  width: 14px;
  height: 14px;
  transition: transform .5s;
}
#main-history .history-card a:hover div svg {
  transform: translate(8px, -8px);
}
#main-history .history-card a:hover div svg * {
  stroke: #D10000;
}
#main-history .slick-prev,
#main-history .slick-next {
  z-index: 10;
  width: 42px;
  height: 42px;
  background-color: #292B1F;
  border-radius: 50%;
}
#main-history .slick-prev {
  left: 20px;
}
#main-history .slick-next {
  right: 20px;
}
#main-history .slick-prev::before,
#main-history .slick-next::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  width: 16px;
  height: 16px;
  opacity: 1;
  transform: rotate(45deg);
}
#main-history .slick-prev.slick-disabled::before,
#main-history .slick-next.slick-disabled::before {
  opacity: 1;
}
#main-history .slick-prev::before {
  left: 16px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
}
#main-history .slick-next::before {
  right: 16px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
}
#main-history .slick-dots {
  left: 0;
  bottom: 50px;
}
#main-history .slick-dots li {
  width: 10px;
  height: 10px;
  margin: 0 8px;
}
#main-history .slick-dots li button {
  width: 10px;
  height: 10px;
  background-color: #F5F4F2;
  border-radius: 50%;
}
#main-history .slick-dots li.slick-active button {
  background-color: #D10000;
}
#main-history .slick-dots li button::before {
  display: none;
}
@media screen and (max-width: 767px) {
  #main-history {
    margin-top: 34px;
    padding-top: 66px;
  }
  #main-history .history-wrapper {
    margin-top: 32px;
  }
  #main-history .history-inner {
    padding: 30px 20px 100px;
  }
  #main-history .slick-prev,
  #main-history .slick-next {
    width: 32px;
    height: 32px;
  }
  #main-history .slick-prev::before,
  #main-history .slick-next::before {
    width: 12px;
    height: 12px;
  }
  #main-history .slick-prev::before {
    left: 12px;
  }
  #main-history .slick-next::before {
    right: 12px;
  }
}

/* main news */
#main-news {
  margin-top: 28px;
  padding-top: 100px;
}
#main-news .news-wrapper {
  /* height: 448px; */
  margin-top: 60px;
  overflow: auto;
}
#main-news .news-list li {
  padding: 60px 40px 30px;
  border-bottom: 1px solid #9F9F9F;
}
#main-news .news-list li:first-child {
  padding-top: 0;
}
#main-news .news-list a {
  display: flex;
  max-width: 1020px;
  margin: auto;
  line-height: 1.5;
}
#main-news .news-list a:hover {
  color: #D10000;
}
#main-news .news-list a time {
  width: 120px;
  font-family: din-2014, sans-serif;
  font-style: normal;
}
#main-news .news-list a p {
  max-width: 700px;
}
#main-news .news-list a span {
  position: relative;
  display: inline-block;
  width: 30px;
}
#main-news .news-list a span svg {
  position: absolute;
  right: 8px;
  bottom: 0;
  z-index: 1;
  width: 14px;
  height: 14px;
  transition: transform .5s;
}
#main-news .news-list a:hover span svg {
  transform: translate(4px, -4px);
}
#main-news .news-list a:hover span svg * {
  stroke: #D10000;
}
@media screen and (max-width: 767px) {
  #main-news {
    margin-top: 34px;
    padding-top: 66px;
  }
  #main-news .news-wrapper {
    /* height: 442px; */
    margin-top: 36px;
  }
  #main-news .news-list li {
    padding: 35px 0 10px;
  }
  #main-news .news-list a {
    display: block;
  }
  #main-news .news-list a p {
    max-width: none;
    margin-top: 16px;
  }
}

/* main footer */
#main-footer {
  margin-top: 100px;
  padding-bottom: 144px;
}
#main-footer figure {
  width: 375px;
  margin: auto;
}
#main-footer .footer-link {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}
#main-footer .footer-link a {
  position: relative;
  padding-right: 20px;
  font-size: 14px;
}
#main-footer .footer-link a:hover {
  color: #D10000;
}
#main-footer .footer-link a::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 4px;
  width: 8px;
  height: 8px;
  border-top: 1px solid #292B1F;
  border-right: 1px solid #292B1F;
}
#main-footer .footer-link a:hover:before {
  border-color: #D10000;
}
#main-footer .footer-link a::after {
  content: "";
  position: absolute;
  right: 6px;
  bottom: -2px;
  width: 1px;
  height: 15px;
  background-color: #292B1F;
  transform: rotate(45deg);
}
#main-footer .footer-link a:hover:after {
  background-color: #D10000;
}
#main-footer p {
  margin-top: 20px;
  font-size: 11px;
  text-align: center;
}
@media screen and (max-width: 767px) {
  #main-footer {
    margin-top: 120px;
    padding-bottom: 72px;
  }
  #main-footer figure {
    width: 173px;
  }
}

/* pagetop */
.page-top {
  position: fixed;
  right: 30px;
  bottom: -60px;
  z-index: 10;
  width: 42px;
  height: 42px;
  background-color: #fff;
  border-radius: 50%;
  transition: bottom .5s;
}
.page-top.page-scroll {
  bottom: 30px;
}
.page-top::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 0;
  right: 0;
  width: 16px;
  height: 16px;
  margin: auto;
  border-top: 2px solid #292B1F;
  border-left: 2px solid #292B1F;
  transform: rotate(45deg);
}
@media screen and (max-width: 767px) {
  .page-top {
    right: 20px;
    bottom: -50px;
    z-index: 10;
    width: 36px;
    height: 36px;
  }
  .page-top.page-scroll {
    bottom: 20px;
  }
  .page-top::before {
    top: 14px;
    width: 14px;
    height: 14px;
  }
}

/* modal */
.mfp-container.mfp-inline-holder {
  right: 0;
  margin: auto;
  max-width: 1050px;
  padding: 0 100px;
}
.mfp-inline-holder .mfp-content {
  min-height: 640px;
  background-color: #fff;
}
.modal-wrapper {
  display: none;
  min-height: 460px;
  padding: 20px;
  color: #292B1F;
  background-color: #fff;
}
.mfp-inline-holder .modal-wrapper {
  display: block;
}
.modal-wrapper h2 {
  font-family: din-2014, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 56px;
  text-align: center;
}
.modal-wrapper h2 span {
  display: block;
  margin-top: 10px;
  font-size: 25px;
}
.modal-wrapper .modal-inner {
  margin-top: 15px;
  padding: 60px 0 10px;
  border-top: 1px solid #292B1F;
  border-bottom: 1px solid #292B1F;
}
.modal-wrapper h3 {
  font-size: 18px;
  /* font-family: "TBUDGothic B", sans-serif; */
  line-height: 1.5;
  text-align: center;
}
.modal-wrapper figure {
  max-width: 355px;
  margin: 10px auto 0;
}
.modal-wrapper p {
  margin-top: 20px;
  padding: 0 20px;
  font-size: 16px;
  /* font-family: "TBUDGothic B", sans-serif; */
  line-height: 1.5;
}

button.mfp-arrow {
  width: 42px;
  height: 42px;
  margin-top: 0;
  background-color: #fff;
  border-radius: 50%;
  opacity: 1;
  transform: translate(0, -50%);
}
.mfp-arrow:active {
  margin-top: 0;
}
.mfp-arrow-left {
  left: 30px;
}
.mfp-arrow-right {
  right: 30px;
}
.mfp-arrow::before {
  left: 0;
  right: 0;
  bottom: 0;
  width: 15px;
  height: 15px;
  margin: auto;
  border: none;
  opacity: 1;
  transform: rotate(45deg);
}
.mfp-arrow-left::before {
  left: 6px;
  border-left: 2px solid #292B1F;
  border-bottom: 2px solid #292B1F;
}
.mfp-arrow-right::before {
  right: 6px;
  border-top: 2px solid #292B1F;
  border-right: 2px solid #292B1F;
}
.mfp-arrow::after {
  display: none;
}
button.mfp-close {
  top: 0 !important;
  right: -50px !important;
  width: 40px !important;
  height: 40px;
  font-size: 0;
  opacity: 1;
}
button.mfp-close::before,
button.mfp-close::after {
  content: "";
  position: absolute;
  top: calc(50% - 1px);
  left: 0;
  right: 0;
  width: 32px;
  height: 2px;
  margin: auto;
  background-color: #fff;
}
button.mfp-close::before {
  transform: rotate(-45deg);
}
button.mfp-close::after {
  transform: rotate(45deg);
}
@media screen and (max-width: 767px) {
  .mfp-container.mfp-inline-holder {
    bottom: 0;
    max-height: 710px;
    padding: 60px 0;
  }
  .mfp-inline-holder .mfp-content {
    position: static;
    height: 100%;
    min-height: 0;
    overflow: auto;
  }
  .modal-wrapper h2 {
    font-size: 40px;
  }
  .modal-wrapper h2 span {
    font-size: 22px;
  }
  .modal-wrapper .modal-inner {
    display: flex;
    align-items: center;
    padding: 30px 0 24px;
  }
  .modal-wrapper h3 {
    width: 50.5%;
    padding-left: 20px;
    font-size: 16px;
    text-align: left;
  }
  .modal-wrapper figure {
    width: 49.5%;
    max-width: none;
    margin-top: 0;
  }
  .modal-wrapper p {
    margin-top: 16px;
    padding: 0;
  }

  button.mfp-arrow {
    top: auto;
    bottom: 25px;
    width: 18px;
    height: 18px;
    background-color: transparent;
    transform: translate(0);
  }
  .mfp-arrow-left {
    left: 20px;
  }
  .mfp-arrow-right {
    right: 20px;
  }
  .mfp-arrow::before {
    width: 12px;
    height: 12px;
    border-color: #fff;
  }
  button.mfp-close {
    top: 10px !important;
    right: 10px !important;
  }
  .mfp-iframe-holder .mfp-close {
    top: -50px !important;
  }
}