@charset "utf-8";
@import url("root.css");

/***************************************
---------------- ACCESS ----------------
***************************************/

.greeting,
.access_wrap,
.owner {
		justify-content: space-between;
		margin: 0 auto 60px;
		width: 100%;
		display: flex;
		flex-wrap: wrap;
		border: 2px solid var(--base-color01);
		background: #fff;
		padding: 5%;
}
.greeting_txt {
		width: 100%;
		p {
				text-align: justify;
				word-break: break-word;
		}
		.greeting_img {
				width: 50%;
				float: right;
				margin-left: 5%;
		}
		.greeting_img::before {
				content: "";
				clear: both;
		}
}
.owner_txt {
		width: 50%;
		text-align: justify;
}

.owner_img {
		width: 45%;
}
.owner_name {
		text-align: right;
		margin-top: 25px;
}


@media screen and (max-width: 768px) {
	.greeting_txt {
		width: 100%;
		.greeting_img {
			width: min(70%, 800px);
			float: none;
			margin: 0 auto 30px;
		}
	}
	.owner_txt {
		order: 2;
		width: 100%;
	}
	.owner_img {
		order: 1;
		width: min(70%, 800px);
		margin: 30px auto;
	}

}

/***************************************
---------------- ACCESS ----------------
***************************************/

#access .subtitle {
	width: 100%;
		margin: 0 auto 15px;
		color: var(--base-color01);
		font-size: 2.8rem;
		font-weight: bold;
		line-height: 1.0;
		padding: 5px 10px;
		border-left: 10px solid var(--base-color01);
		border-bottom: 2px solid var(--base-color01);
}
#access .access_wrap {
		align-items: stretch;
		counter-reset: list-number;
}
#access .access_box {
		width: 29%;
		display: flex;
		flex-wrap: wrap;
		align-items: flex-start;
		align-content: flex-start;
		position: relative;
}
#access .access_box:nth-of-type(1)::after,
#access .access_box:nth-of-type(2)::after,
#access .access_box:nth-of-type(4)::after,
#access .access_box:nth-of-type(5)::after {
		content: "";
		position: absolute;
		top: 40%;
		right: -20%;
		transform: translate(-50%, -50%);
		-webkit-transform: translate(-50%, -50%);
		-ms-transform: translate(-50%, -50%);
		width: 8%;
		height: 16%;
		background: url(../img/arrow_bl.svg) no-repeat;
		background-size: contain;
		background-position: center;
}
#access .access_txt {
		margin: 10px 0;
		color: var(--base-color01);
		display: flex;
		align-items: flex-start;
		text-align: justify;
}
#access .access_txt span {
		font-size: 1.6rem;
		width: calc(100% - 50px);
}
#access .access_txt::before {
		width: 40px;
		height: 40px;
		font-size: 2.4rem;
		font-weight: bold;
		line-height: 1.0;
		margin-right: 10px;
		padding: 5px;
		display: flex;
		align-items: center;
		justify-content: center;
		color: var(--base-color01);
		counter-increment: list-number;
		content: counter(list-number);
		background: #ffcc00;
}
@media screen and (max-width: 768px) {
		#access .subtitle {
				font-size: 2.7rem;
		}
		#access .access_box {
				width: 45%;
		}
		#access .access_box:nth-of-type(even)::after {
				content: none;
		}
		#access .access_box:nth-of-type(odd)::after {
				content: "";
				position: absolute;
				top: 40%;
				right: -20%;
				transform: translate(-50%, -50%);
				-webkit-transform: translate(-50%, -50%);
				-ms-transform: translate(-50%, -50%);
				width: 8%;
				height: 16%;
				background: url(../img/arrow_bl.svg) no-repeat;
				background-size: contain;
				background-position: center;
		}
}
@media screen and (max-width: 414px) {
		#access .access_box {
				width: 100%;
		}
		#access .access_box:nth-of-type(odd)::after {
				content: none;
		}
}








