@charset "utf-8";

/* -----------------------------------------------------------
CSS Information

 File name:      news.css
 Update:         2017.2.10
 Style Info:     ニュースCSSファイル
----------------------------------------------------------- */
/********************************************
モバイルファースト
*********************************************/
/* -----------------------------------
NEWS一覧
------------------------------------ */
/***共通の画像クロップ設定***/
* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}
.focal_point {
	width:100%;
	height:auto;
	overflow:hidden;
}
.focal_point img {
	width:100%;
	max-width:100%;
	height:auto;
	-ms-interpolation-mode: bicubic;
}
.focal_point p {
	position:relative;
	max-width:none;
	height:auto;
}
/***ページタイトル***/
#page_title.focal_point {
	overflow:hidden;
}
#page_title.focal_point img {
	height:auto;
}
#page_title.focal_point p {
	margin:0em -14em
}

/***ニュース***/
#news {
	margin-top:30px;
}
#news h3 {
	text-align:center;
	margin-top:5px;
	font-size:16px;
	font-weight:bold;
}
#news ul#news_filter {
	display:none;
}
#news ul#news_article {
	margin-top:15px;
	padding:0 20px 40px 20px;
}
#news ul#news_article li {
	width:100%;
	height:220px;
	text-align:center;
	margin-bottom:15px;
}

#news>ul>li>div {
	background:#FFF;
	height:100%;
	position:relative;
}

#news ul#news_article li .tag {
	position:absolute;
	top:5px;
	left:5px;
	color:#FFF;
	width:20%;
	font-size:12px;
	padding:2px 0;
	z-index:2;
	box-sizing:border-box;
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
}
#news ul#news_article li .news_info {
	background:#eac435;
}
#news ul#news_article li .news_store {
	background:#03cea4;
}
#news ul#news_article li .news_product {
	background:#345995;
}
#news ul#news_article li .news_event {
	background:#ef6f6c;
}
#news ul#news_article li .news_thumb {
	width:100%;
	height:140px;
	text-align:center;
	overflow:hidden;
	border:1px solid #bbbbbb;
}
#news ul#news_article li .news_thumb img {
    width: 100%;
    max-width: 100%;
    height: auto;
    -ms-interpolation-mode: bicubic;
}
/*画像を天地中央で表示したい時（デフォルト）*/
#news ul#news_article li .news_thumb p {
    position: relative;
    max-width: none;
    height: auto;
	margin:-2em 0;
}
/*画像の上部を表示したい時*/
#news ul#news_article li .news_thumb.p_top p {
    position: relative;
    max-width: none;
    height: auto;
	margin:0 0;
}
#news ul#news_article li .news_contents {
	padding:5px;
	text-align:left;
}
#news ul#news_article li .news_date {
	color:#124f02;
}
#news ul#news_article li .news_title {
	color:#3f3f3f;
	line-height:1.2;
}
#news ul#news_article li a {
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	text-indent:-9999px;
}
#news ul#news_article li a:hover {
	background-color:rgba(255,255,255,0.3);
}
/*ページャー*/
#news_pager { margin:20px 20px 50px 20px; }
#news_pager li {
	float:left;
	width:14.2%;
	font-size:18px;
	padding:0 5px;
	text-align:center;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
#news_pager li.active p { background:#3f3f3f; color:#FFF; }
#news_pager li p { border:1px solid #3f3f3f; padding:5px 0; }
#news_pager li p:hover { background:#3f3f3f; }
#news_pager li a { color:#3f3f3f;}
#news_pager li a:hover { color:#FFF; }

/* -----------------------------------
NEWS詳細
------------------------------------ */
#news_detail {
	margin:70px 10px 0 10px;
	padding-bottom:40px;
}
h2#page_title {
	font-size:28px;
	font-weight:bold;
}
h2#page_title:after {
	position: absolute;
	bottom: 0;
	left: 0;
	right:0;
	margin:auto;
	content: '';
	width: 0;
	height: 0;
	border-bottom: none;	
}
#news_detail p.tag {
	color:#FFF;
	width:60px;
	font-size:12px;
	padding:2px 0;
	margin-left:auto;
	box-sizing:border-box;
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	text-align:center;
}
#news_detail p.news_info {
	background:#eac435;
}
#news_detail p.news_store {
	background:#03cea4;
}
#news_detail p.news_product {
	background:#345995;
}
#news_detail p.news_event {
	background:#ef6f6c;
}
#news_detail h3#article_title {
	font-size:18px;
	text-align:center;
	line-height:1.2;
	font-weight:normal;
	position:relative;
	padding:15px 0;
	margin-top:2px;
	color:#000;
}
#news_detail h3#article_title:before {
	position: absolute;
	top: 0;
	left: 0;
	right:0;
	margin:auto;
	content: '';
	width: 100%;
	height: 0;
	border-top: 1px solid #c1c1c1;
}
#news_detail h3#article_title:after {
	position: absolute;
	bottom: 0;
	left: 0;
	right:0;
	margin:auto;
	content: '';
	width: 100%;
	height: 0;
	border-top: 1px solid #c1c1c1;
}
#news_detail #news_date {
	text-align:right;
	color:#828282;
}
#news_detail #news_article_detail {
	margin-top:20px;
}
#news_detail #news_article_detail p {
	margin-top:20px;
	text-align:left;
}
#news_detail #news_article_detail img {
	max-width:100%;
	display:block;
	margin:0 auto;
}

