/*
Theme Name: Aldehyde
Theme URI: http://inkhive.com/product/aldehyde/
Author: Rohit Tripathi
Author URI: http://rohitink.com
Description: Aldehyde is a Stunning WordPress Theme for all creative purposes. It has a lot of Inbuilt Feature, A Stunning Design featuring Parallax Scrolling and Parallax Header, Beautiful Animations, Social Icons. A Fully Responsive Slider supporting upto 10 Slides, and few more Elements to improve your sites Content Display Quality. The theme is Fully Retina Ready. NOTE: Aldehyde 2 is a Major Update, We have switched from Theme Options to Wordpress's Live Customizer. THEME DEMO -> http://demo.inkhive.com/aldehyde/
Version: 2.0.0.1
License: GNU General Public License v3
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Text Domain: aldehyde
Tags: white, light, custom-background, two-columns, one-column, custom-colors, flexible-header, theme-options, right-sidebar, responsive-layout, custom-menu, sticky-post, theme-options, threaded-comments, translation-ready, featured-images, photoblogging, full-width-template, green, gray, custom-header


This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

 aldehyde is based on Underscores http://underscores.me/, (C) 2012-2014 Automattic, Inc.

Resetting and rebuilding styles have been helped along thanks to the fine work of
Eric Meyer http://meyerweb.com/eric/tools/css/reset/index.html
along with Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
and Blueprint http://www.blueprintcss.org/
*/

/*///////////heads追加css//////////////*/

/*イタリック*/

em{
	font-style: italic;
}

/*不具合修正*/

body.home #g_navi_sp li:after{
	content: none;
}

.category-japantips .sub_cat,.category-japantips-en .sub_cat,.category-japantips-vi .sub_cat,.category-food .sub_cat,.category-food-en .sub_cat,.category-food-vi .sub_cat,.category-spot .sub_cat,.category-spot-en .sub_cat,.category-spot-vi .sub_cat,.category-forworkers .sub_cat,.category-forworkers-en .sub_cat,.category-forworkers-vi .sub_cat,.category-forstudents .sub_cat,.category-forstudents-en .sub_cat,.category-forstudents-vi .sub_cat{
	display: none !important;
}

body.fixing-body div#tidio-chat iframe{
	display: none !important;
}


/*英語とベトナム語で言語切り替え表示*/

html:lang(vi) .vi_only{
	display: block;
}

html:lang(vi) .en_only{
	display: none !important;
}

html:lang(ja) .vi_only,
html:lang(en) .vi_only{
	display: none !important;
}

html:lang(ja) .en_only,
html:lang(en) .en_only{
	display: block;
}


/*メニューのアコーディオン化*/

@media only screen and (min-width: 1024px){

#g_navi li:not(.lang) a {
	overflow: hidden;
	transition:all .5s ease-out;
}
 
#g_navi li:not(.lang) a:hover {
	transition:all .5s ease-out;
}
 
#g_navi li:not(.lang) ul {
	width: 100%;
	position: absolute;
	top: 47px;
	display: block;
	background: #fff100;
	margin: 0;
	padding: 0;
}

#g_navi li:not(.lang):nth-of-type(4) ul,
#g_navi li:not(.lang):nth-of-type(5) ul{
	width: 155%;
}

html:lang(vi) #g_navi li:not(.lang):nth-of-type(7) ul,
html:lang(vi) #g_navi li:not(.lang):nth-of-type(8) ul{
	width: 130%;
}

#g_navi li:not(.lang) li a {
	display: block;
	margin-top: 0;
	padding: 0 10px;
	height: 0;
	background: #fff100;
	color: #333;
	transition:all .5s ease-out;
}

#g_navi li:not(.lang):hover li a{
	border-top: 1px solid #dcdcdc;
	border-left: 1px solid #dcdcdc;
	border-right: 1px solid #dcdcdc;
}

#g_navi li:not(.lang):hover li:last-of-type a{
	border-bottom: 1px solid #dcdcdc;
}

#g_navi > ul > li:not(.lang):hover li a {
	display: table;
	padding: 15px;
	background: #fff100;
	text-align: center;
	font-weight: 700;
	width: 100%;
	height: 1em;
	transition:all .5s ease-out;
}
 
#g_navi > ul > li:not(.lang):hover li a:hover {
	opacity: 0.6;
	background: #FFF1dd;
	transition:all .5s ease-out;
}
	
}/*ここまで*/

