@charset "utf-8";
/* Vueの準備ができるまで、画面を表示させない指定 */
[v-cloak] {
  display: none !important;
}
html {
  overflow-y: scroll; /* コンテンツが短くても、常に右側にスクロールバーを出しておく */
}

#pcTopMenu ul li:nth-child(3) {
	border-bottom: 2px red solid;
}
#pcTopMenu ul li:nth-child(3) a {
	cursor: default;
}
#pcTopMenu ul li:nth-child(1) a:hover,
#pcTopMenu ul li:nth-child(2) a:hover {
	color: red;
}
h2 {/*上書き*/
	margin-bottom: 12px;
}
#navIchiran {
	display: none;
}
#navIchiranView {
	display: none;
}
#pcTitle {
	display: block;
}
#mobileTitle {
	display: none;
}

/* Menu ------------------------- */
#category {
	display: flex;
	flex-flow: row wrap;
	width: 96%;
	position: relative;
	border-top: 4px #1d6ca4 solid;
	border-bottom: 4px #1d6ca4 solid;
	margin: auto;
}
#category a {
	display: block;
	flex: 1;
	height: 40px;
	padding-top: 7px;
	text-align: center;
	text-decoration: none;
	color: #1d6ca4;;
	font-size: 12pt;
	background-color: #fff;
	border-right: 1px #5796e3 solid;
}
#category a:nth-child(4) {
	border-right-color: #fff;
}
#category a:hover {
	color:  #c6342e;
}
/* 追従する下線 */
/* #category a に hover したときの、隣接要素である #moveLine に適用 */
#category a:nth-child(1):hover ~ #moveLine { left: 0%; }
#category a:nth-child(2):hover ~ #moveLine { left: 25%; }
#category a:nth-child(3):hover ~ #moveLine { left: 50%; }
#category a:nth-child(4):hover ~ #moveLine { left: 75%; }
/* --- Vueの選択状態に応じて初期位置を固定する設定 --- */
#moveLine.js     { left: 0%; }
#moveLine.php    { left: 25%; }
#moveLine.java   { left: 50%; }
#moveLine.kotlin { left: 75%; }

#moveLine {
	width: 25%;
	height: 4px;
	top: 40px;
	left: 0px;
	background-color: #c6342e;
	position: absolute;
	transition: left 0.4s ease-in-out;	/* アニメーションの動き */
}
/* 追従する下線の三角をbeforeで追加 */
#moveLine:before {
	content: "";
	position: absolute;
	width: 0px;		/* ボックスの形状は必要無いので、height, widthに「0」を指定 */
	height: 0px;
	left: 50%;
	top: -8px;
	transform: translateX(-50%);
	border: 4px transparent solid;	/* 背景を透過(transparent)で */
	border-bottom-color: #c6342e;		/* 表示する三角部分に背景色指定 */
}

/* Contents ------------ */
#contents {
	width: 96%;
	display: table;
	table-layout: fixed;
	margin-top: 10px;
	margin-left: auto;
	margin-right: auto;
	padding-bottom: 20px;
}

/* rightContents ------------ */
#rightContents {
	width: 25%;
	display: table-cell;
	background-color: #f5fdff;
}
h5 {	/*programming study内の言語名*/
	margin: 20px 15px 10px 15px;
	padding: 3px 0;
	text-align: center;
	background-color: rgba(255, 255, 204, 0.2);
	background-repeat: no-repeat;
	background-position: 15px 3px;
	background-size: auto 85%;
	color:  #4785a9;
	border-top: 3px solid #307fa2;
	border-bottom: 2px solid #307fa2;
}
#kotlin {
	background-image: url("/programming/image/icon/kotlin-original.svg");
}
#js {
	background-image: url("/programming/image/icon/javascript-original.svg");
}
#java {
	background-image: url("/programming/image/icon/java-original.svg");
}
#php {
	background-image: url("/programming/image/icon/php-original.svg");
}
.submenu {
	padding-left: 33px;
	font-size: 11px;
}
.submenu li {
	margin-right: 15px;
	margin-bottom: 3px;
	list-style-type: square;
	list-style-position: outside;
	color: darkgreen;
}
.submenu a {
	color: #1d8ec8;
	text-decoration: none;
	font-size: 11px;
}
.submenu a:hover {
	color: #121212;
}
#currentStudy {	/* 選択されているliの文字色 */
	color: red;
}

