@charset "utf-8";

html {
	font-size: 62.5%;
	overflow-y: scroll;
}

body {
	font-size: 1.6rem;
	line-height: 1.75;
}

a {
	text-decoration: none;
	color: #ffffff;
}

a:hover {
	text-decoration: underline;
}

img {
	max-width: 100%;
	height: auto;
}

.wrapper {
	max-width: 960px;
	margin: 0 auto;
	background: #fffaf0;
}

.container {
	display: flex;
}

.clearfix::after {
	content: "";
	display: block;
	clear: both;
}

/* ヘッダー */

header {
	line-height: 1.2;
}

header h1 {
	margin: 1.5rem 0 0 2.0rem;
}

header h1 a {
	display: block;
}

header h1 a img {
	min-width: 6.7rem;
}

header .column {
	flex-direction: column-reverse;
	width: 100%;
}

header .column p {
	font-size: 4.6rem;
	font-weight: bold;
	margin-top: 0.4rem;
	margin-left: max(1.0rem, calc((100% - 41.4rem)/ 2 - 4.4rem));
}

header .column ul {
	background: #dc143c;
	width: 18em;
	margin: 0 0 0 auto;
	padding: 0 1.5rem 0 1.2rem;
}

header .column ul li + li:before {
	content: "｜";
	color: #ffffff;
}

header .column  ul li a{
	font-size: 1.4rem;
}

/* フッター */

footer {
	position: fixed;
	bottom: 0;
	width: 100%;
	text-align: center;
}

footer .wrapper {
	background: #dc143c;
}

footer .wrapper ul li {
	width: 20%;
}

footer .wrapper ul li a {
	display: block;
	font-size: 2.0rem;
	font-weight: bold;
	line-height: 2.5;
}

footer .wrapper ul li a:hover {
	background: #ff1493;
	text-decoration: none;
}

footer .wrapper p small {
	font-size: 1.4rem;
	line-height: 1.1111;
	color: #ffffff;
}

/* 画面サイズ540px以下の場合 */

@media (max-width: 540px) {

	.wrapper {
		max-width: 100%;
	}

	/* ヘッダー */
	
	header h1 {
		margin: 1.5rem 0 1.0rem 1.0rem;
	}
	
	header .column {
		flex-direction: column;
		margin-top: 2.5rem;
	}
	
	header .column p {
		font-size: 2.5rem;
		margin-left: max(1.0rem, calc((100% - 18.9rem)/ 2 - 3.8rem));
	}
	
	header .column ul {
		display: none;
	}

	/* フッター */
	
	footer .wrapper ul li a {
		font-size: 1.2rem;
		font-weight: bold;
	}
	
	footer .wrapper p small {
		font-size: 1.1rem;
		line-height: 1.8182;
	}
}
