@charset "utf-8";
/* CSS Document */

/* 共通設定 */
a {
	text-decoration: none;
	color: #6c131b;
}
html {
	background: #f9dee2;
	overflow-y: scroll; /* 画面遷移時にガタつくのを回避 */
}
body {
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	color: #49060e;
}

#wrapper {
	background: #FFF;
	width: 100%;
	margin: 0 auto;
}
@media screen and (min-width: 1024px) {
	#wrapper {
		max-width: 980px;
	}
}

/* ヘッダー */
#header {
	color: #FFF;
	min-height: 110px;
}
@media screen and (max-width:768px) {
	#header {
		display: none;
	}
}
#header #logo {
	float: left;
	width: 244px;
	padding: 12px;
}
#header #logo img {
	display: block;
	max-width: 244px;
	height: auto;
}
#header #title {
	float: right;
	padding: 42px 22px 0  0;
}
#header #title img{
	display: block;
	max-width: 309px;
	height: auto;
}

/* グローバルナビゲーション */
#nav {
	width: 100%;
	clear: both;
	font-family: "Times New Roman", Times, serif;
	font-style: italic;
	top: 0;
	left: 0;
	z-index: 3;
}
#nav ul li {
	float: left;
	width: 20%;
}
#nav ul li a {
	display: block;
	height: 50px;
	line-height: 50px;
	background: #e35a6c;
	background-image: linear-gradient(to bottom, #e35a6c 0%,#ee9ca7 100%);
	color: #fff;
	font-size: 1.25em;
	text-align: center;
	border-right: 1px solid #fff;
}
@media screen and (max-width:768px) {
	#nav ul li a {
		font-size: 0.8em;
	}
}
/* WORKSメニューのみ */
#nav ul li:last-child a {
	border-right: none;
}

/* ホバー時 */
#nav ul li a:hover{
	background: linear-gradient(to bottom, rgba(226,68,86,1) 0%,rgba(237,135,148,1) 100%);
}

/* サブナビゲーション */
#nav ul li ul {
	display: none;
	position: absolute; /* サブナビゲーションが開いた時にテキストが押し下がるのを回避 */
	width: 100%;
	z-index: 2;
}
#nav ul li ul li {
	float: none;
}
@media screen and (min-width: 1024px) {
	#nav ul li ul li {
		width: 196px;
	}
	#nav.fixed ul li ul li {
		width: 20%;
	}
}

/* サブメニューの末尾<li>が親要素の定義を引き継いでいるため、個別に定義 */
#nav ul li ul li:last-child a {
	border-right: 1px solid #fff;
}
#nav ul li ul li a:hover{
	opacity: 1.0;
	color: #260f12;
}

/* メニュー上部固定 */
.fixed {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	border-radius: 0;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	-o-border-radius: 0;
}

/* ナビゲーション カレント設定 */
#home #nav .home a,
#workflow #nav .home_2 a,
#check #nav .home_3 a,
#html_css #nav .nav1 a,
#ai_ps #nav .nav2 a,
#ai #nav .nav2_2 a,
#ps #nav .nav2_3 a,
#javascript #nav .nav3 a,
#jquery #nav .nav3_2 a,
#works #nav .nav4 a {
	background-image: linear-gradient(to bottom, #b44756 0%,#ee9ca7 100%);
}

/* フッター */
#footer {
	clear: both;
	color: #FFF;
	font-size: 90%;
	font-family: "Times New Roman", Times, serif;
	text-align: center;
	background: #b44756;
	padding: 20px 0 15px;
}
#footer ul {
	margin-bottom: 13px;
}
#footer ul li {
	display: inline;
}
#footer ul li a {
	color: #fff;
}
#footer ul li a:hover {
	opacity: 0.5;
}
#footer ul li+li::before {
	content: " | ";
}
/* フッター カレント設定 */
#home #footer .home a,
#workflow #footer .home_2 a,
#check #footer .home_3 a,
#html_css #footer .nav1 a,
#ai_ps #footer .nav2 a,
#ai #footer .nav2_2 a,
#ps #footer .nav2_3 a,
#javascript #footer .nav3 a,
#jquery #footer .nav3_2 a,
#works #footer .nav4 a {
	text-decoration: underline;
}

/* 画像伸縮 */
.img-responsive {
	display: block;
	max-width: 100%;
	height: auto;
}

/* 付箋風スタイル */
.sticky {
    display: inline-block;
    padding: 0.5em 1em;
    margin: 10px 0;
    background: #f9f4f5;
    border-left: solid 6px #b44756;
    font-weight: bold;
	color: #6c131b;
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.29);
    cursor: pointer;
}
.sticky:hover {
    box-shadow: inset 0 0 2px rgba(128, 128, 128, 0.1);
    transform: translateY(2px);
}

/* CSS, JS, PDFボタン */
.sub-css, .sub-js, .sub-pdf {
    display: inline-block;
    color: #fff;
    border-radius: 5px;
    padding: 0.2rem 0.5rem 0.1rem;
    margin-right: 0.5em;
}
.sub-css {
    background: #FFA346;
}
.sub-js {
    background: #78A2E4;
}
.sub-pdf {
    background: #FB5EAA;
}

/* 下層ページ共通 */
#contents .subpage-inner {
	clear: both;
	width: 80%;
	margin: 0 auto;
	padding: 20px 0;
	line-height: 1.5em;
}
@media screen and (max-width:414px) {
	#contents .subpage-inner {
		width: 90%;
	}
}

/* 下層ページタイトル */
#contents .subpage-inner h2 {
	margin-bottom: 30px;
	border-left: 5px solid #bc4672;
	border-bottom: 1px solid #bc4672;
	padding-left: 10px;
	font-family: "Times New Roman", Times, serif;
	font-style: italic;
	font-size: 1.2em;
	line-height: 30px;
}

/* 下層ページ：テーブル */
#contents .subpage-inner table {
	width: 95%;
	margin: 0 auto;
	font-size: 90%;
	border-collapse: collapse;
}
#contents .subpage-inner table th, td {
	border: 1px solid #a72752;
	padding: 0.5em;
}
#contents .subpage-inner table th {
	background: #bc4672;
	color: #fff;
	font-weight: normal;
}
#contents .subpage-inner th.sub-title {
	width: 33%;
}
#contents .subpage-inner table td {
	line-height: 1.5em;
}
#contents .subpage-inner table a:hover {
	opacity: 0.5;
}

/* Ai&Psページナビ */
#contents .subpage-inner .ai_ps-nav,
#contents .subpage-inner h3.ai_ps_subtitle {
	width: 95%;
	margin: 0 auto;
}
#contents .subpage-inner .ai_ps-nav {
	font-size: 90%;
	margin-bottom: 20px;
}
#contents .subpage-inner .ai_ps-nav  li:before {
	content: "▶︎ ";
	color: #fd97ae;
}
#contents .subpage-inner h3.ai_ps_subtitle {
	border-left: solid 5px #f25776;
	margin: 10px 0;
	padding-left: 5px;
}
