@charset "utf-8";

.header-inner {
  max-width: 1300px;
  height: 45px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 40px;
  background-color: #3e3939;
}


/* バックの画像 */
.event-area {
  background-image: url(../images/index/front-pageimage.jpg);
  width: 100vw;
  max-width: 100%;
  height: 100vh;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}



.button-area {
  display: flex;
  padding-top: 203px;
}


/* beforeとafterボタン */

.before-button,
.after-button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 299px;
  height: 168px;
  border-radius: 10px;
  background-color: #595757;
  color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  font-size: 33px;
  position: relative;
}

.before-button {
  margin-left: 278px;
}

.after-button {
  background-color: #231815;
  margin-left: 147px;

}


.before-button::after,
.after-button::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 45px;
  transform: rotate(45deg) translateY(-50%);
  width: 18px;
  height: 18px;
  border-width: 1px 1px 0 0;
  border-style: solid;
  border-color: #fff;
}

.before-button:hover,
.after-button:hover {
  background-color: #3e3939;
  color: #fff;
}



/* 1300pxで一括変換 */
@media screen and (max-width: 1300px) {

  /* バックの画像 */
  .event-area {
    background-image: url(../images/index/front-pageimage.jpg);
    width: 100vw;
    max-width: 100%;
    height: 100vh;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
  }



  .button-area {
    display: flex;
    padding-top: 15.615vw;
  }


  /* beforeボタン */

  .before-button,
  .after-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 23vw;
    height: 12.923vw;
    border-radius: 0.769vw;
    background-color: #595757;
    color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-size: 2.538vw;
    position: relative;
  }

  .before-button {
    margin-left: 21.385vw;
  }

  .after-button {
    background-color: #231815;
    margin-left: 11.308vw;

  }


  .before-button::after,
  .after-button::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 3.462vw;
    transform: rotate(45deg) translateY(-50%);
    width: 1.385vw;
    height: 1.385vw;
    border-width: 0.077vw 0.077vw 0 0;
    border-style: solid;
    border-color: #fff;
  }

  .before-button:hover,
  .after-button:hover {
    background-color: #3e3939;
    color: #fff;
  }

}