@charset "utf-8";

/* タブレット・スマートフォンデザイン ここから */
@media screen and (max-width:999px) {
	/* 全体デザイン */
	.only-pc {
		display: none;
	}
/*修正箇所*/
	/*.catch-copy {
	    padding:10px 0px 0px 0px;
	}
	
	.catch-copy img {
	    width:100%;
	}*/
	
	body {
		font-family: "Hiragino Kaku Gothic ProN", "sans-serif";
		font-size: 0.95em;
	}

	img {
		max-width: 100%;
		height: auto;
	}

	/* ヘッダーエリア */
	#header-top {
		position: fixed;
		top: 13px;
		left: 0px;
		z-index: 999;
		width: 200px;
	}
	
	#global-nav {
		position: fixed;
		top: 0px;
		left: 0px;
		z-index: 998;
		width: 100%;
		box-shadow: 0 0 5px #555;		
        background: #004190;
	}
	
	#mega-menu-wrap-mainmenu .mega-menu-toggle {
		border-radius: 0 !important;
	}
	
	#mega-menu-wrap-mainmenu #mega-menu-mainmenu > li.mega-menu-item > a.mega-menu-link {
		background: #004190 !important;
	}
	
	#mega-menu-wrap-mainmenu #mega-menu-mainmenu > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item {
		border: none !important;
	}
	
	#mega-menu-wrap-mainmenu #mega-menu-mainmenu > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item > a.mega-menu-link {
		padding-left: 2em !important;
		background: #004190 !important;
		color: #FFF !important;
		font-weight: normal !important;
	}
	
	#logo-area p {
        padding-left:30px;
        font-weight:500;
	    display:none;
    }
	
	/* メイン */
	main {
		padding-top: 48px;
	}
	
	/* フッターエリア */
	#fodter-top {
		padding: 35px 5px;	
	}
	
	#fodter-top .contents-area {
		-webkit-box-pack: center;
		-webkit-justify-content: center;
		justify-content: center;
	}
	
	.footer-nav .menu-item {
		margin: 2px 0;
	}
	
	#fotter-nav-1 {
		margin: 0 15px 0 15px;
	}
	
	#fotter-nav-2 {
		margin-right: 10px;
	}
	
	/* 固定ページ */
	.page #header-img {
		height: 220px;
		min-height: inherit;
		max-height: inherit;
	}

	.page .box .contents {
		padding: 20px 15px;
	}
	
	.page .box h2 {
		padding: 15px 20px;
	}

}

/* スマートフォンデザイン ここから */
@media screen and (max-width:767px) {
	/* 記事ページ */
	.single h1 {
		font-size: 1.2em;
	}
	
	.single h2 {
		font-size: 1.1em;
	}
	
	/* フッターエリア */
	#fodter-top {
		padding: 20px 0;
		box-shadow: 0 0 4px #AAA;
	}
	
	#fodter-top .contents-area {
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		-webkit-flex-direction: column;
		flex-direction: column-reverse;
		-webkit-box-align: center;
		-webkit-align-items: center;
		align-items: center;
	}
	
	#footer-address {
		font-size: 14px;
		text-align: center;
	}
	
	#footer-tel {
		margin-bottom: 15px;
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		-webkit-flex-direction: column;
		flex-direction: column;
		-webkit-box-align: center;
		-webkit-align-items: center;
		align-items: center;
	}
	
	#footer-tel .tel-item:first-of-type {
		margin: 0 0 10px;
	}
	
	#footer-tel .label {
		border-radius: 2px;
	}
	
	#footer-mail {
		padding: 15px 5px;
	}
	
	#fodter-top .right {
		width: 100%;
		max-width: 350px;
		margin-bottom: 20px;
		padding-bottom: 15px;
		-webkit-box-pack: justify;
		-webkit-justify-content: space-between;
		justify-content: space-between;
		border-bottom: dashed 1px #4D4D4D;
	}
	
	.footer-nav {
		width: 50%;
		padding-left: 15px;
		border: none;
		box-sizing: border-box;
	}
	
	#fotter-nav-1 {
		margin: 0;
	}
	
	#fotter-nav-2 {
		margin: 0;
	}
	
	.footer-nav .menu {
		padding: 0;
	}
	
	.footer-nav .menu-item {
		margin: 5px 0;
	}

	.footer-nav .menu a {
		font-size: 15px;
	}

	/* 固定ページ */
	.page #breadcrumbs {
		margin-top: 10px;
		font-size: 14px;
	}
	
	.page #header-img {
		height: 150px;
	}
	
	.page h1 {
		margin: 40px 0 40px;
		color: #004190;
		font-size: 28px;
		font-weight: bold;
		letter-spacing: 0.05em;
		line-height: 1em;
		text-align: center;
	}

	.page h1 .en {
		font-size: 14px;
	}

	.page .appeal-box {
		margin: -15px auto 55px;
		padding: 0 5px;
		font-size: 16px;
		line-height: 1.8em;
		text-align: left;
	}
	
	.page .box h2 {
		padding: 15px 10px;
		font-size: 20px;
		text-align: center;
	}
	
	.page .box .contents {
		padding: 20px 10px;
	}

	/* 記事ページ */
	.single .box .title {
		padding: 10px;
		-webkit-box-pack: justify;
		-webkit-justify-content: space-between;
		justify-content: space-between;
	}
	
	.single .box .title .date {
		font-size: 18px;
	}
	
	.single .box .title .category {
		margin-left: 10px;
		padding: 10px;
	}
	
	.single .box .contents {
		padding: 15px 10px;
		font-size: 0.9em;
	}
	
	/* アーカイブページ */
	.archive h1 {
		font-size: 20px;
	}
	
	.archive #news-area h2 {
		padding: 10px;
		font-size: 20px;
		text-align: center;
	}
	
	.archive #news-list {
		padding: 0 10px;
	}
	
	.archive #news-list .row {
		display: block;
		padding: 20px 5px;
	}
	
	.archive #news-list .sub-row {
		-webkit-box-pack: justify;
		-webkit-justify-content: space-between;
		justify-content: space-between;
	}
	
	.archive #news-list .title {
		margin: 10px 0 0;
	}
	
	.archive #news-list .title a {
		text-decoration: underline;
	}

}