@charset "UTF-8";

/************/
/* 共通     */
/************/
::selection{ background: navy; color: white; }
* { font-size: 1rem; font-weight: 500; font-family: 'Quicksand', "游ゴシック体", "Yu Gothic", YuGothic, "ヒラギノ角ゴシック Pro", "Hiragino Kaku Gothic Pro", 'メイリオ' , Meiryo , Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif; margin: 0; padding: 0; }
body,html { height: 100%; margin: 0 auto; }
a { text-decoration: none; color: black; }
a:active, a:visited { color: black; }

#wrapper { display: grid; }

@media not screen and ( min-aspect-ratio: 4/3 ) {
	/************/
	/* レイアウト */
	/************/
	#wrapper {
		grid-template-columns: repeat( auto-fit, 10em );
		grid-template-areas:
			"header"
			"menu1"
			"menu2"
			"menu3"
			"img"
			"pan"
			"content"
			"side"
			"footerL"
			"footerR"
			"CopyR";
		grid-template-columns: 100%;
	}
	.ConSys { width: 95%; }
	.ConSys p { font-size: 2em; }
	#wrapper div div, #pan ul, #content { padding-left: .3rem; }
	#header::before { height: 1.5rem; width: 1.5rem; margin: .3rem 0 .3rem .5rem; }
	#header { display: inline-block; line-height: 1.3rem; vertical-align: text-bottom; }
	#HPImage { height: 4em; }
	#header, #menu3 { border-bottom: 1px solid black; }
	#menu2, #menu3 { border-top: 1px solid black; }
	#menu1, #menu2, #menu3 { padding: .2rem; padding-left: 1rem; }
	.Algo {
		width: 330px;
	}
}
@media only screen and ( min-aspect-ratio: 4/3 ) {
	/************/
	/* レイアウト */
	/************/
	#wrapper{
		grid-template-columns: .3fr 1fr 1fr 1fr 1fr .3fr;
		grid-template-areas:
		"header   header   menu1   menu2   menu3  padding"
		"img      img     img     img     img     img"
		"navi1    pan     pan     pan     pan     tmp"
		"navi2    content content content side    tmp"
		"footerLs footerL footerL footerR footerR footerRs"
		"CopyR    CopyR   CopyR   CopyR   CopyR   CopyR";
		grid-template-rows: 3rem auto;
	}
	#header::before { height: 1.7rem; width: 1.7rem; }
	#header, #menu1, #menu2, #menu3, #padding {
		line-height: 3rem;
		vertical-align: middle;
		text-align: center;
		border-bottom: 1px black solid;
	}
	#footerL, #footerR, #footerLs, #footerRs, #CopyR {
		color: white;
		text-align: center;
		background: darkslategray;
		padding: .7rem;
	}
	#footerLs, #footerRs, #footerL, #footerR { margin-top: 1rem; }
	#HPImage { height: 200px; background-size: contain; }
	.ConSys { margin-left: 15%; width: 70%; }
	.ConSys p { font-size: 2em; }
	/************/
	/* ワイドサイズ設定(spaceForWide) */
	/************/
	.SFWmarginRL10rem { margin-right: 1rem; margin-left: 1rem; }
	.SFWmarginL08rem { margin-left: .8rem; }
	.SFWpadding10rem { padding: 1rem; }
	.SFWpaddingLR10rem { padding-left: 1rem; padding-right: 1rem; }
}
/************/
/* ヘッダーアイコン */
/************/
#headerIC { display: inline-block; }
#header::before {
	display: inline-block;
	content: "";
	background-image: url("../img/hederIcon.jpg");
	background-size: contain;
	background-repeat: no-repeat;
	vertical-align: middle;
}

/************/
/* ヘッダー */
/************/
#header { grid-area: header; font-size: larger; }
#menu1 { grid-area: menu1; }
#menu2 { grid-area: menu2; }
#menu3 { grid-area: menu3; }
#menu1:hover, #menu2:hover, #menu3:hover { background: lightyellow; font-size: 1.1rem; }

/************/
/* 画像 */
/************/
#HPImage {
	grid-area: img;
	width: 100%;
	background-image: url("../img/HPimg.jpg");
	background-attachment: fixed;
	background-repeat: no-repeat;
}

/************/
/* BreadC */
/************/
#pan { grid-area: pan; padding: .3rem 0; }
.panList { display: inline; }
.panList::after { content: '>'; padding: 0 .2rem; }
.panList:last-child::after { display: none; }
.panList a { display: inline-block; text-decoration: none; color: darkslategray; }

/************/
/* 本文 */
/************/
#content { grid-area: content; min-height: 60vh; padding: 0; margin-bottom: 1rem; padding-bottom: 1.5rem; }

