@charset "utf-8";
/*
Theme Name: nikko-technos
Description: 日興テクノスホームページ スマートフォン用スタイルシート
Version: 1.0
*/

/* スマートフォンデザイン ここから */
@media screen and (max-width:767px) {

	body {
		font-family: "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "Roboto", "Noto Sans JP", "sans-serif";
	}

	#main-contents .contents-area h2,
	h1.archive-title {
		font-size: 20px;
	}

	/*最新情報・お知らせ(ホーム・アーカイブ共通）*/
	section#news article {
		padding: 12px 0px;
	}

	section#news article .news-box{
		display: flex;
		flex-direction: column;
	}

	.thumbnail-box {
		width: 120px;
		height: 75px;
		overflow: hidden;
		margin-right: 0;
	}

	.thumbnail-box img {
		width: 120px;
		height: auto;
	}

	section#news article .news-box .main-box .info-box {
		margin: 10px 0;
	}

	section#news article .news-box  .main-box .info-box .category-mark {
		width: 120px;
		text-align: center;
		margin-right: 20px;
	}

	.news-title {
		padding: 0;
	}

	section#news .archive-link {
	margin: 20px 0 15px 0;
	}

	/*アーカイブページ*/
	#list-area {
		padding: 0 10px;
	}

	/*ニュース記事*/
	.contents-area {
		padding: 10px;
	}

	#news-contents .news-body {
		padding: 15px 0;
	}

	/*下層ページタイトル */
	/*背景*/
	#header-img {
		height: 100px;
		background-size: cover;
		background-position: center;
	}

	/*タイトル文字*/
	#header-img h1 {
		font-size: 1.5em;
	}

	/*ヘッダー ここから*/
	header .upper-area {
		padding: 10px 10px 5px;
	}

	header .upper-area .site-id {
		display: flex;
		justify-content: space-between;
	}

	header .upper-area .site-id .main-logo a {
		display: block;
		width: 246px;
		height: 25px;
		margin-top: 12px;
		margin-right: 15px;
		text-indent: -9999px;
		background-image: url(img/logo-mark.png);
		background-size: cover;
	}

	header .upper-area .site-id .partner-logo {
		width: 62px;
		height: 40px;
		text-indent: -9999px;
		background-image: url(img/partner-logo-mark.png);
		background-size: cover;
	}

	/*サブナビ*/
	header .upper-area #sub-nav {
		margin-top: 5px;
	}

	header .upper-area #sub-nav ul {
		margin: 0;
		padding: 0;
		display: flex;
		list-style-type: none;
		justify-content: center;
	}

	header .upper-area #sub-nav ul li a {
		text-decoration: none;
		color: #000000;
	}

	header .upper-area #sub-nav ul li a:hover {
		text-decoration: underline;
	}

	header .upper-area #sub-nav ul li:first-child a {
		margin-right: 1.0em;	
	}

	header .upper-area #sub-nav ul li a::after {
		font-family: "Font Awesome 5 Free";
		content: "\f054";
		font-weight: 900;
		margin-left: 0.5em;
		color: #0066AA;
	}

/*フッター*/
/*フッター ここから*/
	footer {
		background-color: #0066AA;
		padding: 15px 10px 20px;
	}
	footer .upper-area .site-id {
		display: flex;
		justify-content: space-between;
		margin-bottom: 10px;
	}

	footer .upper-area .site-id .main-logo a {
		display: block;
		width: 246px;
		height: 25px;
		margin-top: 12px;
		margin-right: 15px;
		text-indent: -9999px;
		background-image: url(img/logo-mark_white.png);
		background-size: cover;
	}

	footer .upper-area .site-id .partner-logo {
		width: 62px;
		height: 40px;
		text-indent: -9999px;
		background-image: url(img/partner-logo-mark.png);
		background-size: cover;
	}

	footer .upper-area .company-info address {
		font-style: normal;
		text-align: center;
		color: #FFFFFF;
	}

	footer .lower-area #footer-nav {
		display: none;
	}

	/*お知らせ記事　一覧ボタン*/
	#news-contents .news-link a {
		font-size: 16px;
	}

}