/* leftContens */
#leftContents {
	width: 75%;
	padding-bottom: 70px;
	display: table-cell;
	background-color: #f5fdff;
	border-right: 10px #4f95c4 solid;
}	
/*includeファイル内、主見出し*/
h3 {
	margin: 30px;
	padding: 7px 0 7px 15px;
	color: #fff;
	font-size: 18px;
	font-weight: 400;
	border-left: 10px #1a487b solid;;
	background-color: #1d7aab;
	box-shadow: 3px 3px 2px #1a487b;
	white-space: pre-wrap;
}
.sampleP {
	color: #4a8cdb;
	font-weight: 600;
	margin: 30px 0 30px 40px;
}
.indentSpan {
	display: block;
	margin-left: 30px;
}
.indentSpan2 {
	display: block;
	margin-left: 45px;
}
.redSpan {
	color: #c6342e;
}
.brownSpan {
	color: #b43d3d;
}
/*includeファイル内、中見出し*/
h4 {
	position: relative;
	font-size: 16px;
	line-height: 1;
	color: #066167;
	margin: 70px 30px 20px 30px;
	padding: 5px 5px 5px 10px;
	border-left: 10px #1d6ca4 solid;
}
/* 下線も一緒にセットすると、境目が斜めになりギザギザで見ぐるしいため擬似要素で下線を追加 */
h4:after {
	content: "";
	position: absolute;
	bottom: 0px;
	left: 0;
	height: 0;
	width: 100%;
	border-bottom: 1px #1d6ca4 dashed;
}
h6 {
	margin-left: 40px;
	color: #066167;
}
.referenceSite {
	position: relative;
	margin-left: 40px;
}
.miniTitle {
	color: #066167;
	border: 1px solid #066167;
}
/* miniTitle brの余白 */
.margi {
	display: block;
	content: "";
	margin-bottom: 10px;
}
.smallSize {
	font-size: 90%;
}
.futoji {
	font-weight: bold;
}
.underline {
	text-decoration: none;
}
.transparent {
	opacity: 0.5;
}
.calendarImg {
	width: 40%;		 /*カレンダー本体のサイズ 259px*/ 
	/*height: 229px;		 カレンダー本体のサイズ 209px */
	padding: 10px;
	margin: 20px auto 0 50px;
}
.pagerImg {
	width: 70%;
	/* padding: 10px; */
	/* margin: 20px auto 0 50px; */
}
.mark1{
	display: inline-block;
	width: 16px;
	height: 16px;
	background-color: #ff9900;
}
.mark1:before{
	content: "";
	position: absolute;
	width: 2px;
	height: 16px;
	top: 0;
	left: 7px;
	background-color: #ffffff;
}
.mark1:after{
	content: "";
	position: absolute;
	width: 16px;
	height: 2px;
	top: 7px;
	left: 0;
	background-color: #ffffff;
}
.siteStr {
	position: absolute;
	left: 20px;
	color: #ff9900;
}
.langImg {
	display: inline-block;
	margin-left: auto;
	margin-right: auto;
}
.kaigyo {
	/* \n や実際の改行コードを、画面上の改行として表示する設定 */
    white-space: pre-wrap;
}

@media screen and (max-width: 768px) {
	#pcTitle {
		display: none;
	}
	#mobileTitle {
		display: block;
	}
	#category {
		display: none;
	}
	#contents {
		display: block;
		width: 100%;
		margin-top: 0;
	}
	#rightContents {
		display: none;
	}
	#leftContents {
		display: block;
		padding-top: 12px;
		width: 100%;
		border: none;
	}
	h2 {
		margin-bottom: 0;
		/* アイコンをタイトルとくっつけるためFlexboxを有効にする */
		display: flex;
		/* 子要素（アイコンとテキスト）を垂直方向の中央に揃える */
  		align-items: center;
	}
	.title-icon {
  		/* アイコンのサイズを設定 */
		width: 36px;
		height: 36px;
		/* アイコンとテキストの間に動的な余白を設定 */
		margin-right: 0.5em;
		margin-bottom: 5px;
	}
	h3 {
		margin-top: 5px;
		margin-left: 5px;
		margin-right: 5px;
	}
	h4 {
		margin: 30px 15px 7px 15px;
		padding: 10px 5px 10px 10px;
		font-size: 14px;
	}
	h6 {
		margin-left: 25px;
		margin-right: 15px;
	}
	.indentSpan {
		margin-left: 20px;
	}
	.indentSpan2 {
		margin-left: 30px;
	}
	.referenceSite {
		margin: 15px 15px 30px 20px;
		word-wrap: break-word;	/* 英単語の途中折り返し許可*/
	}
	.calendarImg {
		width: 70%;		 /*カレンダー本体のサイズ 259px*/ 
		/*height: 229px;		 カレンダー本体のサイズ 209px */
		padding: 10px;
		margin: 0px 0px 0px 15px;
	}
	.pagerImg {
		width: 90%;
	}
	.pagerSimpleImg {
		width: 30%;
	}
	/* 一覧ボタン */
	#navIchiran {
		display: block;
		position: fixed;
		top: 60px;
		right: 5px;
		width: 45px;
		height: 40px;
		line-height: 40px;
		cursor: pointer;
		z-index: 101;
		background-color: #1a487b;
		color: #fff;
		font-weight: 600;
		text-align: center;
		margin-top: -3px;
		border-radius: 0 0 5px 5px;
	}

	#navIchiranView {
		display: block;
		position: absolute;
		left: 0;
		width: 100%;
		z-index: 100;
		background-color: #555;
		margin: 0;
		padding: 0;
		list-style: none;
		top: 54px;
		/* 要素の高さ分だけ上に引っ込めて隠す transform を使う */
		transform: translateY(-200%); 
		visibility: hidden; /* 隠れている時はクリックできないようにする */
		/* スーっと動かすアニメーション（これまでの 0.8s を継承） */
		transition: transform 0.8s ease, visibility 0.8s;
	}

	/* Vueによってボタンクリック時にこのクラスがつく */
	#navIchiranView.ichiranOpen {
		transform: translateY(0);
		visibility: visible;
	}

	#navIchiranView li {
		border-top: #fff 1px solid;
		padding: 10px 0 10px 20px;
	}

	#navIchiranView li a {
		width: 100%;
		display: block;
		color: #fff;
		text-decoration: none;
	}



}