﻿/* CSS layout */
@media print { body{ display: none !important; } }
/* =======================================
	Cookie使用の承諾
======================================= */
.cookie-consent {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
	left: 0;
    bottom: 0;
    width: 100%;
    font-size: 12px;
    color: #fff;
    background: rgba(0,0,0,.7);
    padding: 1.2em;
    box-sizing: border-box;
    visibility: hidden;
	z-index: 10000;
}
.cookie-consent.is-show {
    visibility: visible;
}
.cookie-consent a {
    color: #fff !important;
}

.cookie-text {
	margin: 0 20px;
	line-height: 1.5;
}
.cookie-agree {
    color: #fff;
    background: dodgerblue;
    padding: .5em 1.5em;
}
.cookie-agree:hover {
    cursor: pointer;
}
/* パッと消える */
.cc-hide1 {
    display: none;
}

/* ゆっくり消える 
.cc-hide2 {
    animation: hide 1s linear 0s;
    animation-fill-mode: forwards;
}*/
@keyframes hide {
    from {
    opacity: 1;
}
to {
    opacity: 0;
    visibility: hidden;
    }
}

/* メディアクエリ */

@media screen and (max-width: 600px) {
    .cookie-consent {
		flex-direction: column;
    }
    .cookie-text {
		margin-bottom: 1em;
    }
}

/* =======================================
	全体のデザイン
======================================= */

body {
	padding-top: 4px;
	Width: 100%;
	max-width:1366px;
    margin: 0 auto;/*ここで中央寄せを指定する。*/
	background-color: #eeeeff;
	border-top: 5px solid ;
	border-top-color: #8a9b0f;
	color : #000000;
	font-family:"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	-webkit-text-size-adjust: 100%; /*スマホのテキストサイズの自動調整を禁止する*/
}

@media (min-width: 485px) {
	body {
		Width:calc(100vw-20px);
	}
}

math {
	font-family:STIX, IPAmjMincho, serif;
}
.anchor{
    display: block;
    padding-top: 50px;
    margin-top: -40px;
}
sup {
	font-size: 75.5%;
	vertical-align: top;
	position: relative;
	top: -0.1em;
}
sub {
	font-size: 75.5%;
	vertical-align: bottom;
	position: relative;
	top: 0.1em;
}
/* 文字に ● を付す*/
span.dot {
	text-emphasis-style: circle;
}
/*冒頭小型ロゴを規定*/
div.toplogo {
	overflow: hidden;
	padding-top: 6px;
}
div.itemtop {
	float: left;
	width: 10px;
	height: 50px;
}
div.itemtop img {
	width: 100vw;
	max-width: 760px;
	height: 100%;
}

div.yanagawalogo{
	position:relative;
	float:left;
}
div.yanagawalogo:hover{
	top: -6px;
	right: 6px;
}
.yanagawa-shadow:hover{
	box-shadow: 6px 6px 6px rgba(0,0,0,0.2);
}

/*トップ右側の３つのボタンを規定*/
@media (max-width: 680px) {
	div.itemtop {
		clear: both;
	}
	div.item00 {
		float:left;
		width: 100%;
	}
	ul.globalnav {
		float: left;
	}
}

ul#globalnav li a {
	display: block;
}
div.item00 {
	float: right;
	width: 30px;
	height: 50px;
}
div.item00 img {
	width: 100%;
	height: 100%;
}
ul#globalnav li.item01 { float: right; list-style-type: none; }
ul#globalnav li.item02 { float: right; list-style-type: none; }
ul#globalnav li.item03 { float: right; list-style-type: none; }
ul#globalnav li.item01 a { background: url(../img/gnav1hover.png) no-repeat;	}
ul#globalnav li.item02 a { background: url(../img/gnav2hover.png) no-repeat; }
ul#globalnav li.item03 a { background: url(../img/gnav3hover.png) no-repeat; }
ul#globalnav li a:hover img { visibility: hidden; }

@media (max-width: 416px) {
	img.top-logo3 {
		width: 27vw;
	}
}
div.item04 {
	float: right;
	width: 80px;
	height: 50px;
}

