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



body{
	background: #000;
}

.history_contents {
    width: 1080px;
    margin: 0 auto;
}

.breadcrumbs a{
	color: #fff;
}

/*黒背景ver*/

.head_wrap{
	background: #fff;
}

#contents{
	background: #000;
}

.service_contents .service_list .item {
    border: 1px solid #4a4a4a;
    background: #303030;
    color: #fff;
}

.service_contents .service_list .description .title {
    color: #ffffff;
}

@media (max-width: 700px){
	.service_contents .service_list .description .title {
		color: #ffffff;
	}
}

.foot_info {
	background: #fff;
}

.service_link li {
    background: #303030;
}

.service_link li a {
    background: url(../images/history/arrow_white.png) left 13px center / 5px auto no-repeat;
    color: #fff;
}

.service_link li a:hover {
    background: url(../images/arrow_black.png) left 13px center / 5px auto no-repeat;
}

ul.li_back li a:hover {
    color: #000;
}

/*---------*/

.chronology {
	width: 820px;
    float: left;
	margin: 0 auto 50px;
	padding: 30px 30px 50px;
	background: #000 url("../images/history/hist_back.jpg") repeat-y;
	background-position: center 50%;
	background-attachment: scroll; 
	background-size: 1100px auto;
}

@media (max-width: 1080px){
	.chronology {
	    width: 100%;
	    float: none;
	}
}
.crn_title {
    color: #fff;
    font-family: "ヒラギノ明朝 ProN W6", "HiraMinProN-W6", "HG明朝E", "ＭＳ Ｐ明朝", "MS PMincho", "MS 明朝", serif;
    font-size: 30px;
    line-height: 2.3;
    font-weight: bold;
    text-align: center;
}
.chronology .age {
	color: #902b26;
	margin: 50px 0 30px;
	line-height: 30px;
	font-family: "ヒラギノ明朝 ProN W6", "HiraMinProN-W6", "HG明朝E", "ＭＳ Ｐ明朝", "MS PMincho", "MS 明朝", serif;
	font-size: 30px;
	font-weight: bold;
	width: 100%;
	text-align: center;
	line-height: 1.2em;
}
.chronology li {
	margin: 0 0 30px;
	line-height: 1.4em;
	font-family: "ヒラギノ明朝 ProN W6", "HiraMinProN-W6", "HG明朝E", "ＭＳ Ｐ明朝", "MS PMincho", "MS 明朝", serif;
	font-size: 18px;
	font-weight: bold;
	text-align: left;
}


.service_visual {
    height: 400px;
    width: 100%;
    margin: 0 auto 50px;
    background: url(../images/history/history_main.jpg) center center / 1080px auto;
    background-size: cover;
}
/*
@media (max-width: 700px){
	.service_visual {
	    background-size: unset;
	}
}
*/
.service_visual .main_img,
.service_visual .main_copy{
	visibility: hidden;
}

@media (max-width: 1080px){
    .service_visual {
        height: auto;
        width: 100%;
        margin: 0;
        padding: 10px;
    }
}


.service_contents .top_message{
    background-color: #303030;
    color: #fff;

}

.copy01{
	color: #fff;
	font-family: "ヒラギノ明朝 ProN W6", "HiraMinProN-W6", "HG明朝E", "ＭＳ Ｐ明朝", "MS PMincho", "MS 明朝", serif;
}

.copy02{
	line-height: 1.8em;
}

#president_photo{
    width: 140px;
    float: right;
    margin-left: 20px;
}
#president_name{
    margin-bottom: 30px;
}

.halfbox{
	float: left;
    width: 60%;
    vertical-align: top;
    margin-top: -10px;
}

.halfbox p{
	line-height: 1.8em;
}

.halfbox:last-of-type{
	width: 40%;
    border-left: 10px #000 solid;
}

.halfbox img{
    display: inline-block;
    height: 140px;
    width: auto;
    float: left;
    margin-right: 20px;
}

.chronology .age br{display: none;}

@media screen and  (max-width: 700px){
	.halfbox,
	.halfbox:last-of-type{
		width:100%;
		border:0; 
	}
	.halfbox:last-of-type img{
		margin-right: 40px;
    	margin-left: 40px;
	}
	.chronology .age br{display: block;}
}


/*下層各期ページ*/
.chronology ul li span{
    display: block;
    font-size: 70%;
}
.chronology ul li span b{
	font-size: 150%;
    margin-right: 5px;
}

.chronology{
	position: relative;
}

.photo{
	position: absolute;
    left: 0px;
    width: 46%;
}


.chronology .left {
	float: left;
	width: 50%;
}
.chronology .right {
	float: right;
	width: 50%;
}

@media screen and  (max-width: 700px){
	.chronology .left,
	.chronology .right {
		width: 100%;
	}
	.photo{
	    position: relative;
	    left: 0;
	    width: 100%;
	    margin-top: -20px!important;
	    margin-bottom: 10px!important;
    }
}


.top_message_outer{
	padding:0 6px;
}

.service_contents .service_list ul li {
    list-style: none;
    width: 33.30%;
    padding: 0 6px 20px 6px;
}

.service_contents .service_list .description p{
	display: inline!important;
}


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

	.service_contents .service_list .description p{
		display: block!important;
	}

	.service_contents .service_list ul li {
	    float: none;
	    width: 100%;
	    height: auto;
	    border-top: 1px solid #B8B8B8;
	    background: url(../images/arrow_black.png) right 10px center / 5px auto no-repeat;
	    margin-bottom: 0;
	    padding: 0;
	}
}

#history_main_print{display: none;}







/*-----------print----------*/
@media print{

	/*改ページ*/
	.page-break {
		page-break-after: always;
	}
	

	.page-break-before  {
	    page-break-before:always
	}

	.service_contents .service_list .description p{
		display: inline!important;
	}

	.service_visual{
		display: none;
	}

	#history_main_print{
		display: block;
	}




	body {
	    background: #fff!important;
	}

	.chronology {
	    margin-bottom: 0;
	    padding-bottom: 0;
	}

	.service_link{
		display: none;
	}

	#contents {
	    background: #fff!important;
	}

	.breadcrumbs a {
	    color: #000;
	}

	.copy01 {
	    color: #000!important;
	}



	.crn_title{
		color: #000!important;
		clear: both;
	    padding-top: 20px;
	}


	.service_contents .top_message {
	    border:solid 1px #000!important;
	    background: #fff;
	    color: #000!important;
	    margin-bottom: 0px;
	}

	.service_contents .top_message.halfbox {
	    margin-top: 0;
	    border-top: 0px!important;
	}

	.service_contents .top_message.halfbox:last-of-type {
	    border-left: 0px #FFF solid!important;
	}

	.service_contents .service_list .item {
	    border: 1px solid #4a4a4a!important;
	    background: #fff!important;
	    color: #000!important;
	}


	.service_contents .service_list .description .title {
	    color: #000000;
	}

	.service_contents .service_list .image {
	    min-height: auto;
	}

	.service_contents .service_list .image img {
	    width: 100%;
	    height: auto;
	    position: relative;
	    transform: none;
	    top: 0;
	    left: 0;
	}

	.service_contents .service_list ul li {
	    width: 25%;
	}


	.service_contents .service_list .item {
	    height: auto;
	}

	.chronology{
		background: none;
	}


	.photo {
	    left: 120px;
	    width: 35%;
	}
}

