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

#rightslot.second{
	margin: 3% 0;
	min-height: 1000px;
}
h2{
	position: relative;
	font-size: 1.8em;
	font-family:"Zen Maru Gothic", "ヒラギノ丸ゴ Pro W4","ヒラギノ丸ゴ Pro","Hiragino Maru Gothic Pro","ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","HG丸ｺﾞｼｯｸM-PRO","HGMaruGothicMPRO";
	font-weight: 700;
	color: #78370c;
	margin-bottom: 1em;
}

h2 span{position: relative;}

h2 span:before {
	content: "";
	display: inline-block;
	position: absolute;
	left: 0;
	bottom: -10px;
	width: 100%;
	height: 5px;
	border-radius: 5px;
  background: #78370c;
}


/*
h2{
	color: #000;
	font-size: 1.8em;
	text-align: left;
	padding: 0 0 7px 0;
	margin: 0 0 1em 0;
	border-bottom: 2px solid #ea501b;
	font-weight: 700;
}
#second h3{
	font-size:20px;
	margin: 0 0 10px 0;
	padding:0;
	position: relative;
	text-align: left;
}
#second h3:before {
	width: 100%;
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
}
#second h3 span {
	background-color: #ea501b;
	color: #fff;
	display: inline-block;
	padding:2px 1.5rem 5px 1.5rem;
	position: relative;
	border-radius: 24px;
  font-weight: 700;
}
#second h3 {
	font-size: 1.2em;
	position: relative;
	color:#1c2c54;
	font-weight: 700;
	margin-bottom:10px;
	text-align: left;
}
#second h3:before {
	width: 100%;
	border-top: 3px dotted #1c2c54;
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
}

#second h3 span {
	background-color: #e3f0f6;
	display: inline-block;
	padding-right: 12px;
	position: relative;
}
#second h3{
	position: relative;
	padding-bottom: 10px;
	text-align: left;
	color: #2c4379;
	font-weight: 700;
	font-size: 1.2em;
	margin: 0 0 1.2em 0;
}

#second h3::before{
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 8px;
	background-image:
		repeating-linear-gradient(45deg, #2c4379 0px, #2c4379 1px, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 50%),
		repeating-linear-gradient(135deg, #2c4379 0px, #2c4379 1px, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 50%);
	background-size: 8px 8px;
}

#second .boxBorder h3{
	position: relative;
	padding-bottom: 10px;
	text-align: left;
	color: #990000;
	font-weight: 700;
	font-size: 1.2em;
	margin: 0 0 1.2em 0;
}

#second .boxBorder h3::before{
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 8px;
	background-image:
		repeating-linear-gradient(45deg, #990000 0px, #990000 1px, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 50%),
		repeating-linear-gradient(135deg, #990000 0px, #990000 1px, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 50%);
	background-size: 8px 8px;
}
#second h4 {
  text-align: left;
	color: #1f2c51; 
	border:3px double #aac7e0;
	background-color: #fff;
	padding: 0.5% 2.5% 0.8% 2%;
	font-weight:700;
	-moz-border-radius: 24px;
	-webkit-border-radius: 24px;
	border-radius: 24px;
	font-size: 1em;
	display: inline-block;
	margin-bottom: 0.8em;
	float: left;
}
#second.program h4 {margin-bottom: 0.2em;}
*/

