@charset "utf-8";

#column_foot {
	width: 90%;
	margin: 5em auto 0;
	text-align: center;
	border-top: 3px double #f67170;

	p {
		width: 100%;
		text-align: left;
		margin: 1.5em auto;

		&.column_copy {
			text-align: center;
		}
	}

	nav.column_foot_nav {
		width: 80%;
		text-align: center;

		h5.column_foot_nav_title {
			width: 95%;
			margin: 3em auto 0;
			text-align: left;
			font-weight: bold;
			color: #f67170;
		}

		ul {
			width: 100%;
			text-align: left;
			margin-top: 1.5em;

			li {
				display: inline-block;
				width: 30%;

				a {
					display: block;
					width: 100%;
					padding: 0.8em 0;
					font-weight: bold;
					font-size: 14px;
					color: #5b91c8;
					text-decoration: none;

					&:hover {
						text-decoration: none;
						opacity: 0.8;
					}
				}
			}
		}
	}

	@media (max-width: 767px) {
		width: 100%;
		margin: 5em 0;

		p {
			width: 95%;
			margin: 1.5em auto;
		}

		nav.column_foot_nav {
			width: 98%;
			text-align: center;

			ul li {
				display: block;
				width: 100%;
				border-bottom: 1px solid #ccc;

				a {
					width: 95%;
					margin: 0 auto;
				}
			}
		}
	}
}

/* フッターナビの ul は、コアのリストブロックCSS（ol, ul { box-sizing: border-box }）が
   ページ内にリストブロックがある時だけ読み込まれる仕様に依存していた。
   リストブロックの無いページ（カテゴリページ等）で content-box になり 40px 横にはみ出したため、明示する */
#column_foot .column_foot_nav ul {
	box-sizing: border-box;
}
