/* =================================
------------------------------------
  Riddle - Portfolio
  Version: 1.0
 ------------------------------------ 
 ====================================*/

/*------------------------
  history メインビジュアル
--------------------------*/
#header-container {
	background-color: #FFF;
}

#history-photo-section {
	top:0;
    left: 0;
	position: fixed;
	display: block;
	height: 800px;
	width: 100%;
	background:url("../img/second/bg-history.jpg")top center no-repeat;
	background-size:cover;
	animation: fadeIn 3.5s ease 0s 1 normal;
    -webkit-animation: fadeIn 3.5s ease 0s 1 normal;
	z-index: -10;!important;
}
@media only screen and (max-width: 750px) {
#history-photo-section {
	top:100px;
	height: 500px;
	background:url("../img/second/bg-history_sp.jpg") no-repeat;
	background-size:contain;
	background-color: #194f9c;
}
}

/*------------------------
  history-introduction
--------------------------*/
#history-introduction {
	max-width: 1300px;
	width: 98%;
	margin-top:-100px;
	background: #FFFFFF;
	position:relative;
	margin-left: auto;
	margin-right: auto;
	padding-bottom: 30px;
	display: block;
}
@media only screen and (max-width: 750px) {
#history-introduction {
	width: 100%;
	padding-bottom: 10px;
}
}
#history-introduction h3 {
	width: 100%;
	padding: 15px 20px 20px;
	font-size: 3.2rem;
	line-height: 1.4;
	letter-spacing: 0.15em;
	font-family: yu-mincho-pr6n, sans-serif;
	box-sizing:border-box;/*paddingでwidthを広げない処理*/
}
@media only screen and (max-width: 750px) {
#history-introduction h3 {
	font-size: 2rem;
	padding: 10px 10px 0px;
	letter-spacing: 0.07em;
}
}
.history-midashi {
	position: relative;
	text-align: center;
	font-size: 2.8rem;
	font-family: yu-mincho-pr6n, sans-serif;
	font-style: normal;
	color: #000;
	letter-spacing: 0.17em;
	font-weight: 400;
	width: 600px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 60px;
}
@media only screen and (max-width: 750px) {
.history-midashi {
	font-size: 1.7rem;
	letter-spacing: 0.02em;
	font-weight: 400;
	width: 90%;
	margin-top: 30px;
}
}
.history-midashi:before {
	position: absolute;
	top: calc(50% - 1px);
	left: 0;
	width: 100%;
	height: 1px;
	content: '';
	background: #0f366d;
}
.history-midashi span {
	position: relative;
	padding: 0 10px;
	background: #fff;
}
/*------------------------
  history-contents
--------------------------*/

.history-contents-container {
	max-width: 1300px;
	width: 98%;
	background: #FFF;
	margin-left: auto;
	margin-right: auto;
	box-sizing:border-box;/*paddingでwidthを広げない処理*/
	padding: 20px 40px 20px;
}
@media only screen and (max-width: 750px) {
.history-contents-container {
	width: 100%;
	padding: 20px 10px;
}
}
.history-contents-outer {
	display: flex;
 	justify-content: center;
 	align-items: top;
	padding: 20px 40px 10px;
	box-sizing:border-box;/*paddingでwidthを広げない処理*/
}
@media only screen and (max-width: 750px) {
.history-contents-outer {
	padding: 10px 0;
}
}
.history-contents-left {
	width: 150px;
	color: #194f9c;
	font-size: 2.2rem;
	line-height: 1.4;
	font-family: yu-mincho-pr6n, sans-serif;
	padding: 10px 0;
}
@media only screen and (max-width: 750px) {
.history-contents-left {
	width: 75px;
	font-size: 1.6rem;
}
}

.history-contents-right {
	width: 100%;
	text-align: left;
	padding: 10px 0 10px 30px;
	border:solid #194f9c;
	border-width:0 0 0 2px;
}
@media only screen and (max-width: 650px) {
.history-contents-right {
	width: 100%;
	padding: 10px 0 10px 10px;
}
}
.history-contents-right h4 {
	font-size: 2.2rem;
	line-height: 1.4;
	text-align: left;
	font-family: yu-mincho-pr6n, sans-serif;
	padding: 0 0 0;
	color: #194f9c;
}
@media only screen and (max-width: 750px) {
.history-contents-right h4 {
	font-size: 1.5rem;
	padding: 0 0 0;
}
}
.history-contents-right p {
	text-align: left;
	padding: 15px 0 0;
}
@media only screen and (max-width: 750px) {
.history-contents-right p {
	font-size: 1.3rem;
	padding: 10px 0 0;
}
}
.history-contents-right figure {
	width: 250px;
	float: right;
}
@media only screen and (max-width: 750px) {
.history-contents-right figure {
	width: 125px;
	float: right;
}
}
.history-contents-right img {
	width: 100%;
	padding-left: 40px;
	padding-bottom: 10px;
}
@media only screen and (max-width: 750px) {
.history-contents-right img {
	padding-left: 10px;
}
}
.box26 {
    position: relative;
    margin: 2em 0;
    padding: 0.5em 1em;
    border: solid 1px #194f9c;
    border-radius: 6px;
	width: 60%;
}
.box26 .box-title {
	font-family: yu-mincho-pr6n, sans-serif;
    position: absolute;
    display: inline-block;
    top: -13px;
    left: 10px;
    padding: 0 9px;
	font-size: 1.8rem;
    line-height: 1.5;
    background: #FFF;
	color: #194f9c;
}
.box26 p {
    margin: 0; 
    padding: 10px 0 0 0;
	font-size: 1.4rem;
	color: #678bbe;
}
@media only screen and (max-width: 750px) {
.box26 {
	width: 100%;
    margin: 1.5em 0 0;
}
.box26 .box-title {
	font-size: 1.5rem;
    line-height: 1.7;
}
.box26 p {
	font-size: 1.3rem;
}
}

