@charset "utf-8";

/*トップのカバー画像
---------------------------------------------------------------------------*/
/*全体を囲むブロック*/
#coverimg {
	width: 100%;
    height: 35vh;/*スライダー全体の縦幅を画面の高さいっぱい（100vh）にする*/
	padding: 0;
	position: relative;
	top: 80px;	/*headerのheightの数値と合わせて下さい。*/
	overflow: hidden;
	background: url(../images/okmark.jpg) no-repeat center center / 100%;	/*背景色、背景画像の読み込み、最後の100%は画像幅。*/
	color: #fff;	/*文字色*/
}

/*テキストブロック*/
#coverimg #text {
	width: 100%;	/*幅*/
	height: 100%;	/*高さ*/
}

#coverimg h2 {
  	position: absolute;
  	top: 50%;
  	left: 50%;
  	transform: translate(-50%, -50%);
	text-align: center;	
	
	line-height: 1.5;		/*行間を少し狭く*/
	font-size: 3em;			/*文字サイズ。3倍。*/
	letter-spacing: 0.2em;	/*文字間隔を少しだけ広くとる設定*/
	color: #002776;			/*文字色*/
	font-family: 'Lato';	/*GoogleFontsの指定*/
	font-weight: 400;		/*文字の太さ*/
}

/*h2内のsupanタグ。小文字部分です。*/
#coverimg h2 span {
	display: block;
	font-weight: normal;
	color: #777;		/*文字色*/
	font-size: 13px;	/*文字サイズ*/
}




/*2カラムブロック（※900px未満では１カラム）
---------------------------------------------------------------------------*/
/*２カラムを囲むブロック*/
.c2d {
	margin: 50px auto;
	display: flex;			/*flexボックスを使う指定*/
	flex-direction: column;	/*子要素を縦並びにする*/
}

/*c2内のh2見出し*/
.c2d h2 {
	font-size: 2em;
}

/*小さい端末で見た場合（１カラムになった際）に、画像を常に先頭に持ってくる*/
.c2d .image {
	order: -1;
}

.c2d img {
	border-radius: 20px;	/*角を丸くする指定。左上、右上、右下、左下への順番。*/
}

.prof {
	margin-left:5%;
	margin-bottom:10px;


}

.qs {
	font-size:0.8em;
}

.qm {
	font-size:1.2em;
}

/*---------------------------------------------------------------------------
ここから下は画面幅400px以下の追加指定
---------------------------------------------------------------------------*/
@media screen and (max-width:400px) {



}



/*---------------------------------------------------------------------------
ここから下は画面幅900px以上の追加指定
---------------------------------------------------------------------------*/
@media screen and (min-width:900px) {

/*トップのカバー画像
---------------------------------------------------------------------------*/
/*テキストブロック*/
#coverimg #text {
	width: 50%;		/*幅*/
}

/*2カラムブロック
---------------------------------------------------------------------------*/
/*２カラムを囲むブロック*/
.c2d {
	margin: 100px auto;

	flex-direction: row;			/*子要素を横並びにする*/
	justify-content: space-between;	/*並びかたの種類の指定*/
	align-items: center;			/*垂直揃えの指定。天地中央に配置されるように。*/
	
	margin-left: -6%;
	margin-right: -6%;
}
/*画像ブロック*/
.c2d .image {
	width: 40%;
}

/*テキストブロック*/
.c2d .text {
	width: 60%;
	padding: 20px 2%;
	
	background: #FFE4CA;	/*背景色*/
	border-radius: 40px;
}

/*最初(左)に配置*/
.c2d .l {
	order: -1;
}

/*画像を右側に配置する場合の設定*/
.c2d .image.r {
	overflow: hidden;
	margin-left: 5%;
}



/*画像を左側に配置する場合の設定*/
.c2d .image.l {
	overflow: hidden;
	margin-left: 5%;
}




}
