@charset "utf-8";
/*
Theme Name: ナストーア
Description: ナストーアホームページ用テーマ
Version: 1.0
*/

/* 全体デザイン ここから */
body{
	margin: 0;
	padding: 0;
}

p {
	
}

a {
	text-decoration: none;
	-webkit-transition: 0.2s;
	transition: 0.2s;
}

a:link, a:visited {

}

a:hover, a:active {
	text-decoration: underline;
}

a.button {
	display: block;
}

a.button:hover {
	opacity: 0.9;
	text-decoration: none;
}

ul {
	
}

ol {
	
}

img {
	display: block;
}

/* clearfix */
.clearfix:after{
	display : block;
	clear : both;
	height : 0px;
	line-height: 0px;
	visibility: hidden;
	content : ".";
	font-size: 1.0em;
}

/* FlexBox */
.flex-box {
	display: -webkit-box;
	display: -webkit-flex;
	display: flex;
}

/* コンテンツ領域幅設定 */
.contents-area {
	width: 100%;
	max-width: 1020px;
	margin: 0 auto;
	padding: 0 10px;
	box-sizing: border-box;
}

/* 章スタイル */
.page h2 {
	
}

.page h3 {
	
}

/* table共通 */
.contents-area table {
	border-collapse: collapse;
	border-top: 1px #666 solid;
	border-right: 1px #666 solid;
}

.contents-area table th,
.contents-area table td {
	border-left: 1px #666 solid;
	border-bottom: 1px #666 solid;
	padding:5px;
}

.contents-area table thead th {
	background-color: #577CA3;
	color: #FFF;
	font-weight: normal;
}

.contents-area table tbody th {
	font-weight: normal;
	background-color: #E6EAF4;
}

/* パンくずリスト */
/*
.breadcrumbs {
	padding: 8px 0;
	background: #f4f4f4;
	font-size: 14px;
	box-shadow: 0 1px 3px #BBB;
}

.breadcrumbs > .breadcrumbs-string {
	width: 100%;
	max-width: 1150px;
	margin: 0 auto;
	padding: 0 5px;
	box-sizing: border-box;
}

.breadcrumbs .breadcrumb-last {
	font-weight: bold;
}

.breadcrumbs a {
	color: #000;
}
*/

/*外部リンクマーク付加設定*/
/*
.contents-area ul.ex-link li a::after,
.contents-area a.ex-link::after{
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	font-size: 0.8em;
	content: "\f35d";
	color: #808080;
	margin-left: 1.0em;
}
*/

/* ページ上部へ戻るボタン */
#back-to-top {
	margin: 40px 0 25px;
	text-align: right;
}

#back-to-top a {
	display: inline-block;
	border-radius: 100px;
	cursor: pointer;
}

#back-to-top a:hover {
	box-shadow: 0 0 5px #004190;
}

#back-to-top img {
	display: block;
}

#back-to-top img {
	display: block;
}

/* フッター上部 */
#fodter-top {
	padding: 55px 0 75px;
	background: #F2F2F2;
}

/* フッター上部左 */
#fodter-top .contents-area {
	display: -webkit-box;
	display: -webkit-flex;
	display: flex;
	-webkit-box-pack: justify;
	-webkit-justify-content: space-between;
	justify-content: space-between;
}

#fodter-top .contents-area .right {
	display: -webkit-box;
	display: -webkit-flex;
	display: flex;
}

#footer-logo {
	margin-bottom: 10px;
}

#footer-address {
	margin-bottom: 10px;
	color: #4D4D4D;
	font-size: 17px;
	font-weight: bold;
}

#footer-tel {
	margin-bottom: 30px;
	color: #004190;
	display: -webkit-box;
	display: -webkit-flex;
	display: flex;
	-webkit-box-align: center;
	-webkit-align-items: center;
	align-items: center;
}

#footer-tel .tel-item {
	display: -webkit-box;
	display: -webkit-flex;
	display: flex;
}

#footer-tel .tel-item:first-of-type {
	margin-right: 1em;
}

#footer-tel .label {
	display: block;
	margin-right: 5px;
	padding: 1px 8px;
	background: #004190;
	color: #FFF;
	font-size: 13px;
	font-weight: bold;
	padding-top: 5px;
}

#footer-tel a {
	display: block;
}

#footer-tel img {
	display: block;
