@charset "UTF-8";
/* CSS Document */

/*Reset==============================
===================================*/
/* display以外のすべてのUAスタイルを削除 */
*:where(:not(iframe, canvas, img, svg, video):not(svg *)){
    all: unset;
    display: revert;
}

/* box-sizingの優先値 */
*,
*::before,
*::after{
    box-sizing: border-box;
}

/* リストのスタイル（箇条書き・番号）を削除します */
ol, ul {
    list-style: none;
}

/* 画像がコンテナを超えないようにするため */
img {
    max-width: 100%;
}

/* テーブルのセル間のスペースを削除します */
table{
    border-collapse: collapse;
}

/*===================================
========================= Reset END*/

/*Clearfix===========================
===================================*/
.clearfix:after{
	content: "";
	display: block;
	clear: both;
	}
/*===================================
====================== Clearfix END*/


/*common=共通=========================
===================================*/
html{background-color: aliceblue;}
body{
	width: 800px;
	background-color: #fff;
	margin: 0 auto;
	padding: 50px;
	font-family: sans-serif;
	color: #000;
	}
header{
	width: 100%;
	margin-bottom: 70px;
	}
header h1 {
	text-align: center;
	font-size: 2rem;
	line-height: 60px;
	height: 60px;
	margin: 0 50px 50px;
	padding: 0 2rem;
	background: #f0758a;
	position: relative;
	}
header h1:before,header h1:after {
	position: absolute;
	top: 0;
	display: block;
	height: 48px;
	content: '';
	border: 30px solid #f0758a;
	}
header h1:before {
	border-left-width: 15px;
	border-left-color: transparent;
	left: -40px;
	}
header h1:after {
	border-right-width: 15px;
	border-right-color: transparent;
	right: -40px;
	}
header h1 span {
	position: relative;
	display: block;
	}

header p{
	margin: 0 30px 30px;
	}

div.unit{
	margin-bottom: 50px;
	}
.unit h2 {
	font-size: 1.5rem;
	position: relative;
	padding: 0px 10px 5px;
	margin-bottom: 30px;
	}
.unit h2:after {
	content: "";
	width: 100%;
	height: 5px;
	background: linear-gradient(110deg, #f0758a 0%,#91b1f3 100%);
	position: absolute;
	bottom: 0;
	left: 0;
	}

.unit dl{
	margin-top:30px;
	margin-left: 20px;
	}
.unit dl dd{
	margin-left: 40px;
	margin-bottom: 1em;
	text-indent: -16px;
	}

.unit p.point{
	margin: 0 20px 80px;
	border: 2px solid #F9ACAD;
	padding: 10px;
	}
pre{
	display: block;
	padding: 10px;
	background-color: #1F1010;
	border-radius: 5px;
	color:#fff;
	font-family: monospace;
	font-size: 1.2rem;
	white-space: pre;
	text-indent: 0;
	overflow-x: auto;
	margin-bottom: 1em;
	}
pre .codePink{color: #FF6091;}
a{text-decoration: underline;}
a:hover{color:#999;}
/*各ページのCSS=======================
===================================*/
#float1,#float2,#float3{
	width: 100%;
	background-color: #efecec;
	border: #333 2px solid;
	}
.pink{
	width: 150px;
	background-color: #ebadb8;
	}
.blue{
	width: 170px;
	background-color: #add6eb;
	}
.yellow{
	width: 350px;
	background-color: #e6ebad;
	}
.pink,.blue,.yellow{
	height: 100px;
	padding: 20px;
	opacity: 0.9;
}
.clear{
	background-color: #E28AF7;
	height:10px;
	}

/*練習の答え==========================
===================================*/
/*****#float1*****/
#float1 .pink{
	/*float:left;*/
	}
#float1 .blue{
	/*float:left;*/
	}
#float1 .yellow{
	/*float:left;*/
	}
#float1{
	/*overflow: hidden;*/
	}

/*****#float2*****/
#float2 .pink{
	/*float:right;*/
	}
#float2 .blue{
	/*float:right;*/
	}
#float2 .yellow{
	/*float:right;*/
	}
#float2 .clear{
	/*clear:both;*/
	}

/*****#float3*****/
#float3 .pink{
	/*float:left;*/
	}
#float3 .blue{
	/*float:right;*/
	}
#float3 .yellow{
	/*float:right;*/
	}
#float3:after{
	/*content: "";*/
	/*display: block;*/
	/*clear: both;*/
	}


/*#floatLayout*/
div.page{
	width: 500px;
	background-color: #dedede;
	}
div.page #header{
	width: 500px;
	height: 50px;
	background-color: #222;
	color:#fff;
	}
div.page #sidebar{
	width: 150px;
	height: 100px;
	background-color: #8F0404;
	color:#fff;
	/*float: left;*/
	}
div.page #main{
	width: 350px;
	height: 100px;
	background-color: #EE8249;
	color:#fff;
	/*float: right;*/
	}
div.page #footer{
	width: 500px;
	height: 50px;
	background-color: #222;
	color:#fff;
	/*clear: both;*/
	}