/*最上部の水平線*/
.horizontaltop {
	background-color: #dddddd;
	height: 3px; 
	width: 100%;
	margin: 5px 0px 5px 0px;
	border:0;
	border-top: 1px solid #bbb;
	border-bottom: 1px solid #fff;
	float:left;}

/*ここからドロップダウンメニューを規定*/

/*#top_nav {
}*/

.dorophome {
	color: #ffff00;
}

#dropmenu {
	list-style-type: none;
	max-width: 1366px;/*メニュー全体の広さを規定*/
	width:100%;
	margin: auto auto 5px;
	padding: 0;
}

#dropmenu li {
	position: relative;
	width: 12.5%;/*個々のボタンの幅の全体に占める割合*/
	float: left;
	margin: 0;
	padding: 0;
	text-align: center;
}

#dropmenu li a {
	display: block;
	margin: 0;
	padding: 16px 0;
	background: #8a9b0f;
	background: linear-gradient(#080, #040);
	box-shadow: inset 0 1px 1px rgba(255,255,255,0.5),inset 0 -1px 1px rgba(0,0,0,0.9);
	color: #fff;
	font-size: small;
	font-weight: bold;
	line-height: 1.2;
	text-decoration: none;
}
#dropmenu li ul {
	list-style: none;
	position: absolute;
	z-index: 200;
	top: 100%;
	left: 0;
	width: 100%;
	margin: 0;
	padding: 0;
}

#dropmenu > li > ul >  li {/*子のメニューを親メニューの幅の倍にする*/
	overflow: hidden;
	width: 200%;
	height: 0;
	color: #fff;
	transition: .2s;
}
#dropmenu > li > ul >  li > ul > li{/*孫のメニューは子のメニューの幅と同じにする*/
	overflow: hidden;
	width: 100%;
	height: 0;
	color: #fff;
	transition: .2s;
}
#dropmenu > li > ul >  li > ul > li > ul > li{/*ひ孫のメニューは子のメニューの幅と同じにする*/
	overflow: hidden;
	width: 100%;
	height: 0;
	color: #fff;
	transition: .2s;
}

#dropmenu > li:last-child ul{/*オリジナルにはない。親メニューの一番左の子メニュー以下を左側に出すようにする*/
	left: -100%;
	width: 100%;
}
#dropmenu > li:nth-child(7) ul li ul{/*オリジナルにはない。親メニューの７番目の孫メニュー以下を左側に出すようにする*/
	left: -100%;
	width: 100%;
}
#dropmenu > li:nth-child(6) ul li ul{/*オリジナルにはない。親メニューの６番目の孫メニュー以下を左側に出すようにする*/
	left: -100%;
	width: 100%;
}

#dropmenu li ul li ul {/*孫メニューを子メニューのすぐ下に出さないようにする*/
	top: 0;
	left: 100%;
}
#dropmenu li ul li ul li ul {/*ひ孫メニューを孫メニューのすぐ下に出さないようにする*/
	top: 0;
	left: 100%;
}