/*	height: 22px;*/
    width: 200px;
}

#footer-mail {
	padding: 20px;
	background: #004190;
	display: -webkit-box;
	display: -webkit-flex;
	display: flex;
	-webkit-box-pack: center;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-box-align: top;
	-webkit-align-items: top;
	align-items: top;
	border-radius: 10px;
	color: #FFF;
	font-size: 17px;
}

#footer-mail img {
	display: block;
	margin-right: 15px;
}

/* フッター上部右 */
.footer-nav {
	border-left: dotted 1px #4D4D4D;
}

#fotter-nav-1 {
	margin-right: 130px;
	margin-right: 60px;
}

#fotter-nav-2 {
	margin-right: 40px;
}

.footer-nav .menu-item {
	margin: 4px 0;
}

.footer-nav .menu {
	margin: 0;
	padding-left: 20px;
	list-style: none;
}

.footer-nav .menu a {
	color: #4D4D4D;
	font-size: 13px;
}

.footer-nav .sub-menu {
	padding-left: 1em;
	list-style: none;
}

.footer-nav .sub-menu .menu-item::before {
	content: "・";
}

/* フッター下部 */
#footer-bottom {
	padding: 40px 10px;
	background: #004190;
}

#copyright {
	text-align: center;
	color: #FFF;
	font-size: 18px;
}

/* 固定ページ */
.page #breadcrumbs {
	margin-top: 20px;
	color: #808080;
	font-size: 12px;
}

.page #breadcrumbs a {
	color: #004190;
}

.page #header-img {
	width: 100%;
	height: 400px;
	min-height: 360px;
	max-height: 450px;
	background-position: center;
	background-size: cover;
}

.page h1 {
	margin: 40px 0 60px;
	color: #004190;
	font-size: 36px;
	font-weight: bold;
	letter-spacing: 0.05em;
	line-height: 1em;
	text-align: center;
}

.page h1 .en {
	font-size: 20px;
}

.page .appeal-box {
	margin: -15px auto 55px;
	color: #4D4D4D;
	font-size: 18px;
	font-weight: bold;
	line-height: 2.2em;
	text-align: center;
}

.page .box {
	margin-bottom: 45px;
	border: solid 1px #666666;
}

.page .box h2 {
	margin: 0;
	padding: 15px 40px;
	background: #E5ECF4;
	border-bottom: solid 1px #666666;
	color: #004190;
	font-size: 22px;
	font-weight: bold;
}

.page .box .contents {
	padding: 35px 45px;
}

/* 記事ページ */
.single #breadcrumbs {
	margin-top: 20px;
	color: #808080;
	font-size: 12px;
}

.single #breadcrumbs a {
	color: #004190;
}

.single h1 {
	margin: 50px 0;
	color: #004190;
	font-size: 43px;
	line-height: 0.9em;
	text-align: center;
}

.single h1 .jp {
	font-size: 17px;
}

.single .box {
	border: solid 1px #666666;
}

.single .box .title {
	margin: 0;
	padding: 15px 40px;
	background: #E5ECF3;
	border-bottom: solid 1px #666666;
	display: -webkit-box;
	display: -webkit-flex;
	display: flex;
	-webkit-box-align: center;
	-webkit-align-items: center;
	align-items: center;
	color: #004190;
	font-size: 24px;
	font-weight: bold;
}

.single .box .title .category {
	margin-left: 30px;
	padding: 8px 35px;
	background: #004190;
	color: #FFF;
	font-weight: normal;
	font-size: 15px;
	line-height: 1em;
}

.single .box .contents {
	padding: 25px 40px;
	color: #4d4d4d;
	font-size: 16px;
}

/* 記事一覧ページ */
.archive #breadcrumbs {
	margin-top: 20px;
	color: #808080;
	font-size: 12px;
}

.archive #breadcrumbs a {
	color: #004190;
}

.archive h1 {
	margin: 50px 0;
	color: #004190;
	font-size: 43px;
	line-height: 0.9em;
	text-align: center;
}

.archive h1 .jp {
	font-size: 17px;
}

.archive #news-area {
	border: solid 1px #666666;
}

.archive #news-area h2 {
	margin: 0;
	padding: 15px 40px;
	background: #E5ECF3;
	border-bottom: solid 1px #666666;
	color: #004190;
	font-size: 22px;
	font-weight: bold;
}

