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

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

#news-photo-section {
	top:0;
    left: 0;
	position: fixed;
	display: block;
	height: 800px;
	width: 100%;
	background:url("../img/second/bg-base2.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) {
#news-photo-section {
	top:100px;
	height: 500px;
	background:url("../img/second/bg-base2_sp.jpg") no-repeat;
	background-size:contain;
	background-color: #194f9c;
}
}

/*------------------------
  news-introduction
--------------------------*/
#news-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) {
#news-introduction {
	width: 100%;
	padding-bottom: 15px;
}
}
#news-introduction h3 {
	width: 100%;
	padding: 60px 70px 20px;
	font-size: 1.8rem;
	line-height: 2;
	letter-spacing: 0.1em;
	font-family: yu-mincho-pr6n, sans-serif;
	box-sizing:border-box;/*paddingでwidthを広げない処理*/
}
@media only screen and (max-width: 750px) {
#news-introduction h3 {
	font-size: 1.4rem;
	padding: 40px 10px 10px;
	letter-spacing: 0.07em;
}
}
#news-introduction p{
	padding: 0px 0 0px;
	font-size: 1.6rem;
	line-height: 2;
	font-family: yu-mincho-pr6n, sans-serif;
	letter-spacing: 0.1em;
}
@media only screen and (max-width: 750px) {
#news-introduction p{
	padding: 0 10px 0px 10px;
	font-size: 1.3rem;
	line-height: 1.7;
	letter-spacing: 0em;
}
}
.line-box-category {
    position: relative;
	margin: 70px auto 20px;
    padding: 0.9em 1em 1em;
    border: solid 1px #194f9c;
	width: 650px;
}
.line-box-category .box-title {
	font-family: yu-mincho-pr6n, sans-serif;
    position: absolute;
    display: inline-block;
    top: -10px;
	left: 50%;
	-webkit-transform: translateX(-50%);
	transform: translateX(-50%);
    padding: 0 9px;
	font-size: 1.3rem;
    line-height: 1.5;
    background: #FFF;
	letter-spacing: 0.1em;
	color: #194f9c;
}
@media only screen and (max-width: 750px) {
.line-box-category {
	width: 90%;
	margin: 30px auto 0px;
}
.line-box-category .box-title {
	top: -10px;
	font-size: 1.1rem;
    line-height: 1.5;
}
}
.line-box-category li{
	display: inline-block; 
	padding-left: 2em;
	font-family: yu-mincho-pr6n, sans-serif;
	letter-spacing: 0.1em;
	font-size: 1.6rem;
}
@media only screen and (max-width: 750px) {
.line-box-category li{
	display: inline-block; 
	padding-left: 1em;
	font-family: yu-mincho-pr6n, sans-serif;
	letter-spacing: 0.1em;
	font-size: 1.3rem;
}
}
.line-box-category li:first-child {
	padding-left: 0em !important;
}

.line-box-category ul li a {
  color: #0f366d;
  padding: 0.5em 0 0.1em;
  text-decoration :none;
  position: relative;
  display: inline-block;
  transition: .3s;
}
.line-box-category ul li a:before {
	content:"";
	display:inline-block;
	width:0.75em;
	height:0.7em;
	background:url("../img/common/icon-arrow.svg") no-repeat;
	background-size:contain;
}
.line-box-category ul li a::after {
  position: absolute;
  bottom: 0;
  left: 0;
  content: '';
  width: 0;
  height: 1px;
  background-color: #0f366d;
  transition: .3s;
}
.line-box-category ul li a:hover::after {
  width: 100%;
}


/*------------------------
  news-contents
--------------------------*/

.news-contents-container {
	max-width: 1300px;
	width: 98%;
	background: #FFF;
	margin-left: auto;
	margin-right: auto;
	box-sizing:border-box;/*paddingでwidthを広げない処理*/
	padding: 20px 60px;
}
@media only screen and (max-width: 750px) {
.news-contents-container {
	width: 100%;
	padding: 20px 20px;
}
}