#dropmenu li ul li a {
	padding: 13px 15px;
	background: #060;
	text-align: left;
	font-size: small;
	font-weight: normal;
}
#dropmenu > li:hover > a {/*親メニューの色*/
/*	background: #7c8c0e;*/
	background: -webkit-linear-gradient(#0a0, #060);
	background: -moz-linear-gradient(#0a0, #060);
	background: linear-gradient(#0a0, #060);
}
#dropmenu > li:hover li:hover > a {  background: #080 }
#dropmenu li:hover > ul > li {
	overflow: visible;
	height: 38px;
}
#dropmenu li ul li ul li a {  background: #080 }/*子メニューの色*/
#dropmenu li:hover ul li ul li:hover > a {  background: #090 }/*子メニューのマウスホバー色*/
#dropmenu li ul li ul li ul li a {  background: #090 }/*孫メニューの色*/
#dropmenu li:hover ul li ul li ul li:hover > a {  background: #0a0 }/*孫メニューのマウスホバー色*/


#dropmenu li ul li ul:before {/*ドロップメニューに下位階層があることを示す三角記号*/
	position: absolute;
	content: "";
	top: 13px;
	left: -20px;
	width: 0;
	height: 0;
	border: 5px solid transparent;
	border-left-color: #ff0;
}
*#dropmenu > li:last-child ul li ul:before {/*一番左の親メニューの子メニューに下位階層があることを示す三角記号*/
	position: absolute;
	content: "";
	top: 13px;
	left: 200%;
	margin-left: -20px;
	border: 5px solid transparent;
	border-right-color: #ff0;
}
*#dropmenu > li:nth-child(7) ul li ul:before {/*親メニューの７番目の子メニューに下位階層があることを示す三角記号*/
	position: absolute;
	content: "";
	top: 13px;
	left: 200%;
	margin-left: -20px;
	border: 5px solid transparent;
	border-right-color: #ff0;
}
*#dropmenu > li:nth-child(6) ul li ul:before {/*親メニューの６番目の子メニューに下位階層があることを示す三角記号*/
	position: absolute;
	content: "";
	top: 13px;
	left: 200%;
	margin-left: -20px;
	border: 5px solid transparent;
	border-right-color: #ff0;
}
a.navi-current {
    color: #ddffff;
}

@media (min-width: 485px) and (max-width: 1000px) {
	#dropmenu li:hover > ul > li {
		height: auto;
	}
		#dropmenu li {
		width: 25%;/*個々のボタンの幅の全体に占める割合*/
	}
	#dropmenu > li > ul >  li {/*子のメニューを親メニューの幅と同じにする*/
		overflow: hidden;
		width: 100%;
	}
	#dropmenu > li:last-child ul{/*オリジナルにはない。親メニューの一番左の子メニュー以下を左側に出すようにする*/
		left: 0%;
		width: 100%;
	}
	#dropmenu > li:last-child ul li ul{/*オリジナルにはない。親メニューの一番左の子メニュー以下を左側に出すようにする*/
		left: -100%;
		width: 100%;
	}
	#dropmenu > li:nth-child(6) > ul > li > ul > li > ul > li{/*オリジナルにはない。親メニューの６番目の孫メニュー以下を左側に出すようにする*/
		left: 100%;
		width: 100%;
	}
	#dropmenu > li:nth-child(6) ul li ul li ul{/*オリジナルにはない。親メニューの６番目の孫メニュー以下を左側に出すようにする*/
		left: 0%;
		width: 100%;
	}
	*#dropmenu > li:nth-child(6) ul li ul li ul:before {/*親メニューの６番目の子メニューに下位階層があることを示す三角記号*/
		position: absolute;
		content: "";
		top: 13px;
		left: 25px;
		width: 0;
		height: 0;
		border: 5px solid transparent;
		border-left-color: #ff0;
	}
}
@media (max-width: 484.5px) {
	#dropmenu li:hover > ul > li {
		height: auto;
	}
	#dropmenu li {
		width: 50%;/*個々のボタンの幅の全体に占める割合*/
	}
	#dropmenu > li > ul >  li {/*子のメニューを親メニューの幅と同じにする*/
		overflow: hidden;
		width: 100%;
	}
	#dropmenu > li:last-child ul{/*オリジナルにはない。親メニューの一番左の子メニュー以下を左側に出すようにする*/
		left: 0%;
		width: 100%;
	}
	#dropmenu > li:last-child ul li ul{/*オリジナルにはない。親メニューの一番左の子メニュー以下を左側に出すようにする*/
		left: -100%;
		width: 100%;
	}
	#dropmenu > li:nth-child(6) > ul > li > ul > li > ul > li{/*オリジナルにはない。親メニューの６番目の孫メニュー以下を左側に出すようにする*/
		left: 100%;
		width: 100%;
	}
	#dropmenu > li:nth-child(6) ul li ul li ul{/*オリジナルにはない。親メニューの６番目の孫メニュー以下を左側に出すようにする*/
		left: 0%;
		width: 100%;
	}
	#dropmenu > li:nth-child(7) ul li ul{/*オリジナルにはない。親メニューの７番目の孫メニュー以下を左側に出すようにする*/
		left: 100%;
		width: 100%;
	}
	#dropmenu > li:nth-child(7) ul li ul li ul{/*オリジナルにはない。親メニューの７番目の孫メニュー以下を左側に出すようにする*/
		left: -100%;
		width: 100%;
	}
	*#dropmenu > li:nth-child(6) ul li ul li ul:before {/*親メニューの６番目の子メニューに下位階層があることを示す三角記号*/
		position: absolute;
		content: "";
		top: 13px;
		left: 25px;
		width: 0;
		height: 0;
		border: 5px solid transparent;
		border-left-color: #ff0;
	}
	*#dropmenu > li:nth-child(7) ul li ul:before {/*親メニューの６番目の子メニューに下位階層があることを示す三角記号*/
		position: absolute;
		content: "";
		top: 13px;
		left: 0;
		width: 0;
		height: 0;
		border: 5px solid transparent;
		border-left-color: #ff0;
	}
	*#dropmenu > li:nth-child(7) ul li ul li ul:before {/*親メニューの６番目の子メニューに下位階層があることを示す三角記号*/
		position: absolute;
		content: "";
		top: 13px;
		left: 200%;
		margin-left: -20px;
		border: 5px solid transparent;
		border-right-color: #ff0;
		}
}