/*SPのサブメニュー*/

html,body{
	width: 100%;
	overflow-x: hidden;
	position: relative;
	z-index: -1;
}

#g_navi_sp ul.flex{
	width: 100%;
	border-top: 1px solid #fff;
	border-bottom: 3px solid #dcdcdc;
	flex-wrap: nowrap;
}

.category-forworkers #g_navi_sp li.current:first-of-type:after,
.category-forworkers #g_navi_sp li.current:nth-of-type(2):after,
.category-forworkers #g_navi_sp li.current:nth-of-type(3):after,
.category-forworkers #g_navi_sp li.current:nth-of-type(4):after,
.category-forworkers #g_navi_sp li.current:nth-of-type(5):after,
.category-forworkers #g_navi_sp li.current:nth-of-type(7):after{
	content: none;
}

.category-forstudents #g_navi_sp li.current:first-of-type:after,
.category-forstudents #g_navi_sp li.current:nth-of-type(2):after,
.category-forstudents #g_navi_sp li.current:nth-of-type(3):after,
.category-forstudents #g_navi_sp li.current:nth-of-type(4):after,
.category-forstudents #g_navi_sp li.current:nth-of-type(5):after,
.category-forstudents #g_navi_sp li.current:nth-of-type(6):after{
	content: none;
}

.category-forworkers-en #g_navi_sp li.current:first-of-type:after,
.category-forworkers-en #g_navi_sp li.current:nth-of-type(2):after,
.category-forworkers-en #g_navi_sp li.current:nth-of-type(3):after,
.category-forworkers-en #g_navi_sp li.current:nth-of-type(4):after,
.category-forworkers-en #g_navi_sp li.current:nth-of-type(5):after,
.category-forworkers-en #g_navi_sp li.current:nth-of-type(7):after{
	content: none;
}

.category-forstudents-en #g_navi_sp li.current:nth-of-type(1):after,
.category-forstudents-en #g_navi_sp li.current:nth-of-type(2):after,
.category-forstudents-en #g_navi_sp li.current:nth-of-type(3):after,
.category-forstudents-en #g_navi_sp li.current:nth-of-type(4):after,
.category-forstudents-en #g_navi_sp li.current:nth-of-type(5):after,
.category-forstudents-en #g_navi_sp li.current:nth-of-type(6):after{
	content: none;
}

.category-forworkers-vi #g_navi_sp li.current.news:after{
	content: none;
}

html:lang(vi) #g_navi_sp li span{
	display: block;
	text-align: center;
	font-size: 10px;
	font-weight: bold;
}

@media only screen and (max-width: 345px){
	html:lang(vi) #g_navi_sp li span{
		font-size: 8px;
	}
}


#g_navi_sp ul.flex div.slick-track > li{
	background: #fff100;
	border-left: 1px solid #fff;
	border-right: 1px solid #fff;
}

#g_navi_sp li img{
	margin: 0 auto;
}

#g_navi_sp ul.open-4{
	display: none;
}

#g_navi_sp ul.open-4{
	width: 100%;
	position: absolute;
	top: 33px;
	left: 0;
	background: #fff100;
	z-index: 99999;
	-webkit-transform: translate3d(0, 0, 10px);
	transform: translate3d(0, 0, 10px);
}

@media only screen and (min-width: 768px){
	#g_navi_sp ul.open-4{
		top: 103%;
	}
}

#g_navi_sp ul.open-4 li{
	text-align: center;
	border-top: 1px solid #dcdcdc;
	border-left: 1px solid #dcdcdc;
	border-right: 1px solid #dcdcdc;
}

#g_navi_sp ul.open-4 li:last-of-type{
	border-bottom: 1px solid #dcdcdc;
}


/*カテゴリページの子カテゴリ名*/

.archive .sub_cat{
	display: inline-block;
	vertical-align: bottom;
	margin-left: 20px;
	margin-bottom: 20px;
	font-size: 20px;
	font-weight: 700;
}