.archive #news-list {
	padding: 0 20px;
}

.archive #news-list .row {
	padding: 20px 10px;
	display: -webkit-box;
	display: -webkit-flex;
	display: flex;
	border-bottom: dotted 2px #999999;
}

.archive #news-list .row:last-of-type {
	border-bottom: none;
}

.archive #news-list .sub-row {
	display: -webkit-box;
	display: -webkit-flex;
	display: flex;
}

.archive #news-list .date {
	width: -webkit-calc(7em + 30px);
	width: calc(7em + 30px);
}

.archive #news-list .category {
	width: 9em;
	padding: 4px;
	background: #999999;
	color: #FFF;
	font-size: 14px;
	text-align: center;
}

.archive #news-list .title {
	margin-left: 30px;
	-webkit-box-flex: 1;
	-webkit-flex: 1;
	flex: 1;
}

.archive #news-list .title a {
	color: #4D4D4D;
}

/* 404ページ */
#notfound-msg {
	margin: 100px 0;
	color: #666;
	font-size: 24px;
	font-weight: bold;
	text-align: center;
}

@media (orientation: landscape) and (max-width: 900px), (orientation: portrait) and (max-width: 700px) {
    div#n2-ss-2 .n-uc-1foXr5FMrdZl, div#n2-ss-2 .n-uc-Ic3lgeFNpzGX, div#n2-ss-2 .n-uc-AKCVv0CRQ4k5 {
        max-width: 200px!important;
    }
}
    
    
    @media (orientation: landscape) and (max-width: 1050px) and (min-width: 901px), (orientation: portrait) and (max-width: 900px) and (min-width: 701px) {
    div#n2-ss-2 .n-uc-1foXr5FMrdZl, div#n2-ss-2 .n-uc-Ic3lgeFNpzGX, div#n2-ss-2 .n-uc-AKCVv0CRQ4k5 {
        max-width: 200px!important;
    }
}

#mega-menu-wrap-mainmenu #mega-menu-mainmenu > li.mega-menu-item > a.mega-menu-link {
    display: table!important;
    width: 100%!important;
    line-height: 1!important;
    height: unset!important;
	height: 42px !important;
	padding: 12px 0px 12px 0px!important;
}
#mega-menu-wrap-mainmenu #mega-menu-mainmenu > li#mega-menu-item-673 > a.mega-menu-link {
padding: 5px 0px 5px 0px!important;
}
@media only screen and (min-width: 1000px) {
    #mega-menu-wrap-mainmenu #mega-menu-mainmenu > li.mega-menu-item {
    /*    height: 42px!important;
        display: table-cell!important;*/
		display: inline-table!important;
    }
	#mega-menu-wrap-mainmenu #mega-menu-mainmenu > li.mega-menu-item.cont{
		display: none!important;
	}
	#mega-menu-wrap-mainmenu #mega-menu-mainmenu > li.mega-menu-item.lan{
		display: none!important;
	}
	#mega-menu-wrap-mainmenu #mega-menu-mainmenu > li.mega-menu-item.JP{
		display: none!important;
	}
	#mega-menu-wrap-mainmenu #mega-menu-mainmenu > li.mega-menu-item.EN{
		display: none!important;
	}
}
@media only screen and (max-width: 999px) {
    #mega-menu-wrap-mainmenu #mega-menu-mainmenu > li.mega-menu-item > a.mega-menu-link, #mega-menu-wrap-mainmenu #mega-menu-mainmenu > li#mega-menu-item-673 > a.mega-menu-link {
            line-height: 48px !important;
        height: 48px !important;
        padding: 0 10px !important;
    }
	#mega-menu-wrap-mainmenu #mega-menu-mainmenu > li.mega-menu-item.lan{
		width: 30%;
		clear: none;
		/* clear: left; */
		float: left;
	}
	#mega-menu-wrap-mainmenu #mega-menu-mainmenu > li.mega-menu-item.lan a{
		pointer-events: none;
	}
	#mega-menu-wrap-mainmenu #mega-menu-mainmenu > li.mega-menu-item.JP{
		width: 15%;
		clear: none;
		float: left;
	}
	#mega-menu-wrap-mainmenu #mega-menu-mainmenu > li.mega-menu-item.EN{
		width: 25%;
		clear: none;
		float: left;
	}
}