/********************************************
ランドスケープ
*********************************************/
@media screen and (min-width:480px){
	/* -----------------------------------
	NEWS一覧
	------------------------------------ */	
	/***NEWS***/
	#news ul#news_article {
		padding:0 20px 60px 20px;
	}
	#news ul#news_article li {		
		width:50%;
		float:left;
		margin-bottom:20px;
		box-sizing:border-box;
		-webkit-box-sizing:border-box;
		-moz-box-sizing:border-box;
	}
	#news ul#news_article li:nth-child(even){
		float:right;
	}	
	#news ul#news_article li:nth-child(n+5) {
		display:block;
	}
	#news>ul>li>div {
		width:97%;
		-webkit-box-shadow: 2px 2px 5px 0px rgba(50, 50, 50, 0.2);
		-moz-box-shadow:    2px 2px 5px 0px rgba(50, 50, 50, 0.2);
		box-shadow:         2px 2px 5px 0px rgba(50, 50, 50, 0.2);
	}
	#news ul#news_article li:nth-child(even)>div{
		margin-left:auto;
	}	
	#news ul#news_article li .tag {		
		width:25%;
	}
	#news ul#news_article li .news_thumb {
		height:120px;
		border:none;
		border-bottom:1px solid #bbbbbb;
		
	}
	/*画像を天地中央で表示したい時（デフォルト）*/
	#news ul#news_article li .news_thumb p {
		margin:-1em 0;
	}
	#news ul#news_article li .news_contents {
		padding:5px 10px;
	}
	
	/*ページャー*/
	#news_pager {
		width:60%;
		margin:0 auto;
		margin-top:30px;
		margin-bottom:50px;
	}
	
	/* -----------------------------------
	NEWS詳細
	------------------------------------ */
	#news_detail #news_article_detail {
		margin:30px 10px 50px 10px;
	}

}


/********************************************
ランドスケープ
*********************************************/
@media screen and (min-width:640px){
	/* -----------------------------------
	NEWS一覧
	------------------------------------ */
	/***ページタイトル***/
	#page_title.focal_point p {
		margin-top:-2em
	}
	
	/***NEWS***/
	#news ul#news_article {
		margin-top:20px;
		padding:0 30px 60px 30px;
	}
	#news ul#news_article li {		
		margin-bottom:30px;
	}
	#news>ul>li>div {
		width:95%;
	}
	
	/*画像を天地中央で表示したい時（デフォルト）*/
	#news ul#news_article li .news_thumb p {
		margin:-2.8em 0;
	}
	#news ul#news_article li .news_contents {
		padding:10px 10px;
	}
	/*ページャー*/
	#news_pager {
		width:50%;
	}
	
	/* -----------------------------------
	NEWS詳細
	------------------------------------ */
	#news_detail {
		margin:80px 10px 0 10px;
		padding-bottom:60px;
	}
	h2#page_title {
		font-size:36px;
		font-weight:bold;
		margin-bottom:10px;
	}
	#news_detail p.tag {
		width:70px;
		font-size:14px;
	}
	#news_detail h3#article_title {
		font-size:24px;
	}
	#news_detail #news_date {
		font-size:16px;
	}
	#news_detail #news_article_detail {
		font-size:16px;
	}
	#news_detail #news_article_detail p{
		margin-top:25px;
	}

}

/********************************************
タブレット
*********************************************/
@media screen and (min-width:768px){
	/* -----------------------------------
	NEWS一覧
	------------------------------------ */
	/***NEWS***/
	#news ul#news_article li {		
		width:33.3%;
	}
	#news ul#news_article li:nth-child(even){
		float:left;
	}
	#news>ul>li>div {
		width:97%;
	}
	#news ul#news_article li:nth-child(even)>div{
		margin-right:auto;
		margin-left:0;
	}
	#news ul#news_article li:nth-child(3n-1)>div {
		margin-right:auto;
		margin-left:auto;
	}
	#news ul#news_article li:nth-child(3n)>div {
		margin-left:auto;
		margin-right:0;
	}
	#news ul#news_article li:nth-child(n+19) {
		display:none;
	}
	#news ul#news_article li .tag {		
		width:25%;
	}
	#news ul#news_article li .news_thumb {
		height:120px;
		border:none;
		border-bottom:1px solid #bbbbbb;
		
	}
	/*画像を天地中央で表示したい時（デフォルト）*/
	#news ul#news_article li .news_thumb p {
		margin:-1em 0;
	}
	#news ul#news_article li .news_contents {
		padding:5px 10px;
	}
	
	/*ページャー*/
	#news_pager {
		width:40%;
	}
	
	/* -----------------------------------
	NEWS詳細
	------------------------------------ */
	#news_detail {
		margin:80px 30px 0 30px;
	}
	h2#page_title {
		margin-bottom:20px;
	}
	#news_detail h3#article_title {
		font-size:26px;
	}
	#news_detail #news_article_detail p{
		margin-top:40px;
	}
}