@media (hover: none) { /* マウスホバーのできない機種に適用する */
/*	#dropmenu > li > ul >  li { /* 子のメニューを表示しない */
/*		display: none;
	}*/
	#dropmenu > li > ul > li > ul >  li { /* 孫のメニューを表示しない */
		display: none;
	}
	#dropmenu > li > ul > li > ul > li > ul > li{ /* ひ孫のメニューを表示しない */
		display: none;
	}
	#dropmenu li ul li ul:before {/*ドロップメニューに下位階層があることを示す三角記号*/
		display: none;
	}
}

/*ナビを固定する*/
@media (min-width: 1000px) {
	.is-fixed {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 200;
	width: 100%;
	}
}
/*パンくずリスト*/
.cp_breadcrumb *, .cp_breadcrumb *:after, .cp_breadcrumb *:before {
	box-sizing: border-box;
}
.cp_breadcrumb {
	width: 100%;
	margin: 0.5rem auto;
	padding: 0;
	list-style: none;
    font-size: small;
    white-space: nowrap; /* 改行（行送り）を禁止させる */
    overflow-x: auto;  /* 横スクロールを可能にする */
	-webkit-overflow-scrolling: touch;
	overflow-y: hidden;
}
.cp_breadcrumb::-webkit-scrollbar{ /* スクロールバー全体 */
    width: 15px;
}
.cp_breadcrumb::-webkit-scrollbar-thumb{ /* スクロールバーのある部分 */
    background: #bbddbb;
	border: 2px outset #aaccaa;
    border-radius: 10px;
}
.cp_breadcrumb::-webkit-scrollbar-track-piece:start{ /* スクロールバーが表示されてない部分（前） */
    background: #fefefe;
	box-shadow:0 0 5px #dddddd inset ;
}
.cp_breadcrumb::-webkit-scrollbar-track-piece:end{ /* スクロールバーが表示されてない部分（後ろ） */
    background: #fefefe;
	box-shadow:0 0 5px #dddddd inset ;
}

.cp_breadcrumb li {
	display: inline-block;
	margin: 0 1.5rem 0 0;
}
.cp_breadcrumb a {
	position: relative;
	z-index: 1;
	padding: 0.2rem 0.8rem 0.2rem 1.1rem;
	text-decoration: none;
	color: #ffffff;
	border-radius: 0.4rem 0 0 0.4rem;
	background: #080;
	display: inline-block;
	height: 1.4rem;
	line-height: 1rem;
	transition: all 0.3s;
}
.cp_breadcrumb a:hover {
	background: #0a0;
}
.cp_breadcrumb a::after{
	background: #080;
	content: "";
	height: 2rem;
	position: absolute;
	right: -1rem;
	top: calc(50% - 1rem);
	width: 2rem;
	z-index: -1;
	transform: rotate(45deg);
	border-radius: .3rem;
	transition: all 0.3s;
}
.cp_breadcrumb a:hover::after {
	background: #0a0;
}
.cp_breadcrumb li:last-child a {
	cursor: default;
	pointer-events: none;
	color: black;
	background: transparent !important;
	font-weight: bold;
    padding-left: 0px;
}
.cp_breadcrumb li:last-child a:hover {
	background: none;
}
.cp_breadcrumb li:last-child a::before,
.cp_breadcrumb li:last-child a::after {
	content: normal;
}


