@charset "UTF-8";

/* 基本色 */
:root {
	--main-color: #451722;
	--accent-color: #009600;
	--p-color: #ffffe0;
	--table-color: #eee8aa;
	--table-accent-color: #e0ffff;
}

/* 基本設定： ページ全体 */
body {
	margin: 0;
	font-family: sans-serif;
}

/* コンテンツA: ヒーローイメージ */
.conA {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 40vh;
	min-height: 200px;
	background-image: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.6)), url(../img/heroimage.jpg);
	background-position: center;
	background-size: cover;
	color: #fff;
	text-align: center;
}

.conA p {
	margin-top: 0px;
	margin-bottom: 10px;
	padding-top: 20px;
	font-family: serif;
	font-size: 18px;
	font-weight: bold;
}

.conA h1 {
	margin-top: 0;
	margin-bottom: 10px;
	font-family: serif;
	font-size: 10vw;
	letter-spacing: 0.1em;
}

.conA h2 {
	margin-top: 0;
	margin-bottom: 10px;
	font-family: serif;
	font-size: 8w;
}

.conB .text {
	margin-top: 10px;
	margin-bottom: 10px;
	margin-left: 10px;
	margin-right: 10px;
	padding-top: 5px;
	padding-bottom: 10px;
	background-color: var(--p-color);
	border-radius: 10px;
}

.conB .text h2 {
	margin-left: 10px;
	margin-right: 10px;
}

.conB .text p {
	margin-left: 10px;
	margin-right: 10px;
}

.conB a {
	color: #000;
}


/* コンテンツ */
.conC .text {
	margin-top: 10px;
	margin-bottom: 10px;
	margin-left: 10px;
	margin-right: 10px;
	padding-top: 5px;
	padding-bottom: 10px;
	background-color: var(--p-color);
	border-radius: 10px;
}

.conC .text h2 {
	margin-left: 10px;
	margin-right: 10px;
}

.conC .text p {
	margin-left: 10px;
	margin-right: 10px;
}

/* 問い合わせ */
.contact {
	margin-top: 10px;
	margin-bottom: 10px;
	margin-right: 5px;
	margin-left: 5px;
	padding: 0px;
	border: solid 1px #ddd;
	text-align: left;
}

.contact a {
	font-size: 20px;
	color: inherit;
	line-height: 20px;
	text-decoration: none;
	text-align: center;
}

#mail {
	font-size: 28px;
	color: var(--accent-color);
}


/* ヘッダー */
header {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 100;
	width: 100%;
	background-color: var(--main-color);
}

.nohero header {
	position: static;
}

.headA ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.headA a {
	display: block;
	padding: 5px;
	color: #fff;
	font-size: 16px;
	font-weight: bold;
	font-family: sans-serif;
	text-decoration: none;
	letter-spacing: 0.2em;
}

.headA a:hover {
	background-color: rgba(255,255,255,0.3);
}

/* フッター */
footer {
	color: #fff;
	background-color: var(--main-color);
}

footer .container {
	padding: 20px 20px;
}

/* フッターA: サイト情報 */
.footA h2 {
	margin-top: 0;
	margin-bottom: 0px;
	font-family: sans-serif;
	font-size: 20px;
}

.footA p {
	margin-top: 10px;
	margin-bottom: 0px;
	font-size: 14px;
}

.footA a {
	color: inherit;
	text-decoration: none;
}

.footA a:hover {
	background-color: rgba(256,256,256,0.3);
}

/* フッターB: SNSメニュー */
.footB {
	margin-top: 10px;
}

.footB ul {
	display: flex;
	margin: 0;
	padding: 0;
	list-style: none;
}

.footB a {
	display: block;
	margin-right: 8px;
	padding: 5px;
	color: inherit;
	font-size: 16px;
	text-decoration: none;
	border: solid 1px currentColor;
	width: 2em;
	line-height: 2em;
	border-radius: 50%;
	text-align: center;
}

.footB a:hover {
	background-color: rgba(256,256,256,0.3);
}

/* ヘッダー表示方法の設定 */
.head-fixed,
.nohero .head-fixed {
	position: fixed;
}

.nohero .head-fixed + * {
	margin-top: 50px;
}

.nopadding .head-fixed + * {
	margin-top: 32px;
}

/* フッターC: コピーライト */
.footC {
	color: inherit;
	padding-top: 20px;
	font-size: 12px;
	text-align: center;
	font-family: sans-serif;
}

/* プロフィール */
.profile .text {
	padding-top: 5px;
	padding-bottom: 10px;
	background-color: var(--p-color);
}

