@charset "utf-8";
/* CSS Document */
/* デフォルト：左右分割背景 */
.main-visual {
  position: relative;
  height: 750px;
  display: flex;
  overflow: hidden;
}

.main-visual-left,
.main-visual-right {
  width: 50%;
  height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.main-visual-left {
  background-image: url('../images/top_bg-01.jpg');
  background-position: right center;
}

.main-visual-right {
  background-image: url('../images/top_bg-02.jpg');
  background-position: left center;
}

/* テキストオーバーレイ */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: #1e1e1e;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  pointer-events: none;
  z-index: 1;
}

/* スマートフォン対応 */
@media (max-width: 768px) {
  .main-visual {
    flex-direction: column;
    background-image: url('../images/top_bg-sp.jpg'); /* スマホ用背景 */
    background-size: cover;
    background-position: center;
  }

  .main-visual-left,
  .main-visual-right {
    display: none;
  }
}