/********************************************
タブレット　ランドスケープ
*********************************************/
@media only screen and (min-width: 1024px) {
	/* -----------------------------------
	NEWS一覧
	------------------------------------ */
	/***ページタイトル***/
	#page_title.focal_point p {
		margin:0em -5em;
		margin-top:-3em
	}
	/***NEWS***/
	#news ul#news_article {
		margin-top:30px;
		padding:0 30px 60px 30px;
	}
	
	#news>ul>li>div {
		width:95%;
	}
	
	/* -----------------------------------
	NEWS詳細
	------------------------------------ */
	#news_detail {
		margin:80px 30px 0 30px;
		padding-bottom:80px;
	}
	h2#page_title {
		font-size:36px;
	}
	#news_detail h3#article_title {
		font-size:30px;
	}
}

/********************************************
PC
*********************************************/
@media only screen and (min-width: 1051px) {
	/* -----------------------------------
	NEWS一覧
	------------------------------------ */
	/***ページタイトル***/
	#page_title.focal_point p {
		margin:0em -8em;
		margin-top:-1em
	}
	
	/***NEWS***/
	#news {
		margin-left:35px;
		margin-right:35px;
	}
	/*filter*/
	#news ul#news_filter {
		display:block;
		width:750px;
		border:2px solid #000;
		border-bottom:none;
		border-right:none;
		margin:0 auto;
		margin-top:30px;
		position:relative;
		box-sizing:border-box;
		-webkit-box-sizing:border-box;
		-moz-box-sizing:border-box;
	}
	#news ul#news_filter>li {
		width:20%;
		float:left;
		border-bottom:2px solid #000;
		box-sizing:border-box;
		-webkit-box-sizing:border-box;
		-moz-box-sizing:border-box;
	}
	#news ul#news_filter>li>a {
		display:block;
		padding:5px 0;
		border-right:2px solid #000;
		text-align:center;
		color:#000;
		background:#FFF;
		transition:all 0.5s;
		box-sizing:border-box;
		-webkit-box-sizing:border-box;
		-moz-box-sizing:border-box;
	}
	#news ul#news_filter>li.news_all:hover>a, #news ul#news_filter>li.news_all.selected>a {
		color:#FFF;
		background:#c7c7c7;
	}
	#news ul#news_filter>li.news_store:hover>a, #news ul#news_filter>li.news_store.selected>a {
		color:#FFF;
		background:#03cea4;
	}
	#news ul#news_filter>li.news_store:hover {
		border-bottom:2px solid #03cea4;
	}
	#news ul#news_filter>li.news_product:hover>a, #news ul#news_filter>li.news_product.selected>a {
		color:#FFF;
		background:#345995;
	}
	#news ul#news_filter>li.news_event:hover>a, #news ul#news_filter>li.news_event.selected>a {
		color:#FFF;
		background:#ef6f6c;
	}
	#news ul#news_filter>li.news_info:hover>a, #news ul#news_filter>li.news_info.selected>a{
		color:#FFF;
		background:#eac435;
	}
	
	#news #sub_menu {
		display:none;
		position:absolute;
		top:31px;
		left:70px;
		background:#03cea4;
		border-left:2px solid #000;
		border-right:2px solid #000;
		border-bottom:2px solid #000;
		transition:all 0.5s;
	}
	#news #sub_menu.active {
		display:block;	
	}
	#news #sub_menu li {
		float:left;
		width:60px;
		text-align:center;
	}
	#news #sub_menu li.long {
		float:left;
		width:110px;
		text-align:center;
	}
	#news #sub_menu li a{
		display:block;
		color:#FFF;
		padding:5px 0;
		background:#03cea4;
		transition:all 0.5s;
	}
	#news #sub_menu li a:hover{
		display:block;
		color:#FFF;
		padding:5px 0;
		background:#03cea4;
		transition:all
	}
	#news #sub_menu li#sub_izumisano a:hover{
		background:#1d62ac;
	}
	#news #sub_menu li#sub_sakai a:hover{
		background:#ebd134;
	}
	#news #sub_menu li#sub_shinsaibashi a:hover{
		background:#e82c33;
	}
	#news #sub_menu li#sub_kishiwada a:hover{
		background:#19C406;
	}
	#news #sub_menu li#sub_yawata a:hover{
		background:#7d368f;
	}
	#news #sub_menu li#sub_wakayama a:hover{
		background:#ff5a00;
	}
	#news #sub_menu li#sub_amagasaki a:hover{
		background:#ffb3ba;
	}
	#news #sub_menu li#sub_kankan a:hover{
		background:#1e6300;
	}
	#news #sub_menu li#sub_lalaport a:hover{
		background:#00225C;
	}
	
	
	#news ul#news_article {
		width:100%;
		margin-top:70px;
		padding:0;
		padding-bottom:60px;
	}
	#news ul#news_article li {		
		/*width:25%;*/
		height:250px;
		padding:0 10px;
		margin-bottom:25px;
	}
	#news ul#news_article li:nth-child(even){
		float:left;
	}	
	#news ul#news_article li:nth-child(n+7) {
		display:block;
	}
	#news>ul>li>div {
		width:100%;
	}
	#news ul#news_article li .tag {		
		width:28%;
	}
	#news ul#news_article li .news_thumb {
		height:140px;
		border:none;
		border-bottom:1px solid #bbbbbb;
		
	}
	/*画像を天地中央で表示したい時（デフォルト）*/
	#news ul#news_article li .news_thumb p {
		margin:0em -1em;
	}
	#news ul#news_article li .news_contents {
		padding:10px 10px;
	}
	
	/* -----------------------------------
	NEWS詳細
	------------------------------------ */
	#news_detail {
		margin:30px 40px 0 40px;
		padding-bottom:80px;
	}
	h2#page_title {
		font-size:38px;
		margin-bottom:25px;
	}
	#news_detail h3#article_title {
		font-size:32px;
	}
	#news_detail #news_date {
		font-size:16px;
	}
}

