@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=======================
===================================*/
#display1,#display2,#display3{
	width: 100%;
    background-color: #efecec;
	}
#display1 a{
	background-color: #ebadb8;
	}
#display1 a:hover{
	background-color: #f5d6db;
	}
#display1 p{
	background-color: #add6eb;
	height: 50px;
	}

#display2 .inlineblock-item{
	width: 140px;
	text-align: center;
	padding: 20px 0;
	}
#display2 .inlineblock-item:nth-of-type(odd){
	background-color: #ebadb8;
	}
#display2 .inlineblock-item:nth-of-type(even){
	background-color: #add6eb;
	}
#display3 .flex-item{
	width: 150px;
	text-align: center;
	padding: 20px 0;
	}
#display3 .flex-item:nth-of-type(odd),
nav ul li:nth-of-type(odd){
	background-color: #ebadb8;
	}
#display3 .flex-item:nth-of-type(even),
nav ul li:nth-of-type(even){
	background-color: #add6eb;
	}
nav {margin-bottom: 1em;}
/*練習の答え==========================
===================================*/
/*****#display1*****/
#display1 a{
	/*display: block;*/
	/*height: 50px;*/
	}
#display1 a:hover{
	}
#display1 p{
	/*display: inline;*/
	}
/*****#display2*****/
#display2{
	/*font-size: 0;*/
	}
#display2 .inlineblock-item{
	/*font-size: 1rem;*/
	}
#display2 .inlineblock-item{
	/*display: inline-block;*/
	}
/*****#display3*****/
#display3{
	/*display: flex;*/
	/*flex-wrap: wrap;*/
	/*justify-content: space-between;*/
	}
/*****#display4*****/
nav{
	}
nav ul{
	/*width: 100%;*/
	}
nav ul li{
	/*display: inline-block;*/
	/*width: 20%;*/
	/*text-align: center;*/
	}
nav ul li a{
	/*display: block;*/
	/*padding: 20px;*/
	/*width: 20%;*/
	}