.category-culture_japantips.archive .sub_cat,.category-live-in-japan_japantips.archive .sub_cat,.category-useful-words_japantips.archive .sub_cat,.category-visa-etc-_japantips.archive .sub_cat,
.category-culture_japantips-en.archive .sub_cat,.category-live-in-japan_japantips-en.archive .sub_cat,.category-useful-words_japantips-en.archive .sub_cat,.category-visa-etc-_japantips-en.archive .sub_cat,
.category-business-manners_forworkers.archive .sub_cat,.category-job-information_forworkers.archive .sub_cat,
.category-business-manners_forworkers-en.archive .sub_cat,.category-job-information_forworkers-en.archive .sub_cat,
.category-japanese-schools_forstudents.archive .sub_cat,.category-part-time-jobs_forstudents.archive .sub_cat,
.category-japanese-schools_forstudents-en.archive .sub_cat,.category-part-time-jobs_forstudents-en.archive .sub_cat{
	margin-bottom: 10px;
}

/*トップページpickupのサムネイル*/

#top_pickup .pickup_post.first_post .post_photo img,
#top_pickup .pickup_post.second_post .post_photo img{
	height: 420px;
}

#top_pickup .pickup_post:not(.first_post):not(.second_post) .post_photo img{
	height: 264px;
}

/*トップページpickup以外の記事サムネイル*/

#top_entry_box .post_photo img{
	position: absolute;
	top: 50%;
	left: 50%;
	-ms-transform: translate(-50%,-50%);
	-webkit-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
}

/*単一記事ページの画像の大きさ*/

.single .post_content img{
	width: auto;
}

/*カテゴリpickupの見出し画像の大きさ*/

.category-pickup #newentry h1 img{
	max-height: 50px;
	margin: 15px auto 15px;
}

.category-pickup-en #newentry h1 img{
	max-height: 50px;
	margin: 15px auto 15px;
}

.category-pickup-vi #newentry h1 img{
	max-height: 50px;
	margin: 15px auto 15px;
}

/*各記事のサムネイルの高さ固定*/

	#newentry article .post_photo{
		position: relative;
		height: 300px;
		overflow: hidden;
		z-index: -1;
	}
	
	#newentry article img{
		width: 100%;
		position: absolute;
		top: 50%;
	    left: 50%;
		z-index: -1;
		transform: translate3d(0, 0, -1px);
	    -ms-transform: translate(-50%,-50%);
	    -webkit-transform: translate(-50%,-50%);
	    transform: translate(-50%,-50%);
	}

/*記事ページの見出し大きさ*/

.single .post_content h1{
	font-size: 1.8em;
}

.single .post_content h2{
	font-size: 1.65em;
}

.single .post_content h3{
	font-size: 1.5em;
}

.single .post_content h4{
	font-size: 1.3em;
}

.single .post_content h5{
	font-size: 1.15em;
}

.single .post_content h6{
	font-size: 1.1em;
}

/*記事ページ内の関連記事一覧の見出し*/

#related_post h1 img{
	height: 40px;
}

/*フッター*/

#footer_navi > ul > li > a{
	height: 28px;
	border-bottom: 1px solid #000;
	padding-right: 25px;
	margin-bottom: 20px;
}

html:lang(vi) #footer_navi > ul > li:nth-of-type(2) a img,
html:lang(vi) #footer_navi > ul > li:nth-of-type(4) a img,
html:lang(vi) #footer_navi > ul > li:nth-of-type(6) a img,
html:lang(vi) #footer_navi > ul > li:nth-of-type(7) a img,
html:lang(vi) #footer_navi > ul > li:nth-of-type(8) a img{
	height: 14px;
}

html:lang(vi) #footer_navi > ul > li > a{
	padding-right: 5px;
}

html:lang(vi) #footer_navi > ul > li span{
	width: fit-content;
	margin-right: auto;
	text-align: left;
	font-weight: bold;
	font-size: 18px;
	transform: scale(0.95, 1);
    transform-origin: top left;
}

html:lang(vi) #footer_navi > ul > li:nth-of-type(4) a img{
	margin-top: 2px;
}

#footer_navi li ul a{
	display: block;
	text-align: left;
	color: #777;
	padding-bottom: 20px;
}

#footer_navi li ul a:hover{
	opacity: 0.6;
}

a.none_jamp{
	pointer-events: none;
}

#footer_navi a.none_jamp{
	pointer-events: none;
	height: 17px;
	box-sizing: content-box;
}

#footer .copyright{
	font-size: 1.25em;
}

/*記事内のリスト*/

.single .post_content ul{
	margin: 1em 0;
	padding-left: 40px;
	list-style-type: disc;
}

.single .post_content ol{
	margin: 1em 0;
	padding-left: 40px;
	list-style-type: decimal;
}

/*/////////////////////////////////////ここからメディアクエリ///////////////////////////////////*/

