@charset "UTF-8";


/*slide
--------------------------------------*/

.slide {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
}
 
.slide img{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 350px;
  opacity: 0;
  animation :slideshow 40s linear infinite;
  object-fit: cover;
}
 
.slide img:nth-child(2){
  animation-delay: 8s;
}

.slide img:nth-child(3){
  animation-delay: 16s;
}

.slide img:nth-child(4){
  animation-delay: 24s;
}

.slide img:last-child{
  animation-delay: 32s;
}

@keyframes slideshow {
  0%{
    opacity: 0;
  }
  10%{
    opacity: 1;
  }
  15%{
    opacity: 1
  }
  25%{
    opacity: 0;
  }
  100%{
    opacity: 0;
  }
}

.slide-pc {
	display: none;
}

/*--topTitle--*/

.topTitle {
	font-family: 'Noto Serif JP', serif;
	font-size:clamp(1.125rem, 1.034rem + 0.45vw, 1.375rem);/*320pxの時18px,1200pxの時22px*/
	letter-spacing: 0.2em;
	color: #1C2C5C;
}

.text-name p {
	font-family: 'Noto Serif JP', serif;
	font-size:clamp(0.75rem, 0.659rem + 0.45vw, 1rem);/*320pxの時12px,1200pxの時16px*/
	color: #1C2C5C;
	text-align: right;
	padding: 0 10%;
}

/*
.heading-name {
	display: flex;
	justify-content: center;
	align-items: center;
	font-family: 'Noto Serif JP', serif;
	font-size:clamp(0.75rem, 0.659rem + 0.45vw, 1rem);/*320pxの時12px,1200pxの時16px*/
	/*color: #1C2C5C;
}*/
/*
.heading-name::before,
.heading-name::after {
	content: '';
	width: 50px;
	height: 1px;
	background-color: #1C2C5C;
}

.heading-name::before {
	margin-right: 12px;
}

.heading-name::after {
	margin-left: 12px;
}
*/

.top-page {
	margin: 60px auto;
}

/*シンプルボタン*/

/*pc版
---------------*/

@media screen and (min-width: 420px) {
	.slide {
		display: none;
	}
	
	.slide-pc {
		display: block;
		position: relative;
  		width: 100%;
  		height: 45vw;
  		overflow: hidden;
	}
	
	.slide-pc img {
		position: absolute;
  		top: 50%;
  		left: 50%;
		transform: translate(-50%, -50%);
		width: 100vw;
		height: 100%;
		opacity: 0;
		animation :slideshow 40s linear infinite;
		object-fit: contain;
	}
	
.slide-pc img:nth-child(2){
  animation-delay: 8s;
}

.slide-pc img:nth-child(3){
  animation-delay: 16s;
}

.slide-pc img:nth-child(4){
  animation-delay: 24s;
}

.slide-pc img:last-child{
  animation-delay: 32s;
}

.text-name p {
	padding: 0 20%;
}
	
}

@media screen and (min-width: 900px) {

.slide-pc {
  		width: 100%;
}
	
.slide-pc img {
		object-fit: contain;
}
.titleBox {
		margin: 0 auto;
}

	
.text-name p {
	padding: 0 32%;
}
	
}


