@charset "UTF-8";

/* 基本色 */
:root {
	--濃color: SteelBlue;
	--薄color: mintcream;
	--強color: PaleVioletRed;
	--注color: Red;
	--白color: White;
	--large-width: 1200px;
}


/* 基本設定： フォントサイズ */
@media (max-width: 599px) {
	:root {
		font-size: 14px;
	}
}

@media (min-width: 600px) and (max-width: 799px) {
	:root {
		font-size: 16px;
	}
}

@media (min-width: 800px) {
	:root {
		font-size: 18px;
	}
}

/* 基本設定： ページ全体 */

body {
	font-size: 16px;
	margin: 0;
	font-family: 'メイリオ', 'Hiragino Kaku Gothic Pro', 'Montserrat', sans-serif;
}

h2 {
	margin-top: 0;
	margin-bottom: 10px;
	font-size: 20px;
}

a{
  color: var(--濃color);
  display: inline-block;
	border:none;
	text-decoration: none;
	background: transparent
}

a:hover	{
	color:var(--強color);
}

.メニューボタン{
  color: var(--濃color);
  padding: 10px 30px;
  display: inline-block;
	border:none;
	text-decoration: none;
	background: transparent
}

.メニューボタン:hover	{
	color:var(--強color);
}
button {
	border-style: none;
	text-decoration: none;
	font-size: 15px;
	padding-top: 10px;
	margin-right: 0px;
  margin-left: 20px;
	margin-top: 10px;
	margin-bottom: 10px;
	height:40px;
	width:120px;
	color:var(--白color);
	background:var(--強color);
	border-radius: 10px;
}

button:hover {
	color:var(--強color);
	background:var(--白color);
	border:solid 1px var(--強color);
}


p {
	margin-top: 0;
	margin-bottom: 20px;
	font-size: 14px;
	line-height: 1.8;
	opacity: 0.8;
}

table {
  border-collapse: separate;
  border-spacing: 5px;
  margin: 0 auto;

}

th{
	padding: 10px;
  background: var(--濃color);
  color: var(--白color);
}
td{
	padding: 10px;
	background: var(--薄color);
	border:1px solid black;
}

.ボタン {
	width: 100%;
	display: flex;
	justify-content: center;
}
/*
.メニューボタン {
	border:0;
	background: transparent;
}
.メニューボタン:hover {
	border:0;
	background: transparent;
}*/
.小ボタン {
	display: inline-block;
	justify-content: center;
}

.エラー{
	color: var(--注color);
}

label{
	width:32%;
	display:inline-block;
}
textarea {
	box-sizing: border-box;
	width: 100%;
	height: 100%;
}

@media (min-width: 768px) {

	.conB .conC .conF h1 {
		font-size: 115px;
	}

	.conB .conC .conF p {
		font-size: 24px;
	}
}


/* コンテンツAとB： 概要（アイコン＋テキスト） */
.conB .container {
	padding-top: 20px;
	padding-bottom: 20px;
}

.conB .text {
	padding-left: 20px;
	padding-right: 20px;
	padding-bottom: 20px;
	text-align: center;
}

.conB .icon	{
	display: inline-block;
	margin-bottom: 20px;
	font-size: 40px;
	width: 2em;
	line-height: 2em;
	border-radius: 50%;
	text-align: center;
	background-color: var(--濃color);
	color: var(--白color);
}

@media (min-width: 768px) {
	.conB .container {
		display: flex;
		max-width: var(--large-width);
		margin-left: auto;
		margin-right: auto;
	}

	.conB .text	{
		flex: 1;
	}
}

/* コンテンツCとD： 概要（画像＋テキスト） */
.conC, .conD {
	background-color: var(--濃color);
	color: var(--白color);
}

.conC .text, .conD .text {
	padding: 20px;
}

.conC .photo {
	min-height: 200px;
	background-image: url(img/ノートパソコン.jpg);
	background-position: center;
	background-size: cover;
}

.conD .photo {
	min-height: 200px;
	background-image: url(img/鳥.png);
	background-position: center;
	background-size: cover;
}

@media (min-width: 768px) {
	.conC .container, .conD .container {
		display: flex;
		max-width: var(--large-width);
		margin-left: auto;
		margin-right: auto;
	}

	.conC .photo, .conD .photo {
		flex: 3;
	}

	.conC .text, .conD .text {
		flex: 2;
		padding: 50px;
	}
}



/* コンテンツEとF： 概要（画像＋テキスト：逆配置） */
.conE .container, .conF .container {
	padding-top: 2px;
}

.conE .text, .conF .text {
	padding: 20px;
}

.conE .photo {
	min-height: 200px;
	background-image: url(img/野菜.png);
	background-position: center;
	background-size: cover;
}

.conF .photo {
	min-height: 200px;
	background-image: url(img/鳥.png);
	background-position: center;
	background-size: cover;
}

@media (min-width: 768px) {
	.conE .container, .conF .container {
		display: flex;
		flex-direction: row-reverse;
		max-width: var(--large-width);
		margin-left: auto;
		margin-right: auto;
		padding-top: 40px;
		padding-bottom: 40px;
	}

	.conE .photo, .conF .photo {
		flex: 0 0 400px;
	}

	.conE .text, .conF .text {
		flex: 1;
		padding: 50px;
	}
}