.midashi-notice{
	position: relative;
	text-align: center;
	font-size: 2.4rem;
	font-family: yu-mincho-pr6n, sans-serif;
	font-style: normal;
	color: #194f9c;
	letter-spacing: 0.1em;
	font-weight: 400;
	margin-bottom: 20px;
}
.midashi-notice:before {
	position: absolute;
	top: calc(50% - 1px);
	left: 0;
	width: 100%;
	height: 2px;
	content: '';
	background: #194f9c;
}
.midashi-notice span {
	position: relative;
	padding: 0 15px;
	background: #fff;
}
@media only screen and (max-width: 750px) {
.midashi-notice {
	font-size: 1.6rem;
	line-height: 1.2;
	letter-spacing: 0em;
	padding: 0 20px;
}
.midashi-notice:before {
	position: absolute;
	top: calc(50% - 1px);
	left: 0;
	width: 100%;
	height: 1px;
	content: '';
	background: #194f9c;
}
.midashi-notice span {
	position: relative;
	padding: 0 8px 3px;
	background: #fff;
}
}
.midashi-serious {
	position: relative;
	text-align: center;
	font-size: 2.4rem;
	font-family: yu-mincho-pr6n, sans-serif;
	font-style: normal;
	color: #a91212;
	letter-spacing: 0.1em;
	font-weight: 400;
	margin-bottom: 20px;
}
.midashi-serious:before {
	position: absolute;
	top: calc(50% - 1px);
	left: 0;
	width: 100%;
	height: 2px;
	content: '';
	background: #a91212;
}
.midashi-serious span {
	position: relative;
	padding: 0 15px;
	background: #fff;
}
@media only screen and (max-width: 750px) {
.midashi-serious {
	font-size: 1.6rem;
	line-height: 1.2;
	letter-spacing: 0em;
	padding: 0 20px;
}
.midashi-serious:before {
	position: absolute;
	top: calc(50% - 1px);
	left: 0;
	width: 100%;
	height: 1px;
	content: '';
	background: #a91212;
}
.midashi-serious span {
	position: relative;
	padding: 0 8px 3px;
	background: #fff;
}
}

/*------------------------
   お知らせ notice
--------------------------*/
.notice-outer {
	width:100%;
	text-align: left;
	padding: 0 20px;
	box-sizing:border-box;/*paddingでwidthを広げない処理*/
}
@media only screen and (max-width: 750px){
.notice-outer {
	padding: 0 0px;
}
}	
.notice-outer p{
	margin-bottom: 3em;
	display: block;
}
.notice-outer a:link {
	font-size: 1.7rem;
	color:#0f366d;
	text-decoration: none;
	outline: none;
}
@media only screen and (max-width: 750px){
.notice-outer a:link {
	font-size: 1.4rem;
}	
}	

.notice-outer a:visited {
	color:#0f366d;
	text-decoration: none;
	outline: none;
}
.notice-outer a:hover{
}

.notice-line-text{
 	position: relative;
 	z-index: 1;
	display: block;
	pointer-events: none;
}
.notice-line-text:before{
 	content: '';
	position: absolute;
 	left: 0;
 	bottom: -7px;/*テキストからの距離*/
 	width: 0%;/*初期状態では下線非表示*/
 	height: 1px;/*下線の高さ*/
 	background: #DDD;/*下線の色*/
 	z-index: -1;
	width: 100%;/*hover時に表示*/
}
.notice-line-text:after{
 	content: '';
	position: absolute;
 	left: 0;
 	bottom: -7px;/*テキストからの距離*/
 	width: 0%;/*初期状態では下線非表示*/
 	height: 2px;/*下線の高さ*/
 	background: #FFF;/*下線の色*/
 	z-index: -1;
	width: 0%;/*hover時に表示*/
}
.notice-line:hover .notice-line-text:after{
 	background: #194f9c;/*下線の色*/
 	transition: all 0.4s;/*アニメーション速度*/
	width: 100%;/*hover時に表示*/
}

/*------------------------
   お知らせ serious
--------------------------*/

.serious-outer {
	width:100%;
	text-align: left;
	padding: 0 20px 50px;
	box-sizing:border-box;/*paddingでwidthを広げない処理*/
}
@media only screen and (max-width: 750px){
.serious-outer {
	padding: 0 0 20px;
}
}
.serious-outer p{
	margin-bottom: 3em;
	display: block;
}
.serious-outer a:link {
	font-size: 1.7rem;
	color:#a91212;
	text-decoration: none;
	outline: none;
}
@media only screen and (max-width: 750px){
.serious-outer a:link {
	font-size: 1.4rem;
}	
}	

.serious-outer a:visited {
	color:#a91212;
	text-decoration: none;
	outline: none;
}
.serious-outer a:hover{
}