.profile .text h2 {
	margin-left: 10px;
	margin-right: 10px;
}

.profile .text p {
	margin-left: 10px;
	margin-right: 10px;
}

.profile .photo {
	min-height: 300px;
	background-image: url(../img/for_hp.jpeg);
	background-position: center;
	background-size: cover;
}

/* works */
.works .text {
	margin-top: 10px;
	margin-bottom: 10px;
	margin-left: 10px;
	margin-right: 10px;
	padding-top: 5px;
	padding-bottom: 10px;
	background-color: var(--p-color);
	border-radius: 10px;
}

.works .text h2 {
	margin-left: 10px;
	margin-right: 10px;
}

.works .text p {
	margin-left: 10px;
	margin-right: 10px;
}

/* works テーブル設定 */
.conD {
	margin-top: 10px;
	margin-bottom: 10px;
	margin-left: 10px;
	margin-right: 10px;
	padding-top: 5px;
	padding-bottom: 20px;
	background-color: var(--p-color);
	border-radius: 10px;
}

.conD h2 {
	margin-left: 10px;
	margin-right: 10px;
}

.conD p {
	margin-left: 10px;
	margin-right: 10px;
}

.conD table {
	font-size: 0.6rem;
	margin-left: 10px;
	border-collapse: collapse;
	border: solid 1px #ddd;
}

.conD th,
.conD td {
	border-bottom: solid 1px #ddd;
}

.conD th {
	padding-right: 1rem;
	text-align: left;
	word-break: keep-all;
	background-color: #ddd;
}

.conD h4 {
	margin: 0px;
	padding: 0px;
}

.conD a {
	color: #000;
}

#table_works_1 td,
#table_works_2 td,
#table_works_3 td,
#table_works_4 td {
	background-color: var(--table-accent-color);
}

#table_works_1 tr.odd td,
#table_works_2 tr.odd td,
#table_works_3 tr.odd td,
#table_works_4 tr.odd td {
	background-color: var(--table-color);
}

#table_works_1 div.arrow,
#table_works_2 div.arrow,
#table_works_3 div.arrow,
#table_works_4 div.arrow {
	background: transparent url(../img/arrows.png) no-repeat scroll 0px -16px;
	width: 16px;
	height: 16px;
	display: block;
}

#table_works_1 div.up,
#table_works_2 div.up,
#table_works_3 div.up,
#table_works_4 div.up {
	background-position: 0px 0px;
}

#table_works_1 ul,
#table_works_2 ul,
#table_works_3 ul,
#table_works_4 ul {
	margin-top: 0;
	margin-bottom: 0;
	padding-left: 16px;
	list-style: none;
}

#table_works_1 ul li,
#table_works_2 ul li,
#table_works_3 ul li,
#table_works_4 ul li {
	padding-left: 5px;
}

@media (min-width: 768px) {
	/* 大きい画面用の設定 */
	.conA p {
		margin-top: 0;
		margin-bottom: 10px;
		font-family: serif;
		font-size: 24px;
	}

	.conA h1 {
		margin-top: 0;
		margin-bottom: 10px;
		font-family: serif;
		font-size: 48px;
	}

	.conA h2 {
		margin-top: 0;
		margin-bottom: 10px;
		font-family: serif;
		font-size: 36px;
	}

	header .container {
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.headA ul {
		display: flex;
	}

	.headA {
		display: block !important;
	}

	/* bars トグルボタン */
	.bars {
		display: none;
	}

	footer .container {
		display: flex;
		flex-wrap: wrap;
	}

	.footA {
		flex: 0 0 60%;
	}

	.footB {
		flex: 0 0 40%;
	}

	.footC {
		flex: 0 0 100%;
	}

}

@media (max-width: 767px) {
	/* 小さい画面用の設定 */
	header .container-small {
		display: flex;
		align-items: center;
		justify-content: flex-end;
	}

	.bars {
		margin-top: 5px;
		margin-bottom: 5px;
		margin-right: 10px;
		border: none;
		outline: none;
		font-size: 28px;
		/* opacity: 0.5; */
		color: #999;
		cursor: pointer;
		border-radius: 5px;
	}

	.headA {
		display: none;
	}

}


/* プロフィール */
@media (min-width: 768px) {
	.profile .container {
		display: flex;
		width: 100%;
		max-width: none;
		margin: 0;
	}

	.profile .photo {
		flex: 6;
	}

	.profile .text {
		flex: 7;
		padding: 50px;
	}
}
