@charset "utf-8";
/* top1 ++++++++++++++++++++++++++++++++++++++++++ */
.top1 {position: relative; }
.top1 li, .top1 .imgbox {width: 100%; position: absolute; top: 0; left: 0; z-index: -1; }
.top1 img {display: block; height: 100vh; width: 100%; object-fit: cover; object-position: 100% 50%; }

.top1 li {
	color: #fff; font-size: 1.35rem; line-height: 2; z-index: 1; animation: 18s ease infinite running; }
.top1 li span {font-weight: 400; font-size: 1.2em; }
.top1 li.paused {animation-play-state: paused; }
.top1 li:nth-child(2) {animation-name: loop1; }
.top1 li:nth-child(3) {animation-name: loop2; }
@keyframes loop1 {
  0% { opacity: 0 }
  10% { opacity: 0 }
  20% { opacity: 1 }
  45% { opacity: 1 }
  55% { opacity: 0 }
 100% { opacity: 0 }
}
@keyframes loop2 {
  0% { opacity: 0 }
  40% { opacity: 0 }
  53% { opacity: 1 }
  75% { opacity: 1 }
 85% { opacity: 0 }
 100% { opacity: 0 }
}

.top1 .flex {height: 100vh; align-items: center; }
.top1 .flex .text {padding-left: 3%; }
.top1 .right {flex-direction: row-reverse; }
.top1 .right .text {padding-left: 0; }

.top1 .logo {width: 48%; margin: 2rem 0; }
.top1 .logo img {width: 100%; height: auto; }

/* top2 ++++++++++++++++++++++++++++++++++++++++++ */
.top2 {z-index: -1; }
.top2 .inner-cont {font-size: 1.4rem; line-height: 2; }
.top2 .h100-inner {display: flex; flex-direction: column; justify-content: center; align-items: center; width: 17em; } 
.top2 h2 {color: var(--color-c1); margin-bottom: 0.5em; text-align: left; }

.top2 .top2svg {
	position: absolute; top: 0; left: 17em; width: calc(100% - 15em); 
	background: linear-gradient(to bottom, var(--color-c1) 40%, #fff 40%, #fff 100%);
	padding-top: 40px; overflow: hidden; z-index: -1; }
.top2 .top2svg img {width: 100%; height: auto; }

/* top3 ++++++++++++++++++++++++++++++++++++++++++ */
.top3 {z-index: 1; }
.top3 .inner-cont {display: flex; flex-direction: column; justify-content: center; align-items: center; }

.top3 .inner {max-width: 40em; margin: 0 auto 3rem; }
.top3 .inner h2 {color: #fff; text-align: center; }
.top3 .inner p {margin: 1rem auto 0; }

.top3 .h3in {justify-content: center; max-width: 90%; margin: 0 auto; }
.top3 li {flex: 1 1 270px; text-align: center; padding: 0 15px 1rem; }
.top3 h3 {color: var(--color-c2); font-weight: 400 font-size: 1.375em; text-align: center; margin: 10px auto 0; }
.top3 li p {font-size: 16px; }


@media screen and (max-width: 900px) {
	/* top1 */
	.top1 .flex {flex-direction: column-reverse; justify-content: center; }
	.top1 .logo {width: 70%;max-width: 320px; ; }
	.top1 li {font-size: 1.25rem; line-height: 1.6; }
	.top1 li span {font-weight: 400; font-size: 1.1em; }	
	/* top2 */
	.top2 {font-size: 1.2rem; }
	.top2 .inner-cont {position: static; overflow: hidden; }
	.top2 .h100-inner {width: 100%; }
	.top2 h2 {color: var(--color-c2); }
	.top2 .top2svg {left: 0; width: 100%; }
}
@media screen and (max-width: 900px), (max-height: 700px) {
	/* top3 */
	.top3 .inner {margin-bottom: 1.5rem; }
	.top3 li img {max-width: 140px; }
}
@media screen and (max-width: 700px) {
	/* top1 */
	.top1 li {font-size: 1.1rem; line-height: 1.6; }
	/* top3 */
	.top3 .inner {margin-bottom: 1.5rem; }
	.top3 .h3in {width: 100%; max-width: 600px; flex-wrap: wrap; justify-content: space-between; margin: 0 auto; }
	.top3 li {flex: 0 0 45%; position: relative; z-index: -1; cursor: pointer; padding: 0 10px 0.8rem; margin: 0;}
	.top3 h3 {font-size: 1.1rem; margin-top: 0; }
	.top3 li img {max-width: 110px; }
	.top3 li p {
		display: inline-block; position: absolute; top: -20px; left: 0; right: 0; margin: 0 auto;
		width: 80%; min-width: 150px; padding: 20px 10px; 
		background: rgba(255,255,255,.8); border-radius: 25% 60% 30% 50% / 40% 30% 50% 20%;
		opacity: 0; transition: opacity 1.3s; z-index: 100000; box-shadow: 3px 2px 8px rgba(0,0,0,.25); }
	.top3 li:hover p {opacity: 1; }

}
@media screen and (max-width: 400px) {
	.top3 .inner {margin-bottom: 0.5rem; }
}

