@charset "utf-8";

/* トップイメージ */
.top-img{
	width: 100%;
	height: auto;
	display: block;
	margin: 0 auto 60px;
	padding:0 20px;
	position: relative;
}

.top-img img{
	width: 100%;
	height: auto;
	min-height: 300px;
	object-fit: cover;
	border-radius: 30px;
}

.page-title{
	width: 60px;
	height: 230px;
	bottom: -120px;
	left: 5%;
	background-image: url("../img/about/go_gr_texture_tate@2x.webp");
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	writing-mode: vertical-rl;
	color: #fff;
	align-content: center;
	vertical-align: middle;
	text-align: center;
	position: absolute;
}

/* ごあいさつ */
#greeting{
	width: 100%;
	height: auto;
	margin-bottom: 80px;
}

#greeting .box1{
	width: 100%;
	display: flex;
	justify-content: space-between;
	position: relative;
}

#greeting .box1 .greeting-text{
	width: 450px;
	height: auto;
	margin-left: 16%;
	}

#greeting .box1 .greeting-text h2{
	margin-bottom: 20px;
}

#greeting .box1 .greeting-text p{
	line-height: 1.8em;
}

#greeting .box1 .family-photo{
	width: 40%;
	max-width: 600px;
	overflow: hidden;
	margin-top: 100px;
}

#greeting .box1 .family-photo img{
	width: 100%;
	object-fit: cover;
	border-radius: 30px;
	margin-left: 30px;
}

#greeting .box1 .mikanillust02{
	width: 25%;
	max-width: 150px;
	display: block;
	position: absolute;
	bottom: 5%;
	right: 15%;
}

#greeting .box1 .mikanillust02 img{
	width: 100%;
	max-width: 150px;
	animation: swing 5s ease infinite;
}

@keyframes swing{
	0%{
		transform: rotate(0);
	}
	40%{
		transform: rotate(3deg);
	}
	60%{
		transform: rotate(0);
	}
	80%{
		transform: rotate(3deg);
	}
	100%{
		transform: rotate(0);
	}
}
	

#greeting .box2{
	width: 100%;
	display: flex;
	justify-content: space-between;
}

#greeting .box2 .aboutimg01{
	width: 20%;
	min-width: 200px;
	height: auto;
	margin-top: 5%;
	margin-left: 5%;
}

#greeting .box2 .aboutimg01 img{
	width: 100%;
	object-fit: cover;
	border-radius: 30px;
}

#greeting .box2 .mikanillust01{
	width: 30%;
	max-width: 250px;
	display: block;
	margin-right: 30%;
}

#greeting .box2 .mikanillust01 img{
	width: 100%;
	animation: swing 6s ease infinite;
}

#greeting .box3{
	width: 100%;
}

#greeting .box3 .aboutimg03{
	width: 40%;
	max-width: 500px;
	margin-left: 40%;
	margin-top: -150px;
}

#greeting .box3 .aboutimg03 img{
	width: 100%;
	object-fit: cover;
	border-radius: 30px;
}


/* 会社概要 */
#company-profile{
	background-image: url("../img/common/texture_arame01.jpg");
	background-repeat: repeat;
	padding: 60px 0;
	margin-bottom: 80px;
}

#company-profile .content{
	width: 100%;
	height: auto;
}

#company-profile .content .title{
	font-size: 20px;
	text-align: center;
	letter-spacing: 1em;
	margin-left: 20px;
	margin-bottom: 40px;
}

#company-profile .content .item-box{
	width: 100%;
	display: flex;
	border-bottom: solid 1px #443720;
	align-items: center;
}

#company-profile .content .item-box:first-child{
	border-top: solid 1px #443720;
}

#company-profile .content .item-box .item{
	width: 180px;
	padding: 20px;
	text-align-last: justify;
}

#company-profile .content .item-box .detail{
	width: 100%;
	padding: 20px 20px 20px 40px;
}

#company-profile .content .item-box .detail .email{
	height: 16px;
	margin-bottom: 4px;
}

/*--------------------------------------------------------------------
スマートフォン
--------------------------------------------------------------------*/
@media screen and (max-width: 767px){
	
/* トップイメージ */
.top-img{
	margin: 0 0 60px;
	padding: 0;
}

.top-img img{
	min-height: 250px;
	border-radius: 0px;
}

.page-title{
	width: 220px;
	height: 60px;
	bottom: -30px;
	left: 0;
	background-image: url("../img/about/go_gr_texture@2x.webp");
	writing-mode: horizontal-tb;
	vertical-align: middle;
}


/* ごあいさつ */
#greeting{
	margin-bottom: 60px;
	padding: 0 15px;
}

#greeting .box1{
	flex-direction: column;
	justify-content: flex-start;
	position: static;
}

#greeting .box1 .greeting-text{
	width: 100%;
	margin-left: 0;
	margin-bottom: 30px;
	}

#greeting .box1 .greeting-text h2{
	margin-bottom: 15px;
}

#greeting .box1 .greeting-text p{
	line-height: 1.5em;
	text-align: justify;
}

#greeting .box1 .family-photo{
	width: 100%;
	max-width: 100%;
	margin-top: 0px;
	margin-bottom: 20px;
}

#greeting .box1 .family-photo img{
	width: 85%;
	border-radius: 20px;
	margin-left: 15%;
}

#greeting .box1 .mikanillust02{
	width: 40%;
	position: static;
}

#greeting .box2 .aboutimg01{
	width: 40%;
	min-width: 145px;
	margin-top: 5%;
	margin-left: -40px;
}

#greeting .box2 .aboutimg01 img{
	border-radius: 20px;
}

#greeting .box2 .mikanillust01{
	width: 50%;
	margin-right: 0;
	margin-top: -5%;
}

#greeting .box3 .aboutimg03{
	width: 55%;
	margin-left: 45%;
	margin-top: -20%;
}

#greeting .box3 .aboutimg03 img{
	border-radius: 20px;
}


/* 会社概要 */
#company-profile{
	padding: 40px 0;
	margin-bottom: 60px;
}

#company-profile .content .title{
	font-size: 18px;
	margin-bottom: 30px;
}

#company-profile .content .item-box{
	flex-direction: column;
	text-align: center;
	padding: 20px;
}

#company-profile .content .item-box .item{
	width: 100%;
	padding: 0px;
	text-align-last: auto;
	margin-bottom: 15px;
	position: relative;
}
	
#company-profile .content .item-box .item::after{
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -5px;
    width: 50px;
    height: 3px;
    background-color: #443720;
}

#company-profile .content .item-box .detail{
	width: 100%;
	padding: 0px;
}

	
}