/*
#second h4 span.h4_80{display: inline; float: left; width:80%;}
#second h4 span.ondemand{display: inline; float: right; background-color: #fff;color: #d69841;font-size: 0.7em; padding: 2px 1%;border-radius:12px; margin-top:0.5%;}
#second.program h4 {font-feature-settings: "palt";}


#second .boxBorder h4{
	color: #fff; 
	border:3px double #ffeded;
	background-color: #990000;
	font-size: 1em;
}
#second .one h4{
	border:none;
	background-color:transparent;
	font-size: 0.9em;
	color: #248a90;
	font-weight:400;
	padding: 0;
	margin-bottom: 0.1em;
}
#second .two h4{
	border:3px double #2c4379;
	background-color: #fff;
	font-size: 0.9em;
	color: #2c4379;
}

#second h5 {
	color:#222;
	margin-bottom:1em;
	text-align: left;
	font-size: 1.1em;
	font-weight:700;
	border-bottom: 2px dotted #222;
}
#second h5 span {
	padding:0 0 0.5% 0;
}

#second h6 {
	position: relative;
	color:#000;
	margin-bottom:1em;
	padding-left: 7px;
	text-align: left;
	font-size: 1em;
	font-weight:700;
	border-left: 4px solid #222;
}

#second h6.ver2 {
	position: relative;
	color:#3b838b;
	margin-bottom:5px;
	padding-left: 0;
	text-align: left;
	font-size: 1em;
	font-weight:700;
	border-left: none;
	line-height: 1.3;
}

#second h4 {
	font-size: 1.1em;
	position: relative;
	color:#2660ac;
	font-weight:400;
	margin-bottom:10px;
	text-align: left;
}
#second h4:before {
	width: 100%;
	border-top: 2px dotted #2660ac;
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
}
#second h4 span {
	background-color: #fff;
	display: inline-block;
	padding-right: 12px;
	position: relative;
}

#second h5.ver2 {
  text-align: left;
	color:#2660ac;
	background-color: #d1e8f8;
	float: left;
	padding:0.5% 2% 0.5% 1.5%;
	font-weight:400;
	-moz-border-radius: 20px;
	-webkit-border-radius: 20px;
	border-radius: 20px;
	font-size: 0.95em;
	border-left: none;
}
#second h5 span.fontRed{color:#ff3333;}
*/


/*welcome*/
#rightslot.second.welcome{}

#rightslot.second.welcome .presidents{
	width:100%;
	display: flex;
	align-items: flex-end;
	margin-bottom: 5%;
}
#rightslot.second.welcome .presidents.reverse{flex-direction: row-reverse;}

#rightslot.second.welcome .presidents figure{
	width: 21%;
	margin-left: 0;
	margin-right: 4%;
}
#rightslot.second.welcome .presidents.reverse figure{
	margin-left: 4%;
	margin-right: 0;
}

#rightslot.second.welcome .presidents figure img,
#rightslot.second.welcome .presidents.reverse figure img{
	width: 100%;
	height: auto;
}

#rightslot.second.welcome .presidents .profile{
	width: 75%;
	text-align: right;
}
#rightslot.second.welcome .presidents .profile p{color:#b27b1e;text-align: left;}
#rightslot.second.welcome .presidents.reverse .profile p{color:#b27b1e;text-align: right;}
#rightslot.second.welcome p.message{
	line-height: 2.2;
	font-size: 0.98em;
}


/*program*/
#second.program{}




/* ここからタブ
--------------------------------------------------------------------------------------*/
/* 
--------------------------------------------------------------------------------------*/
@media screen and (max-width: 1260px) {
/*
#index{
	width: 1080px;
	min-height:auto;
	margin: 0;
	padding:0;
}

*/
}


/* for Sp
--------------------------------------------------------------------------------------*/
/* 
--------------------------------------------------------------------------------------*/


@media screen and (max-width: 768px) {


#wrapper #contents #rightslot.second{
	width: 90% !important;
	padding: 5% 5% !important;
	margin:0;
	float:none;
	min-height:inherit;
}
	
h2{
	font-size: 1.5em;
	margin-bottom: 1em;
}

h2 span:before {
content: "";
    display: inline-block;
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 100%;
    height: 5px;
    border-radius: 5px;
  background: #78370c;
}

/*welcome*/
#rightslot.second.welcome{}

#rightslot.second.welcome .presidents,
#rightslot.second.welcome .presidents.reverse{
	width:100%;
	display: block;
	margin-bottom: 5%;
}

#rightslot.second.welcome .presidents figure,
#rightslot.second.welcome .presidents.reverse figure{
	width: 40%;
	margin-left: 30%;
	margin-right: 30%;
	margin-bottom: 5%;
}

#rightslot.second.welcome .presidents figure img,
#rightslot.second.welcome .presidents.reverse figure img{
	width: 100%;
	height: auto;
}
	
#rightslot.second.welcome .presidents.reverse .profile,
#rightslot.second.welcome .presidents .profile{
	width: 100%;
	text-align: center !important;
}
#rightslot.second.welcome .presidents .profile p{color:#b27b1e;}
#rightslot.second.welcome p.message{
	line-height: 2.2;
	font-size: 0.98em;
}

	

}