/*left_col-matは特集ページへの枠を規定*/
div.left_col-mat {
	width: 180px;
	height: min-content;
	float: left;
	border: 2px #080 double;
	border-radius: 4px;
	margin-top: 10px;
	padding: 7px;
}
@media (max-width: 749.9px) {
	div.left_col-mat {
		margin-top: 20px;
		margin-left: 10px;
	}
}

/*#left_col-mat はコンサルタント試験等のボタンを規定*/
li.left_col-mat{
	float:left;
	border-radius: 5px;
	width:180px;
	padding: 1px;
	margin: 4px 0 0 0;
	list-style-type: none;
	line-height: 1.4;
	text-align: left;
	box-shadow: 0 0 2px #2a46cc;
}

li.left_col-mat a{
	display: block;
	border-radius: 5px;
	margin: 0;
	padding: 16px 0px 16px 10px;
	text-shadow: 0 1px 1px #fff;
	background: #8a9b0f;
	background: linear-gradient(#080, #040);
	box-shadow: inset 0 1px 1px rgba(255,255,255,0.5),inset 0 -1px 1px rgba(0,0,0,0.9);
	color: #fff;
	text-decoration: none;
	text-shadow: 0 1px 1px #fff;
	font-family: Arial,Helvetica,sans-serif;
/*	font-weight: bold;*/
/*	font-size:medium;*/
	font-size: small;
	line-height: 1.4;
	text-decoration: none;
}
li.left_col-mat :hover{
	background: linear-gradient(#0a0, #060);
}

/*social-buttonsはSNSのボタンを規定*/

.SNS-box-right {
	border: 2px red double;
	border-radius: 4px;
	width: 180px;
	height: 100%;
	margin: 20px 0 0 10px;
	padding: 0rem 0rem 0rem 5px;
	position: relative;
	float:left
}
@media (min-width:750px) {
	div.SNS-box-right {
		margin: 20px 0 0 0;
	}
}

.social-buttons{
	text-align: left;
}

a.noline {
	text-decoration: none;
}

p.sns-h {
    clear: both;
    display: block;
    margin: 5px 2px 5px 3.5rem;
    text-indent: -2rem;
    font-size: small;
	font-weight: 700;
	color: #008800;
    line-height: 1.3rem;
}
img.SNS-QR-img {
    margin: 10px 0 0 15px;
}
p.sns-qr {
    clear: both;
    display: block;
    margin: 2px 2px 5px 3.5rem;
    text-indent: -2rem;
    font-size: small;
    line-height: 1.3rem;
}

/*文字飾り*/
span.under1 {/*文字の下半分をマーカー色塗り*/
    background: linear-gradient(transparent 50%, #a8eaff 50%);
}
span.under2 {/*カラーマーカー（緑）*/
    background: linear-gradient(transparent 0, #8effa1 0);
}
span.under3 {/*文字の下側カラーマーカー（赤）*/
    background: linear-gradient(transparent 80%, #ff99ab 80%);
}
span.under4 {/*文字の下側アンダーライン（赤）*/
    border-bottom: solid 2px red;
}
span.under5 {/*文字の下側アンダーライン（黒）*/
    border-bottom: solid 2px #000000;
}
span.enclosed1 {/*囲み文字*/
    border: 1px solid;
    margin: 0 0.2rem;
	white-space: nowrap;
}
span.doubleline { /*二重取り消し線（オレンジ）*/
    background-image:url(img/doubleLine_orange.png);
    background-repeat:repeat-x;
    background-position: center;
}
span.doubleline2 { /*二重取り消し線（オレンジ）*/
    background-image:url(img/doubleLine_aqua.png);
    background-repeat:repeat-x;
    background-position: center;
}
span.nobr {
    white-space: nowrap;
}
span.red {
    color: #ff0000;
}
span.orange {
    color: #ff7f00;
    font-weight: 700;
}
span.fat-7 {
	font-weight: 700;
	color: #f00;
}
span.overline { /*文字の上にオーバーラインを引くだけ*/
	text-decoration: overline;
}
.emphasis01{/*傍点強調（オレンジ）*/
	display: inline-block;
	position: relative;
}
.emphasis01::before{
	position: absolute;
	top: -0.5em;
	left: 50%;
	transform: translate(-50%, 0);
	color: #fa3c5a;
	font-size: 1.5em;
	content: "・";
}

/*リンク*/
a.link_pdf {
	padding:0 22px 1px 0;
	background: url(../img/icon-pdf.png) no-repeat right 1px;
}
a.link_external {
	padding:0 22px 1px 0;
	background: url(../img/icon-external.png) no-repeat right 1px;
}
a.link_extlink {
	padding:0 22px 1px 0;
	background: url(../img/icon-extlink.png) no-repeat right 1px;
}
a.link_excel {
	padding:0 22px 1px 0;
	background: url(../img/icon-excel.png) no-repeat right 1px;
}
a.link_word {
	padding:0 22px 1px 0;
	background: url(../img/icon-word.png) no-repeat right 1px;
}

/*right_contactは外部へのリンクボタンを規定*/

div.right_contact {
	width: 230px;
	border-radius: 4px;
	margin: 15px 0 15px;
	padding: 5px;
}

.fr-btn {
    display: inline-block;           /* 改行なしのブロック要素 */
    position: relative;              /* 相対位置指定 */
    width: 280px ;
	height: 40px;
	margin: 20px auto 3px ;
	font-family: Arial,Helvetica,sans-serif;
	font-size: small;
    text-align: center;              /* 水平方向は中央揃え */
    vertical-align: middle;
    line-height: 2.5rem;               /* 行の高さ */
}
.fr-btn span {
    display: block;                  /* ブロック要素 */
    position: absolute;              /* 親要素の左上を基準位置 */
    width: 100%;                     /* 横幅 */
    height: 100%;                    /* 高さ */
    transform-style: preserve-3d;    /* 重なりを3Dで表示 */
    transition: 0.3s;   /* 変化時間 */
}
.fr-btn span:nth-child(1) {
    color: #ffffff;
    background: #006400;/*色*/
    border: solid 2px #003200;/*線色*/
    border-radius: 4px;/*角の丸み*/
    box-shadow: inset 0 2px 0 rgba(255,255,255,0.2), inset 0 -2px 0 rgba(0, 0, 0, 0.05);
    transform: rotateY(0deg);        /* 縦軸の回転なし */
    transform-origin: 60% 0% -90px;   /* transformの起点 */
}
.fr-btn span:nth-child(2) {
    color: #ffffff;
    background: #8f2e14;/*色*/
    border: solid 2px #752100;/*線色*/
    border-radius: 4px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
    text-shadow: 0 1px 0 rgba(0,0,0,0.2);
    transform: rotateY(90deg);/* 縦軸で90度回転 */
    transform-origin: 68% 0 -90px;   /* transformの起点 */
}
.fr-btn:hover span:nth-child(1) {
    transform: rotateY(-90deg);      /* 縦軸で前方に90度回転 */
}
.fr-btn:hover span:nth-child(2) {
    transform: rotateY(0deg);        /* 縦軸の回転なし */
}

/* ルビ */
ruby {
    line-height: 2.3em;
}
rt {
    margin-bottom: .01rem;
    transform: translateY(-.06rem);
    font-size: 70%;
	font-weight: 700;
    color: #8d213d;
}

/*フッター*/

#footer {
	clear: both;
	width: 100%;
	font-size: small;
}
div.foot-nav {
    display: block;
    float: right;
    margin: 10px 6rem 10px 0;
	font-size: small;}
a.foot-a {
    display: block;
    clear: both;
    line-height: 1.7rem;
}

p.footer {
    clear: both;
	text-align: center;
	margin-top: 20px;
	font-size: small;
}