@charset "UTF-8";

/* CSS Document */
:root {
  --font-family-en: 'Roboto', sans-serif;
  --font-family-en-2: 'Arial', sans-serif;
  --font-family-en-3: 'Oswald', sans-serif;
  --font-family-M: 'メイリオ', Meiryo, 'ヒラギノ角ゴシック', 'Hiragino Sans', sans-serif;
  --font-family-J: 'Noto Sans JP', sans-serif;
  --red: #F80000;
  --orange: #FF8000;
  --blue: #39A1DD;
  --black: #000;
}


/* ミディアムデバイス (タブレット) のスタイル */
@media (max-width: 1024px) {
	
	.header{
	width: 100%;
	height: 80px;	
	background: rgb(213,238,245);
    background: linear-gradient(180deg, rgba(213,238,245,1) 0%, rgba(255,255,255,1) 100%);
	position: relative;
	padding-top: 18px;	
	}
	
	h3{
	width: 100%;
	height: 44px;
	background:url("../images/h3_commentator.png") no-repeat center center;
	background-size: contain;
	}
	.contents {
		width: 400px;
        position: relative;	
        padding-bottom: 40px;
    }
	.commentator_wrap{
		width: 360px;
		margin: 0 auto;
		position: relative;
		height: 1300px;
	}
	.commentator_read{
		width: 360px;
		position: relative;
		height: 1300px;
		top: 0px;
		left:0px;
		z-index: 2;
	}
	.commentator_read#com02{
		margin-top: -1300px;
	}
	
	
	.commentator_read.active{
		z-index: 1;
	}



	.commentator_read .com_p, .commentator_read .com_r{
		position: relative;
		z-index: 2;
	}
	.commentator_read .com_p{
		width: 180px;
		height: 234px;
		background:url("../images/commentator_sp1.png") no-repeat center 20px #E8FBFF;
		background-size: 158px 195px;
		text-indent: -9999px;
		position: absolute;
		top: 0px;
		left: 0px;
		z-index: 2;

	}
	.commentator_read#com02 .com_p{
		width: 180px;
		height: 234px;
		background:url("../images/commentator_sp2.png") no-repeat center 20px #FFF3E5;
		background-size: 140px 202px;
		text-indent: -9999px;
		position: absolute;
		top: 0px;
		left: 180px;
	}
	.commentator_read .com_r{
		width: 100%;
		margin: 0 auto;
		font-size: 16px;
		line-height: 160%;
		font-weight: 500;
		display: none;
		position: relative;
		padding: 280px 20px 40px;
		z-index: 1;
	}
	.commentator_read.active .com_r{
		display: block;
		background: url("../images/commentator_san1_y.png") no-repeat 67px 234px #E8FBFF;
		background-size: 46px 30px;
	}
	
	.commentator_read#com02 .com_r{
		background: url("../images/commentator_san2_y.png") no-repeat 247px 234px #FFF3E5;
		background-size: 46px 30px;
	}
	
	.writer_s{
		display: none;
	}
	
	.active .writer_s{
		display: block;
		position: relative;
		width: 100%;
		text-align: right;
		z-index: 2;
		font-size: 15px;
		padding-right: 10px;
		padding-top: 10px;
		
	}
	


}

/* ラージデバイス (デスクトップ) のスタイル */
@media (min-width: 1025px) {
	.contents{
		width: 94.8%;
		padding-bottom: 40px;
	}
	
	.header{
	width: 100%;
	height: 110px;
	background: rgb(213,238,245);
    background: linear-gradient(180deg, rgba(213,238,245,1) 0%, rgba(255,255,255,1) 100%);
	position: relative;
	}
	
	h3{
	width: 100%;
	height: 110px;
	background:url("../images/h3_commentator.png") no-repeat center center;
	background-size: 323px 57px;
	}
	.commentator_wrap{
		width: 1440px;
		margin: 0 auto;
		position: relative;
	}
	.commentator_read{
		width: 700px;
		height: 1300px;
		float: left;
		background: #E8FBFF;
		position: relative;
	}
	.commentator_read#com02{
		background: #FFF3E5;
		margin-left: 40px;
	}
	
	.commentator_read .com_san{
		width: 200px;
		height: 260px;
		position: absolute;
		top: 0px;
		left: 0px;
		background:url("../images/commentator_san1.png") no-repeat left top / 100%;
		z-index: 1;
	}
	.commentator_read .com_san2{
		width: 84px;
		height: 109px;
		position: absolute;
		bottom: 0px;
		right: 0px;
		transform: rotate(180deg);
		background:url("../images/commentator_san1.png") no-repeat right bottom / 100%;
		z-index: 1;
	}
	.commentator_read#com02 .com_san{
		background:url("../images/commentator_san2.png") no-repeat left top / 100%;
	}
	.commentator_read#com02 .com_san2{
		transform: rotate(180deg);
		background:url("../images/commentator_san2.png") no-repeat right bottom / 100%;
	}
	.commentator_read .com_p, .commentator_read .com_r{
		position: relative;
		z-index: 2;
	}
	.commentator_read .com_p{
		width: 480px;
		height: 378px;
		margin: 30px auto;
		background:url("../images/commentator_p1.png") no-repeat center top / 100%;
		text-indent: -9999px;
	}
	.commentator_read#com02 .com_p{
		width: 558px;
		height: 378px;
		margin: 30px auto;
		background:url("../images/commentator_p2.png") no-repeat center top / 100%;
		text-indent: -9999px;
	}
	.commentator_read .com_r{
		width: 600px;
		margin: 30px auto;
		font-size: 18px;
		line-height: 160%;
		font-weight: 500;
	}
	.writer_s{
		position: absolute;
		bottom: 30px;
		width: 100%;
		text-align: right;
		z-index: 2;
		font-size: 16px;
		padding-right: 50px;
		
	}

}