.ConSys {
	margin-bottom: 1rem;
	display: inline-block;
	background-origin: border-box;
	border-radius: 3px;
	padding-left: 1rem;
	background-image: url( "../img/CSimg.jpg" );
	background-repeat: no-repeat;;
}
.ConSie { 
	margin-bottom: 1rem;
	display: inline-block;
	background-origin: border-box;
	border-radius: 3px;
	padding-left: 1rem;
	background-image: url( "../img/CSiimg.jpg" );
	background-repeat: no-repeat;
}
.MnStrat {
	display: inline-block;
	background-origin: border-box;
	border-radius: 3px;
	padding-left: 1rem;
	background-image: url( "../img/Photoelly037_TP_V.jpg" );
	background-repeat: no-repeat;
}
.Algo {
	display: inline-block;
	background-origin: border-box;
	border-radius: 3px;
	background-image: url( "../img/algo.jpg" );
	background-repeat: no-repeat;
}
.ConSys p {
	font-weight: bold;
	height: 7rem;
	line-height: 7rem;
	font-weight: bold;
	vertical-align: middle;
	color: wheat;
	-webkit-text-stroke: .1rem darkslategray;
	text-stroke: .05rem darkolivegreen;
	opacity: 1;
}
.ConSys:hover { box-shadow: 0px 0px 15px 2px rgba(0, 0, 0, 0.2); }
.BorderDotted { background: lightyellow; margin: 0 .5rem .7rem .5rem; padding: 1rem; border-top: dotted 1px black; border-bottom: dotted 1px black; }
.date{ color: white; background: maroon; width: 5rem; border-radius: 5px; padding: 0 .5rem; }
.advice { font-weight: bold; color: white; background: -webkit-linear-gradient( 90deg, dodgerblue, limegreen ); width: 8rem; border-radius: 5px; padding: 0 .5rem; }

/************/
/* サイド */
/************/
#side {
	grid-area: side;
	height: 100%;
	margin-bottom: .5rem;
}
.news, .QA { color: red; background: -webkit-linear-gradient( 90deg, dodgerblue, limegreen ); -webkit-background-clip: text; -webkit-text-fill-color: transparent; width: 50%; margin: .1rem; font-size: 1.2rem; font-weight: bold; padding-left: .5rem; }
.CharTitle { font-size: larger; margin-top: .5rem; }
.CharEmp { padding-left: .8rem; width: 95%; height: 3rem; color: grey; }
.movie { padding-left: 1rem; margin: .5rem .2rem; border-left: .5rem maroon solid; background-color: wheat; line-height: 3rem; height: 3rem; width: 90%; }
.movie a { display: block; width: 100%; height: 100%; }
.kakko { font-size: .8rem; }

/************/
/* フッター */
/************/
#footerL, #footerR, #CopyR {
	color: white;
	text-align: center;
	background: darkslategray;
	padding: .7rem;
}
#footerLs { grid-area: footerLs; }
#footerRs { grid-area: footerRs; }
#footerL { grid-area: footerL; }
#footerR { grid-area: footerR; }
#CopyR { grid-area: CopyR; }
.FooterInfo { font-size: larger; padding: .5rem; text-align: left; border-bottom: 1px solid white; }
.FooterSent { text-align: left; padding: .5rem; font-weight: normal; }

/* ページトップへ */
@keyframes fade{ 0%{ opacity: 0; } 100%{ opacity: 1; } }
.ToTop{ width: 3em; height: 3em; position: fixed; right: 10%; bottom: .5em; background: -webkit-linear-gradient( 90deg, dodgerblue, limegreen ); opacity: 0.95; border-radius: 50%; animation-name: fade; animation-duration: 60s; animation-iteration-count: 1; }
.ToTop a{ position: relative; display: block; width: 3em; height: 3em; }
.ToTop::before{ content: "↑"; font-size: 1.5em; color: white; padding-top: .2em; padding-left: .5em; position: absolute; width: 1em; }

.Navi { font-weight: 200; font-size: .7rem; }


/************/
/* 画像 */
/************/
.algoQ1 {
	background-image: url( "../img/algoQ1.png" );
	background-repeat: no-repeat;
	width: 324px;
	height: 246px;
	margin: 1rem;
}


/************/
/* 共通 */
/************/
.indent1rem { padding-left: 1rem; }
.paddingT05rem { padding-top: .5rem; } 
.marginT0i { margin-top: 0!important; }
.marginT05rem { margin-top: .5rem; }
.marginR05rem { margin-right: .5rem; }
.marginL10rem { margin-left: 1rem; }
.marginB05rem { margin-bottom: .5rem; }
.marginB07rem { margin-bottom: .7rem; }
.FontGrey { color: grey; }
.FontBold { font-weight: bold; }
.FontSize1_2 { font-size: 1.2rem; }
.WavyRed { text-decoration: underline wavy red; }
.yellow_line { background:linear-gradient( transparent 60%, yellow 0% ); padding: 0 .2rem; }
.linen_line { background:linear-gradient( transparent 60%, plum 0% ); padding: 0 .2rem; }
.blue_line { background:linear-gradient( transparent 75%, blue 0% ); padding: 0 .2rem; }
.green_line { background:linear-gradient( transparent 75%, springgreen 0% ); padding: 0 .2rem; }
.lime_line { background:linear-gradient( transparent 75%, lime 0% ); padding: 0 .2rem; }
.orange_line { background:linear-gradient( transparent 75%, orange 0% ); padding: 0 .2rem; }
.royalblue_line { background:linear-gradient( transparent 75%, royalblue 0% ); padding: 0 .2rem; }
.lightskyblue_line { background:linear-gradient( transparent 75%, lightskyblue 0% ); padding: 0 .2rem; }
.steelblue_line { background:linear-gradient( transparent 75%, steelblue 0% ); padding: 0 .2rem; }
.dodgerblue_line { background:linear-gradient( transparent 75%, dodgerblue 0% ); padding: 0 .2rem; }
.lightgray_line { background:linear-gradient( transparent 75%, lightgray 0% ); padding: 0 .2rem; }