/* フッター */
footer {
	color: var(--白color);
	color: var(--白color);
	background-color: var(--濃color);
}

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

@media (min-width: 768px) {
	footer .container {
		display: flex;
		flex-wrap: wrap;
		max-width: var(--large-width);
		margin-left: auto;
		margin-right: auto;
	}

	.footA {
		flex: 0 0 40%;
	}

	.footB {
		flex: 0 0 60%;
	}

	.footC {
		flex: 0 0 100%;
	}
}


/* フッターA： サイト情報 */
.footA {
	margin-bottom: 30px;
}

.footA h2 {
	margin-top: 0;
	margin-bottom: 10px;
	font-size: 30px;
	letter-spacing: 0.2em;
}

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

.footA a {
	color: inherit;
}


/* フッターB： フッターメニュー */
.footB div {
	margin-bottom: 20px;
}

.footB h3 {
	margin-top: 0;
	margin-bottom: 10px;
	border-bottom: solid 1px currentColor;
	font-size: 14px;
}

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

.footB a {
	display: block;
	padding: 5px;
	color: var(--白color);
	font-size: 12px;
}

.footB a:hover {
	color: var(--強color);
}


@media (min-width: 768px) {
	.footB {
		display: flex;
	}

	.footB div {
		flex: 1;
	}

	.footB div:not(:first-child) {
		margin-left: 40px;
	}
}


/* フッターC： コピーライト */
.footC {
	font-size: 12px;
	text-align: center;
}

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

.nohero header {
	position: static;
	border-bottom: solid 1px var(--濃color);
}

/* ヘッダーA: サイト名 */
.ヘッド_ロゴ {
	display: inline-block;
	line-height: 70px;
	padding-left: 20px;
	padding-right: 20px;
	background-color: var(--濃color);
	color: var(--白color);
	font-size: 24px;
}


/* ヘッダーB： ナビゲーションメニュー */
.ヘッド_画面大 ul {
	margin: 0;
	padding: 0;
	list-style: none;
}


@media (min-width: 768px) {
	header .container {
		display: flex;
		align-items: center;
		justify-content: space-between;
		max-width: var(--large-width);
		margin-left: auto;
		margin-right: auto;
	}

	.ヘッド_画面大 ul {
		display: flex;
	}
}


/* ヘッダーC： トグルボタン */

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

	.ヘッド_画面小 {
		color: var(--濃color);
		margin-right: 10px;
		padding: 0;
		border: none;
		outline: none;
		background: none;
		font-size: 28px;
	}

	.ヘッド_画面小:hover {
		color: var(--強color);
	}

	.ヘッド_画面大 {
		display: none;
	}
}

@media (min-width: 768px) {
	/* 大きい画面用の設定 */
	.ヘッド_画面小 {
		display: none;
	}

	.ヘッド_画面大 {
		display: block !important;
	}
}



/* コンテンツページ: 記事 */
.post .container {
	max-width: var(--large-width);
	margin-left: auto;
	margin-right: auto;
	padding: 30px 10px;
}

.post h1 {
	padding-left: 0.5rem;
	border-left: solid 0.75rem var(--強color);
	font-size: 2rem;
}

.post p {
	font-size: 1rem;
	line-height: 2;
}

.post img {
	max-width: 100%;
}


/* お問い合わせページ: 問い合わせ先 */
.contact {
	margin-top: 20px;
	margin-bottom: 20px;
	padding: 20px;
	border: solid 1px var(--濃color);
	text-align: center;
}

.contact span	{
	display: inline-block;
	margin-bottom: 20px;
	font-size: 2.2rem;
	width: 2em;
	line-height: 2em;
	border-radius: 50%;
	text-align: center;
	background-color: var(--濃color);
	color: var(--白color);
}

.contact h2 {
	margin-top: 0;
	font-size: 1.2rem;
}

.contact a {
	font-size: 1.4rem;
	color: inherit;
}

@media (min-width: 768px) {
	.contact-wrap {
		display: flex;
	}

	.contact {
		flex: 1;
	}
	.contact:first-child {
		margin-right: 20px;
	}
}

/* 記事一覧A */
.listA h1 {
	text-align: center;
}

.listA .container {
	display: flex;
	flex-wrap: wrap;
	max-width: var(--large-width);
}

.listA article {
	flex: 1 1 250px;
	display: flex;
}

.listA a {
	flex: 1;
	margin: 10px;
	display: block;
	border: solid 1px var(--濃color);
	color: inherit;
}

.listA a:hover {
	opacity: 0.8;
}

.listA .photo {
	min-height: 150px;
	background-position: center;
	background-size: cover;
}

.listA .text {
	margin: 10px;
}

.listA h2 {
	font-size: 18px;
}

.listA p {
	font-size: 14px;
	opacity: 0.8;
}

@media print{
	.印刷なし{
	display:none;
	}
	.改ページ {
		page-break-after: always;
	}
	td,th{
		color:black;
		border:1px solid black;
	}
}
