@charset "utf-8";
/* 2026改修用 */

a:hover {
	text-decoration: none;
}

/*--------------------
kv
--------------------*/
.slideBox,.slideBox_sp {
  height: 420px;
  overflow: hidden;
  position: relative;
  background-color: #fff;
}

.item1 {
  opacity: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  left: 0;
  top: 0;
  /* 1枚あたり5秒×3枚 ＝ 全体で15秒のアニメーション周期 */
  -webkit-animation: anime 15s 0s infinite;
  animation: anime 15s 0s infinite;
}

.item1:nth-of-type(2) {
  -webkit-animation-delay: 5s;
  animation-delay: 5s;
}

.item1:nth-of-type(3) {
  -webkit-animation-delay: 10s;
  animation-delay: 10s;
}

/* アニメーション（15秒周期） */
@keyframes anime {
  0% {
    opacity: 0;
  }
  10% { /* 【変更】1.5秒かけてゆっくりフェードイン */
    opacity: 1;
  }
  23.33% { /* 3.5秒時点まで完全表示を維持 */
    opacity: 1;
  }
  33.33% { /* 【変更】5.0秒時点（1.5秒間かけて）ゆっくりフェードアウト */
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

@-webkit-keyframes anime {
  0% {
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  23.33% {
    opacity: 1;
  }
  33.33% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

.col-sm-12 {
  padding: 0;
  position: relative;
}

.col-sm-12 p {
  position: absolute;
  width: 480px;
  bottom: 10px;
  left: 8%;
  z-index: 10;
}

.col-sm-12 p img {
  width: 100%;
}

@media (min-width: 769px) {
  .slideBox_sp {
    display: none;
  }
}

@media (max-width: 767px) {
  .slideBox {
    display: none;
  }
  .slideBox_sp {
    height: 350px;
  }
  .col-sm-12 p {
    width: 75%;
    bottom: 1%;
    left: 3%;
  }
}
/*--------------------
message
--------------------*/
article h2 {
	font-weight: bold;
	font-size: 4rem;
}
article h2 span {
	display: block;
	font-size: 14px;
	font-weight: normal;
	padding-top: 0.7rem;
}
.message .txt p{
	font-size: 18px;
	line-height: 1.8;
	margin-bottom: 2.6rem;
}
@media (max-width: 450px) {
	article h2 {
    font-size: 3.3rem;
	}
	.message .txt p{
	font-size: 16px;
	}
}
/*--------------------
about
--------------------*/
.aboutInner h3 {
	font-weight: bold;
	margin: 1.6rem auto;
}
.aboutInner ul a{
	font-weight: normal;
	font-size: 15px;
	line-height: 1.7;
	display: block;
	padding: 1.8rem;
}
.aboutInner ul a {
    padding: 1.0rem;
} /*1列の場合*/
.aboutInner li:first-child {
	isolation: isolate;
	overflow: hidden;
	border-radius: 5px;
}
.aboutInner li img {
	
	width: 100%;
	height: auto;
  	transition: transform .6s ease; 
}
.aboutInner ul:hover {
	border-radius: 5px;
	box-shadow: 0 16px 20px -8px rgba(0, 0, 0, 0.2);
}
.aboutInner ul:hover img {
  	transform: scale(1.1);
}
.message h2,.about h2 {
	position: relative;
	z-index: 9;
}
.message h2:before,.about h2:before {
	content: "";
	background: rgba(89, 89, 89, .1);
	width: 120px;
	height: 120px;
	position: absolute;
	z-index: -1;
	top: -16px;
	left: -16px;
}
.message {
	justify-content: space-between;
}
@media (min-width: 768px) {
	.sp {
		display: none;
	}
	.message {
		display: flex;
		flex-wrap: wrap;
		padding: 6.8rem 0 6rem;
	}
	.message h2,.about h2 {
		padding-bottom: 10px;
		width: 55%;
	}
	.message h2:after,.about h2:after {
		content: "";
        background: #b4b4b4;
        height: 1px;
        width: 80%;
        position: absolute;
        margin-top: 10px;
		z-index: 3;
	}
	.message .txt {
		width: 44%;
	}
	.aboutInner {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		grid-template-rows: repeat(2, 1fr);
		gap: 4rem 6rem;
		margin: 3rem auto;
	} 
}

@media (max-width: 768px) {
	.pc {
		display: none;
	}
	.message .txt {
		margin-top: 5.5rem;
	}
	.aboutInner ul a {
		margin: 10% 2% 0;
    	padding: 1.05rem;
	}
}