/********************************************
PC
*********************************************/
@media only screen and (min-width: 1100px) {
}

/********************************************
PC
*********************************************/
@media only screen and (min-width: 1280px) {
	/* -----------------------------------
	NEWS一覧
	------------------------------------ */
	/***NEWS***/
	#news {
		margin-top:80px;
	}
	#news ul#news_article {
		padding-bottom:80px;
	}
	#news ul#news_article li {		
		width:25%;
		height:250px;
		padding:0 10px;
		margin-bottom:25px;
	}
	
	/*ページャー*/
	#news_pager {
		width:30%;
		margin-top:50px;
		margin-bottom:80px;
	}
	
	/* -----------------------------------
	NEWS詳細
	------------------------------------ */
	#news_detail {
		margin:40px 50px 0 50px;
		padding-bottom:80px;
	}
	#news_detail #news_article_detail{
		margin:40px 30px 50px 30px;
	}
}

/********************************************
PC
*********************************************/
@media only screen and (min-width: 1370px) {
	/* -----------------------------------
	NEWS一覧
	------------------------------------ */
	/***NEWS***/
	#news ul#news_article {
		text-align:center !important;
	}
	#news ul#news_article li {
		width:277px;
		height:250px;
		float:none;
		margin-bottom:30px;
		display:inline-block !important;
		vertical-align: top;
	}
	#news ul#news_article li:nth-child(even){
		float:none;
	}	
	#news ul#news_article li .news_contents {
		height:110px;
		overflow:hidden;
	}
}


/********************************************
PC
*********************************************/
@media only screen and (min-width: 1600px) {

}

/********************************************
PC
*********************************************/
@media only screen and (min-width: 1680px) {
	/* -----------------------------------
	NEWS一覧
	------------------------------------ */
	/***ページタイトル***/
	#page_title.focal_point p {
		margin:0em -2em;
	}
	/* -----------------------------------
	NEWS詳細
	------------------------------------ */
	#news_detail {
		margin:60px 70px 0 70px;
		padding-bottom:80px;
	}
	h2#page_title {
		font-size:42px;
		margin-bottom:35px;
	}
	#news_detail #news_article_detail{
		width:80%;
		margin:0 auto;
		margin-top:40px;
		margin-bottom:40px;
	}
	
}

/********************************************
PC
*********************************************/
@media only screen and (min-width: 1710px) {
	/* -----------------------------------
	NEWS一覧
	------------------------------------ */
	/***ページタイトル***/
	#page_title.focal_point p {
		margin:0em 0em;
		margin-top:2em
	}
	/* -----------------------------------
	NEWS詳細
	------------------------------------ */
	#news_detail {
		margin:60px 80px 0 80px;
	}
}

/********************************************
PC
*********************************************/
@media only screen and (min-width: 1920px) {

}

