@import url("menu.css");
.lightboxOverlay {
    background-color: rgba(255, 255, 255, 0.8) !important;
}
.lb-data .lb-caption{
color:#000;
}
#about-image {
	margin-top: 80px;
	padding: 0 20px;
	position: relative;
}
#about-image img {
  width: 100%;
  height: calc(50vh - 100px); /* 画面の高さいっぱい */
  object-fit: cover; /* 比率を保ったままトリミング */
  display: block;
  border-radius: 40px;
}
.about-midashi{
	display: block;
	margin:100px auto 70px;
}
.midashi-text{
	width: 900px;
	margin:0 auto;
}
#keyaki-about{

}
#keyaki-about h1{
	font-size:30px;
	color: #00B735;
	font-weight: bold;
	text-align: center;
	padding: 50px 0;
	background-image: 
    url('../image/about/top_line.svg'), 
    url('../image/about/bottom_line.svg');
    background-position: 
    top center, 
    bottom center;
    background-repeat: no-repeat;
    margin:70px 0 ;
}
.box3{
	width: 1200px;
	margin: 150px auto;
	display: flex;
	justify-content: space-between;
}
.box3 .about-box{
	width: 32%;
	background-color: #FFF9D6;
	border: dashed 1px #00A73C;
	border-radius: 10px;
	position: relative;
	padding: 30px;
	box-sizing: border-box;
}
.box3 .about-box h3{
	color: #00B735;
	font-weight: 700;
	text-align: center;
	font-size: 24px;
	margin: 50px 0 45px;
}
.box3 .about-box img{
	position: absolute;
	top: -60px;
	left: 50%;
    transform: translateX(-50%);
}
#welcome{

}
h3.underline{
	color: #FD3D39;
	font-size: 36px;
	text-align: center;
	font-weight: 700;
	background-image: url(../image/about/welcome_border.svg);
	background-repeat: no-repeat;
	background-position: center bottom;
	padding-bottom: 12px;
}
.reason-flex{
	display: flex;
	justify-content: space-between;
	margin: 50px auto 30px;
	width: 700px;
}
.reason-flex p{
	font-size: 20px;
	text-align: center;
	font-weight: bold;
}
.youji{
	padding: 30px;
	width: 500px;
	border:dashed 1px #979797;
	border-radius: 10px;
	margin: 0 auto;
	font-size: 18px;
	text-align: center;
	line-height: 3;
}
.welcome-text{
	text-align: center;
	font-size: 18px;
	margin: 30px 0;

}
.youji-ill{
	display: block;
	margin: 0 auto 70px;
}
.advice{
position: relative;
width: 1000px;
    margin: 0 auto;
    height: 390px;
}
.advice p{
	width: 600px;
	margin: 50px auto;
}
.advice1{
position: absolute;
top:-50px;
left:0;
}
.advice2{
position: absolute;
top: -50px;
right: 0;
}
#gallery{
text-align: center;
}
.gallery-contents{
	display: flex;
	margin: 50px auto;
	padding: 0 20px;
	gap: 20px;
	flex-wrap: wrap;
	justify-content: center;
}
.gallery-contents .pic{
width: calc(100% / 6 - 20px);
margin: 0 0 20px;
}
.gallery-contents .pic .pic-box{
	
}
.gallery-contents .pic .pic-box img{
	object-fit: cover;
	width: 100%;
	height: 180px;
	border-radius: 20px;
}
.gallery-contents .pic p{
display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2; /* ここで行数を指定 */
  overflow: hidden;
}
#voice{
	background-color: #FCF3F3;
	padding: 80px 0;

}
.voice-contents{
	width: 900px;
	margin: 50px auto;
}
.voice-box{
	display: flex;
	align-items: center;
	background-color: #fff;
	padding: 30px;
	border-radius: 10px;
	margin: 0 auto 20px;
}
.voice-box img{
	margin: 0 30px;
}
.voice-text h4{
font-size: 20px;
font-weight: bold;
margin: 0 0 20px;
}
#flow{
	margin: 70px 0 150px;
}
.flow-contents{
	width: 800px;
    margin: 50px auto;
    display: flex;
    justify-content: space-between;
}
.flow-contents dl{
	display: flex;
	flex-wrap: wrap;
	font-weight: 700;
	font-size: 18px;
	line-height: 2.4;
	justify-content: center;
}
.flow-contents dt{
width: 30%;
}
.flow-contents dd{
width: 58%;
}
.contact-btn {
  display: inline-block;
  background-color: #6BAE20; /* 緑色（お好みで調整してください） */
  color: #fff;               /* 文字色は白 */
  padding: 15px 60px;        /* 上下と左右の余白 */
  text-decoration: none;     /* 下線を消す */
  border-radius: 999px;      /* 両端を丸くする */
  text-align: center;
  margin: 0 auto;
  font-size: 20px;
}
.button-container{
	text-align: center;
	margin: 0 0 30px;
}
.flow2{
	display: block;
    margin: 0 auto;
}
.tb-br{
	display: none;
}
@media (max-width: 820px) {
	.tb-br{
		display: block;
	}
	#about-image img{
		height: calc(30vh - 100px);
	}
	.midashi-text{
		width: 100%;
		padding: 0 20px;
		box-sizing: border-box;
	}
	.box3 ,.reason-flex,.advice,.voice-contents{
    width: 100%;
    padding: 0 20px;
}
.box3 .about-box h3{
	font-size: 20px;
}
.advice p {
    width: 390px;
}
.gallery-contents .pic {
    width: calc(100% / 4 - 20px);
}
}
@media (max-width: 768px) {
	.midashi-en{
		width: 380px;
	}
	#keyaki-about h1{
		font-size: 24px;
	}
	.box3{
		display: block;
	}
	.box3 .about-box{
		width: 100%;
		margin-bottom: 70px;
	}
	h3.underline{
		font-size: 24px;
	}
	.reason-flex{
		display: block;
		text-align: center;
		
	}
	.reason1{
		display: none;
	}
	.reason-flex p{
		margin-bottom: 20px;
	}
	.youji{
		width: 100%;
		font-size: 16px;
		font-weight: 700;
	}
	.p20{
		padding: 0 20px;
		box-sizing: border-box;
	}
	.welcome-text {
    font-size: 16px;
    padding: 0 20px;
}
.advice p.soudan{
	width: 100%;
	text-align: left;
}
.advice{
	height: auto;
	text-align: center;
}
.advice1,.advice2{
	position: relative;
}
.gallery-contents {

    padding: 0px 20px;
    gap: 10px;

}
.gallery-contents .pic {
        width: calc(100% / 3 - 10px);
    }
.gallery-contents .pic .pic-box img{
	height: 120px;
	border-radius: 10px;
}
.gallery-contents .pic p{
	font-size: 14px;
}
.voice-box{
	display: block;
}
.voice-box img {
    margin: 0 auto 20px;
    display: block;
}
.flow-contents {
    width: 100%;
    display: block;
}
.flow-contents img{
	display: block;
	margin: 0 auto;
}
.flow-contents dl{
	font-size: 16px;
	margin: 20px 0;
}
.flow-contents dd {
    width: 60%;
}
.flow2{
	width: 120px;
}
#voice{
	padding: 80px 0 40px;
}
.about-midashi{
width:85%;
}
}