@charset "utf-8";
/* Vueの準備ができるまで、画面を表示させない指定 */
[v-cloak] {
  display: none !important;
}
html {
  overflow-y: scroll; /* コンテンツが短くても、常に右側にスクロールバーを出しておく */
}

#pcTopMenu ul li:nth-child(2) {
	border-bottom: 2px red solid;
}
#pcTopMenu ul li:nth-child(2) a {
	cursor: default;
}
#pcTopMenu ul li:nth-child(1) a:hover,
#pcTopMenu ul li:nth-child(3) 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: calc(100% * 1 / 4); }
#category a:nth-child(3):hover ~ #moveLine { left: calc(100% * 2 / 4); }
#category a:nth-child(4):hover ~ #moveLine { left: calc(100% * 3 / 4); }
/* --- Vueの選択状態に応じて初期位置を固定する設定 --- */
#moveLine.tweet     { left: 0%; }
#moveLine.computer  { left: 25%; }
#moveLine.create   	{ left: 50%; }
#moveLine.garden	{ left: 75%; }

#moveLine {
	width: calc(100% / 4);
	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 {	/*computerIT.create.garden の小見出し*/
	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;
}
#computer {
	background-image: url("/etcetera/image/icon/display2.png");
}
#create {
	background-image: url("/etcetera/image/icon/supana2.png");
}
#garden {
	background-image: url("/etcetera/image/icon/garden2.png");
}
.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;
}
.submenu a:hover {
	color: #121212;
}
#currentLink {	/* 選択されているliの文字色 */
	color: red;
}

/* leftContens */
#leftContents {
	width: 75%;
	padding-bottom: 70px;
	display: table-cell;
	background-color: #f5fdff;
	border-right: 8px #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;
}
/*中の三角*/
/* h3:before {
	content: "";
	position: absolute;
	top: 25%;
	left: 20px;
	width: 0;
  	height: 0;
  	border-top: 11px solid transparent;
  	border-right: 18px solid transparent;
  	border-bottom: 11px solid transparent;
  	border-left: 18px solid #56256f;
} */
/*includeファイル内、中見出し*/
h4 {
	position: relative;
	font-size: 16px;
	line-height: 1;
	color: #008000;
	margin: 50px 40px 20px 40px;
	padding: 10px 5px 10px 40px;
	border-bottom: 1px #4d947d dashed;
	background-repeat: no-repeat;
	background-position: 3px 5px;
	background-size: auto 85%;
}
h4:after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0px;
	height: 0;
	width: 100%;
	border-bottom: 1px dashed #4d947d;
}
/* h4.computer {
	background-image: url("/etcetera/image/icon/display2.png");
}
h4.create {
	background-image: url("/etcetera/image/icon/supana2.png");
}
h4.garden {
	background-image: url("/etcetera/image/icon/garden2.png");
} */

/* computer */
.syntax {
	width: 85%;
	margin-left: 40px;
}
.referenceSite {
	position: relative;
	margin-left: 40px;
}
.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;
}
.indentSpan {
	display: block;
	margin-left: 30px;
}
.indentSpan2 {
	display: block;
	margin-left: 45px;
}

@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;
	} */
	h2 {
		margin-bottom: 0;
		/* アイコンをタイトルとくっつけるためFlexboxを有効にする */
		display: flex;
		/* 子要素（アイコンとテキスト）を垂直方向の中央に揃える */
  		align-items: center;
	}
	.title-icon {
  		/* アイコンのサイズを設定 */
		width: 36px;
		height: 36px;
		/* アイコンとテキストの間に動的な余白を設定 */
		margin-right: 0.5em;
		margin-bottom: 5px;
	}
	h3 {
		padding-left: 45px;
		margin-top: 5px;
		margin-left: 5px;
		margin-right: 5px;
	}
	h4 {
		margin: 30px 15px 7px 15px;
		padding: 10px 5px 7px 35px;
		font-size: 14px;
	}
	.referenceSite {
		margin: 15px 15px 30px 20px;
		word-wrap: break-word;	/* 英単語の途中折り返し許可*/
	}

	/* 一覧ボタン */
	#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;
	}

}