@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;
	}
header{
	width: 100%;
	margin-bottom: 70px;
	}
header h1 {
	text-align: center;
	font-size: 2rem;
	color: #fff;
	line-height: 60px;
	height: 60px;
	margin: 0 50px 50px;
	padding: 0 2rem;
	background: #fa4141;
	position: relative;
	}
header h1:before,header h1:after {
	position: absolute;
	top: 0;
	display: block;
	height: 48px;
	content: '';
	border: 30px solid #fa4141;
	}
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, rgba(250, 143, 191,1) 0%,rgba(138, 176, 250,1) 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;
	}
pre .codePink{color: #FF6091;}
a{text-decoration: underline;}
a:hover{color:#999;}
/*各ページのCSS=======================
===================================*/
.gray{color:#666;}

/*****#position1*****/
#position1 #block1{
	width: 500px;
	height:100px;
	background-color:#dedede;
	}
#position1 #relative1{
	width:250px;
	background-color:#EB4F69;
	padding:3px;
	/*position: relative;*/
	/*top: 20px;*/
	/*left: 20px;*/
	}
#position1 #absolute1{
	background-color:#16A6EB;
	width:250px;
	padding:3px;
	/*position: absolute;*/
	/*top: 10px;*/
	/*right: 10px;*/
}
/*****#position2*****/
#position2 #block2{
	width: 500px;
	height:200px;
	background-color:#dedede;
	/*position: relative;*/
	}
#position2 #relative2{
	width:250px;
	background-color:#EB4F69;
	padding:3px;
	/*position: relative;*/
	/*top: 30px;*/
	/*left: 30px;*/
}
#position2 #absolute2{
	background-color:#16A6EB;
	width:250px;
	padding:3px;
	/*position: absolute;*/
	/*top: 20px;*/
	/*right: 20px;*/
}

/*****#position3*****/
#position3 #block3{
	width: 500px;
	height:200px;
	background-color:#A7A7A7;
	}
#position3 #absolute3{
	background-color:#16A6EB;
	width:250px;
	/*position: absolute;*/
	/*top: 30px;*/
	/*right: 30px;*/
	}
#position3 #fixed3{
	background-color:#F8EE11;
	width:250px;
	padding:3px;
	/*position: fixed;*/
	/*top: 50px;*/
	/*right: 0px;*/
}
/*****#position4*****/
#position4 #block4{
	width:100%;
	height:200px;
	background-color:#dedede;
	/*position: fixed;*/
	/*bottom: 0;*/
	/*left: 0;*/
}
#position4 #absolute4-1{
	background-color:#16A6EB;
	width:250px;
	/*position: absolute;*/
	/*top: 50px;*/
	/*left: 50px;*/
	/*z-index:1;*/
	}
#absolute4-2{
	background-color:#F8EE11;
	width:250px;
	/*position: absolute;*/
	/*top: 80px;*/
	/*left: 100px;*/
	/*z-index:2;*/
}