.serious-line-text{
 	position: relative;
 	z-index: 1;
	display: block;
	pointer-events: none;
}
.serious-line-text:before{
 	content: '';
	position: absolute;
 	left: 0;
 	bottom: -7px;/*テキストからの距離*/
 	width: 0%;/*初期状態では下線非表示*/
 	height: 1px;/*下線の高さ*/
 	background: #DDD;/*下線の色*/
 	z-index: -1;
	width: 100%;/*hover時に表示*/
}
.serious-line-text:after{
 	content: '';
	position: absolute;
 	left: 0;
 	bottom: -7px;/*テキストからの距離*/
 	width: 0%;/*初期状態では下線非表示*/
 	height: 2px;/*下線の高さ*/
 	background: #FFF;/*下線の色*/
 	z-index: -1;
	width: 0%;/*hover時に表示*/
}
.serious-line:hover .serious-line-text:after{
 	background: #a91212;/*下線の色*/
 	transition: all 0.4s;/*アニメーション速度*/
	width: 100%;/*hover時に表示*/
}

/*------------------------
   お知らせ 共通
--------------------------*/

.entry-date {
	font-size: 1.4rem;
	color:#000000;
	letter-spacing: 0.1em;
}
.entry-category {
	font-size: 1.4rem;
	color:#000000;
	margin-left: 10px;
}
.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -moz-font-feature-settings: 'liga';
  -moz-osx-font-smoothing: grayscale;
  display: inline-flex;
  vertical-align:top;
	
}
.material-icons.md-21 { 
	font-size: 18px; line-height: 1.5em;
}
@media only screen and (max-width: 750px) {
.entry-date {
	font-size: 1.3rem;
	letter-spacing: 0.1em;
}
.entry-category {
	font-size: 1.3rem;
	margin-left: 10px;
}
.material-icons.md-21 { 
	font-size: 14px; line-height: 1.5em;
}
}


.article-outer {
	width:100%;
	text-align: left;
	padding: 0 40px 50px;
	box-sizing:border-box;/*paddingでwidthを広げない処理*/
	display: block;
}
@media only screen and (max-width: 750px){
.article-outer {
	padding: 0 0px 20px;
}
}
.article-outer img{
	padding: 10px 0;
}
.article-outer h3{
	margin-top: 5px;
	font-size: 2.5rem;
	line-height: 1.5;
	font-weight: 600;
}
@media only screen and (max-width: 750px){
.article-outer h3{
	margin-top: 5px;
	font-size: 1.8rem;
}
}
.article-outer p{
	margin: 50px 0 50px;
	font-size: 1.5rem;
	line-height: 2.4;
	width: 100%;
	display: block;
}
@media only screen and (max-width: 750px){
.article-outer p{
	margin: 20px 0 20px;
	font-size: 1.4rem;
	line-height: 2;
}
}
.article-outer p a:link {
	text-decoration: underline;
	color:#0f366d;
	font-weight: 600;
}
.article-outer p a:visited {
	text-decoration: underline;
	color:#0f366d;
	font-weight: 600;
}
.article-outer p a:hover{
	text-decoration: none;
}
.article-line {
	width: 100%;
	height: 8px;
	background-color: #194f9c;
	margin: 0 0 50px;
}
@media only screen and (max-width: 750px){
.article-line {
	height: 5px;
	margin: 0 0 30px;
}
}
.serious-article-line {
	width: 100%;
	height: 8px;
	background-color: #a91212;
	margin: 0 0 50px;
}
@media only screen and (max-width: 750px){
.serious-article-line {
	height: 5px;
	margin: 0 0 30px;
}
}
.careers-article-line {
	width: 100%;
	height: 8px;
	background-color: #a0c45a;
	margin: 0 0 50px;
}
@media only screen and (max-width: 750px){
.careers-article-line {
	height: 5px;
	margin: 0 0 30px;
}
}
/*------------------------
   　一覧に戻るボタン
--------------------------*/


/*== ボタン共通設定 */

.btn-back-outer{
	display: inline-block; 
	font-family: yu-mincho-pr6n, sans-serif;
	letter-spacing: 0.1em;
	font-size: 1.5rem;
	color:#194f9c;
}
@media only screen and (max-width: 750px){
.btn-back-outer{
	font-size: 1.3rem;
}
}
.btn-back-outer a:before {
	content:"";
	display:inline-block;
	width:0.75em;
	height:0.7em;
	background:url("../img/common/icon-arrow-left.svg") no-repeat;
	background-size:contain;
}

.simple_square_btn2 {
	display: block;
	position: relative;
	padding: 0.8em;
	text-align: center;
	text-decoration: none;
	color: #194f9c;
	background: #fff;
	border:1px solid #194f9c;
	padding: 10px 40px;
	transition: all 0.4s;/*アニメーション速度*/
}
.simple_square_btn2:hover {
	 background: #194f9c;
     color: #fff;
	 cursor: pointer;
	 text-decoration: none;
	 transition: all 0.4s;/*アニメーション速度*/
}


