html {
  box-sizing: border-box;
}

*, *:before, *:after {
  box-sizing: inherit;
}

html, body {
  width: 100%;
  height: 100%;
}

h1 {
  font-family: 'Playfair Display', serif;
  /* font-size: 96px; */
}

.panel__text p {
  font-family: 'Lato', sans-serif;
}

.main_header {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 5vh 5%;
}

.panel {
  position: relative;
  display: flex;
  width: 100%;
  max-width: 1200px;
  height: 466px;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  pointer-events: none;
}

.panel__content-col {
  flex-basis: 25%;
}

.panel__content {
  position: absolute;
  top: 26%;
  left: 0;
  z-index: 2;
  width: 100%;
}

.panel__text {
  display: inline-block;
  /* text-align: right; */
  width: 30vw;
}

.panel__img-col {
  flex-basis: 70%;
  box-shadow: 0px 20px 100.28px 8.72px rgba(0, 0, 0, 0.35);
}

.panel__title {
  margin: 0;
}

.panel__addr {
  position: relative;
  display: flex;
  margin: 16px 0 0;
  /* justify-content: flex-end; */
}
/* .panel__addr span {
  display: block;
  margin: 9px 14px 0 0;
  height: 1px;
  width: 30px;
  background-color: #000;
} */

/* .panel__line {
  width: 64%;
  height: 3px; */
  /* margin: 24px 0 0 36%; */
  /* margin: 0 0 50px 0;
  background: linear-gradient(to right, lightgreen, deepskyblue);
  display: block;
} */

.slides h1::before {
    width: 50%;
    height: 3px;
    /* margin: 24px 0 0 36%; */
    /* margin: 0 0 50px 0; */
    background: linear-gradient(to right, lightgreen, deepskyblue);
    display: block;
    bottom: 49.7%;
    /* overflow: visible; */
    content: "";
    position: absolute;
    animation: lineFade 6s ease 0s 1 normal;
    -webkit-animation: lineFade 6s ease 0s 1 normal;
}

@keyframes lineFade {
		0% {width: 0%}
    80% {width: 0%}
    100% {width: 50%}
}

@-webkit-keyframes lineFade {
		0% {width: 0%}
    80% {width: 0%}
    100% {width: 50%}
}

.panel__img-col {
  width: 100%;
}

.panel__img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}


.pc {
	display: block;
}

.sp {
	display: none;
}

/* responsive */
@media screen and (max-width: 1024px) {
	.panel {
		height: auto;
	}
	.main_header {
		padding: 0;
	}
	.panel__img-col {
		flex-basis: auto;
		box-shadow: none;
	}
	.panel__text {
		width: 90vw;
	}
	.panel__title, .panel__addr {
		margin-left: 1em;
	}
  .panel__content-col {
    flex-basis: auto;
  }
  .panel__content {
    top: 0;
  }
  @keyframes lineFade {
  		0% {width: 0%}
      80% {width: 0%}
      100% {width: 62%}
  }

  @-webkit-keyframes lineFade {
  		0% {width: 0%}
      80% {width: 0%}
      100% {width: 62%}
  }
}

@media screen and (max-width: 768px) {
  @keyframes lineFade {
  		0% {width: 0%}
      80% {width: 0%}
      100% {width: 45%}
  }

  @-webkit-keyframes lineFade {
  		0% {width: 0%}
      80% {width: 0%}
      100% {width: 45%}
  }
}

@media screen and (max-width: 600px) {
  @keyframes lineFade {
  		0% {width: 0%}
      80% {width: 0%}
      100% {width: 110%}
  }

  @-webkit-keyframes lineFade {
  		0% {width: 0%}
      80% {width: 0%}
      100% {width: 110%}
  }
}

@media screen and (max-width: 768px) {
  .pc {
    display: none;
  }
  .sp {
    display: block;
  }
  .panel__content {
    top: 26%;
    background-color: rgba(255,255,255,0.5);
    padding-bottom: 50px;
    width: 80vw
  }
}
