@charset "utf-8";

/*----------------------------------------
フッター
----------------------------------------*/
.footer {
	background: var(--color_light_gray);
}

.footer_logo {
	width: 100%;
}

.footer_info address {
	margin-top: 10px;
	font-size: 12px;
}

.footer_list li a {
	display: block;
	position: relative;
	padding: 5px 5px 5px 15px;
	font-size: 14px;
	text-decoration: underline;
}

.footer_list li a:before {
	display: block;
	content: '';
	position: absolute;
	top: 13px;
	left: 0;
	width: 6px;
	height: 6px;
	border-right: 1px solid #666;
	border-bottom: 1px solid #666;
	transform: rotate(-45deg);
}

@media screen and (min-width:768px){
	.footer {
		display: flex;
		align-items: center;
		padding: 60px 10%;
	}

	.footer_info {
		width: 240px;
	}

	.footer nav {
		flex: 1;
	}
	
	.footer_list {
		margin-left: 40px;
		display: flex;
		flex-wrap: wrap;
	}
	
	.footer_list li {
		margin-right: 1em;
	}
	
	.footer_list li a:hover {
		text-decoration: none;
		opacity: 0.7;
	}
}

@media screen and (max-width:767px){
	.footer {
		padding: 40px 20px;
	}

	.footer_info {
		margin-bottom:20px;
	}

	.footer_logo {
		width: 160px;
		max-width: 100%;
	}
}

/*----------------------------------------
コピーライト
----------------------------------------*/
.copy {
	padding: 10px;
	background: #000;
	font-size: 10px;
	color: #fff;
	text-align: center;
}

.copy a {
	color: #fff;
}

/*----------------------------------------
ページトップへ戻るボタン
----------------------------------------*/
.totop {
	position: fixed;
	bottom: 10px;
	right: 10px;
	display: none;
	z-index: 99;
}

.totop a {
	display: flex;
    justify-content: center;
    align-items: center;
	width: 50px;
	height: 50px;
	border-radius: 25px;
	background: rgba(var(--color_main_rgb),0.9);
	transition: all .3s;
}

.totop a:before {
	display: block;
	content: '';
	width: 10px;
	height: 10px;
	border-top: 2px solid #fff;
	border-right: 2px solid #fff;
	transform: rotate(-45deg);
}

@media (min-width:768px){
	.totop a:hover {
		background: rgba(var(--color_main_rgb),0.8);
	}
}

/*----------------------------------------
下部固定ボタン
----------------------------------------*/
.bottom_btn {
	position: fixed;
	left: 0;
	bottom: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 60px;
	background: rgba(var(--color_main_rgb),0.9);
	box-shadow: 0px -9px 6px -6px rgba(0,0,0,0.1);
	font-size: 14px;
	font-weight: bold;
	text-align: center;
	line-height: 1;
	z-index: 999999;
}

.bottom_btn,
.bottom_btn a {
	color: #fff;
}

.bottom_btn > div {
	margin-right: 20px;
}

.bottom_btn > div:last-of-type {
	margin-right: 0;
}

@media (min-width:768px){
	.bottom_btn_tel > a {
		display: none;
	}

	.bottom_btn .icon:before {
		display: inline-block;
		margin-right: 10px;
		padding: 5px 10px;
		border: 1px solid;
		border-radius: 100px;
		font-size: 12px;
		text-transform: uppercase;
	}

	.bottom_btn_mail .icon:before {
		content: "mail";
	}

	.bottom_btn_tel .icon:before {
		content: "tel";
	}

	.bottom_btn_mail a {
		text-decoration: underline;
	}

	.bottom_btn_mail a:hover {
		text-decoration: none;
	}
}

@media screen and (max-width:767px){
	.bottom_btn_message,
	.bottom_btn_tel > p {
		display: none;
	}

	.bottom_btn {
		padding: 0 10px;
	}

	.bottom_btn > div {
		width: 100%;
		margin-right: 10px;
	}

	.bottom_btn a {
		display: flex;
		justify-content: center;
		align-items: center;
		font-size: 10px;
		font-weight: normal;
		border: 1px solid;
		border-radius: 3px;
		height: 40px;
	}

	.bottom_btn .icon:before {
		content: "";
		display: block;
		width: 15px;
		height: 15px;
		margin: 0 auto 4px;
		background: #ccc;
	}

	.bottom_btn_mail .icon:before {
		background: url(../images/icon_mail_white.svg) center / contain no-repeat;
	}

	.bottom_btn_tel .icon:before {
		background: url(../images/icon_tel_white.svg) center / contain no-repeat;
	}
}

/*----------------------------------------
下部固定ボタン分の余白
----------------------------------------*/
.bottom_btn ~ .copy {
	margin-bottom: 60px;
}

.bottom_btn ~ .totop {
	bottom: 70px;
}