@media only screen and (max-width: 1365px) {
	#footer_navi > ul > li{
		width: 18%;
		margin-bottom: 40px;
	}
}
@media only screen and (max-width: 1100px) {
	
	/*トップページpickupのサムネイル*/
	
#top_pickup .pickup_post.first_post .post_photo img,
#top_pickup .pickup_post.second_post .post_photo img{
	height: 288px;
}

#top_pickup .pickup_post:not(.first_post):not(.second_post) .post_photo img{
	height: 184px;
}
	
/*サイドバーバナー*/
#home #side_cont #search_box img:not(.search_ttl){ width: 355px !important; height: auto !important; margin: 0 auto;}

	
}/*///////ここまで///////*/

@media only screen and (max-width: 768px) {
	
#top_pickup .pickup_list .pickup_post.first_post {z-index: -1; }
	
	/*カテゴリページの子カテゴリ*/
	
	.archive .sub_cat{
		display: block;
		margin-left: 0;
		margin-bottom: 0;
	}

	
	/*トップページpickupのサムネイル*/
	
#top_pickup .pickup_post.first_post .post_photo img,
#top_pickup .pickup_post.second_post .post_photo img{
	height: 205px;
}

#top_pickup .pickup_post:not(.first_post):not(.second_post) .post_photo img{
	height: 130px;
}
	
#g_navi li:not(.lang) ul {
	position: static;
	top: 0;
}
	
/*ハンバーガメニュー*/
	
#g_navi > ul > li span{
	color: #fff;
	font-weight: bold;
	font-size: 18px;
	transform: scale(0.95, 1);
    transform-origin: top left;
}
	
/*フッター*/
	
#footer_navi > ul > li{
	width: 49%;
	margin-bottom: 2vw;
	}
	
#footer_navi > ul > li > a,
html:lang(vi) #footer_navi > ul > li > a{
	height: auto;
	border-bottom: none;
	padding-right: 0;
	margin-bottom: 0;
}
	
	html:lang(vi) #footer_navi > ul > li > a span{
		width: 105%;
		margin: 0 auto;
		text-align: center;
		font-size: 14px;
	}
	
html:lang(vi) #footer_navi > ul > li:nth-of-type(4) > a{
	height: auto;
}
	
html:lang(vi) #footer_navi > ul > li:nth-of-type(4) a img{
	margin-top: 0;
}	
	
html:lang(vi) #footer_navi > ul > li:nth-of-type(2) a img, html:lang(vi) #footer_navi > ul > li:nth-of-type(4) a img, html:lang(vi) #footer_navi > ul > li:nth-of-type(6) a img, html:lang(vi) #footer_navi > ul > li:nth-of-type(7) a img, html:lang(vi) #footer_navi > ul > li:nth-of-type(8) a img{
		height: 2.67vw;
	}	
	
#footer_navi li img{
	margin: 0 auto;
}
	
	
}/*///////ここまで///////*/

@media only screen and (max-width: 481px) {
	
	
	/*トップページpickupのサムネイル*/
	
#top_pickup .pickup_post.first_post .post_photo img{
	height: auto;
}
	
#top_pickup .pickup_post.second_post .post_photo img{
	height: 113px;
}
	
#top_pickup .pickup_post:not(.first_post):not(.second_post) .post_photo img{
	height: 113px;
}
	
/*カテゴリpickupの見出し画像の大きさ*/

.category-pickup #newentry h1 img{
	max-height: 35px;
	margin: 10px auto 10px;
}
	
.category-pickup-en #newentry h1 img{
	max-height: 35px;
	margin: 10px auto 10px;
}
	
.category-pickup-vi #newentry h1 img{
	max-height: 35px;
	margin: 10px auto 10px;
}
	
/*トップページレスポンシブのNEWENTRY*/

	#top_newentry article .post_photo{
		position: relative;
		height: 120px;
		overflow: hidden;
	}
	
	#top_newentry article img{
		width: 110%;
		position: absolute;
		top: 50%;
	    left: 50%;
	    -ms-transform: translate(-50%,-50%);
	    -webkit-transform: translate(-50%,-50%);
	    transform: translate(-50%,-50%);

	}
	
	#newentry article .post_photo{
		height: 120px;
	}
	
	#newentry article img{
		width: 110%;
	}
	
/*単一記事ページの画像の大きさ*/

.single .post_content img{
	width: 100%;
}

}/*///////ここまで///////*/