@charset "UTF-8";

/**
 * 共通
 */
* {
	margin: 0px;
	padding: 0px;
	box-sizing: border-box;
}

html,
body,
.content {
    height: 100%;    
}
body {
	font-size: 16px;
    line-height: 22px;
	font-family: sans-serif;
}

ol {
    padding-left: 2em;
}
li {
    padding-left: 1em;
}

.mobile-only {
	display: none;
}

.content {
	display: flex;
	flex-direction: column;
	gap: 12px;

	padding-left: 24px;
	padding-right: 24px;
}

.block {
	display: flex;
	flex-direction: row;
	gap: 12px;
}

.box {
	display: flex;
	justify-content: center;
	align-items: center;

	color: #fff;
	background-color: #555;
	border-radius: 9px;
	box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.5);
}

/**
 * ヘッダー
 */
#header {
	flex-grow: 1;
	justify-content: space-between;
	padding: 8px 18px;

	background-image: url(assets/bak_header.png);
	background-size: cover;
	border-top-left-radius: 0;
	border-top-right-radius: 0;
	border: 3px solid #fff;
	border-top: none;
}

/* 左側タイトル */
#header .title .place,
#header .title .target {
	font-size: 17px;
	letter-spacing: 0.05em;
	font-weight: bold;
	text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.5);
}

#header .title .place {
	margin-right: 10px;
}

#header .title .target {
	margin-right: 10px;
	color: #ff0;
}

#header .title .description {
	font-size: 10px;
	color: #9ff;
	white-space: nowrap;
}

/**
 * コンテンツ
 */
#middle {
    flex: 1;    
}
#middle .caption {
    margin-bottom: 8px;
}

/**
 * フッター
 */
#footer {
	flex-grow: 1;
	display: flex;
	justify-content: space-between;
	padding: 8px 18px;
}

#footer small {
	flex-grow: 1;
	font-size: 11px;
	line-height: 15px;
}

#footer .address {
	flex-grow: 1;
	text-align: right;
}

/**
 * スマホ対応
 */
 @media (max-width: 510px) {

	/**
	 * 共通
	 */
	.content {
		padding-left: 12px;
		padding-right: 12px;
		width: 100%;
	}

	.pc-only {
		display: none;
	}

	.mobile-only {
		display: inherit;
	}

	/**
	 * ヘッダー
	 */
	#header .help {
		font-size: 2.75vw;
	}

	/**
	 * コンテンツ
	 */
	#contents {
		font-size: 4vw;
	}

	/**
	* フッター
	*/
	#footer {
		flex-direction: column;
		justify-content: flex-start;
	}

	#footer .address {
		padding-top: 8px;
		text-align: center;
	}
	#footer .address a {
		color: #ff0;
	}
}
