/******************************************************************************
******************************************************************************
**
** style.cssにおいて
** -- baseでは基本タグとサイト大枠のCSS指定
** -- headerではヘッダーのCSS指定
** -- global navではグローバルナビのCSS指定
** -- contentではコンテント・メイン・サイドナビのCSS指定
** -- footerではフッターのCSS指定
** -- pagetopではページトップボタンのCSS指定
** -- indexではトップページのCSS指定
** -- pageでは汎用ページのCSS指定
** -- styleでは汎用ページのコンテンツ（データ入れ）で使用する基本タグのCSS指定
**
** 注意事項
** -- CSSの命名規則はApplicatsオリジナルの命名規則を採用しています。
** -- 初期フォントサイズはreset.cssにて13pxにリセットしています。
** -- 行間は1.6にリセットしています。
**        単位は不要です。(スタイル崩れする可能性有)
** -- コンテンツ内のフォントサイズ・行間は
**        [ base ]のcontentsクラスで指定しています。
**        変更する場合はこちらを変更してください。
**
******************************************************************************
******************************************************************************/

/*-------------------------------------------------------------------------------------------------------
*********************************************************************************************************
*********************************************************************************************************
******
****** style
******
*********************************************************************************************************
*********************************************************************************************************
-------------------------------------------------------------------------------------------------------*/

/*----------------------------------------------------------------------------
******************************************************************************
** base
******************************************************************************
----------------------------------------------------------------------------*/
html, body {
	overflow-x: hidden;
}

/*----------------------------------------------------------------------------
******************************************************************************
** header
******************************************************************************
----------------------------------------------------------------------------*/
#hd {
	padding: 15px 10px
}
#hd h1 {
	display: flex;
	align-content: center;
	align-items: center;
    width: 230px;
    height: 11vh;
	background: url(../images/h1_sp.jpg) no-repeat;
	background-size: contain;
}
#hd h1 a {
	display: block;
	width: 230px;
	height: 11vh;
}
#hd h1 a img {
	display: none;
}

/*----------------------------------------------------------------------------
******************************************************************************
** global nav
******************************************************************************
----------------------------------------------------------------------------*/
#nav {
	box-shadow: inset 0 0 5px 5px #222;
	background: #2b1f12;
	color: #fff;
	height: calc(100% + 500px);
	padding-bottom: 500px;
	z-index: 100;
	width: 70%;
	overflow-x: none;
	overflow-y: auto;
	top: 0px;
	right: -70%;
	position: fixed;
	transition: All 0.5s ease
}
#nav ul>li>a {
	border-bottom: 1px solid rgba(0, 0, 0, 0.15);
	font-size: 1.2em;
	color: #fff;
	font-weight: bold;
	display: block;
	padding: 1em 1.5em;
	text-decoration: none;
	position: relative
}
#nav ul>li>a:hover {
	box-shadow: inset 0 0 10px 2px rgba(0, 0, 0, 0.3)
}
#nav ul>li>a::after {
	content: attr(data-text);
	display: block
}
#nav ul>li>a>img {
	display: none
}
.nav_clist>li>a {
	background-color: rgba(0, 0, 0, 0.4);
	border-bottom: 1px solid rgba(255, 255, 255, 0.4);
	color: #fff;
	display: block;
	font-size: 1.3em;
	padding: 1em 2em;
	text-decoration: none
}
.nav_clist>li>a:hover, .nav_clist>li>a.current {
	background-color: #000;
	box-shadow: 0 0 4px rgba(255, 0, 0, 0.2)
}
.nav_glist>li>a {
	background-color: rgba(0, 0, 0, 0.7);
	border-bottom: 1px solid rgba(255, 255, 255, 0.4);
	color: #fff;
	display: block;
	font-size: 1.1em;
	padding: 1em 3em;
	text-decoration: none
}
.nav_glist>li>a:hover, .nav_glist>li>a.current {
	background-color: #000;
	box-shadow: 0 0 4px rgba(255, 0, 0, 0.2)
}
.sp_nav_open {
	right: 0 !important
}
.sp_nav_trigger {
	cursor: pointer;
	z-index: 1000;
	position: fixed !important;
	top: 25px;
	right: 15px;
	margin-top: -5px;
	width: 36px;
	height: 24px
}
.sp_nav_trigger span {
	display: inline-block;
	position: absolute;
	left: 0;
	width: 100%;
	height: 4px;
	background-color: #000;
	border-radius: 4px;
	transition: all .4s;
	box-sizing: border-box
}
.sp_nav_trigger span:nth-of-type(1) {
	top: 0
}
.sp_nav_trigger span:nth-of-type(2) {
	top: 10px
}
.sp_nav_trigger span:nth-of-type(3) {
	bottom: 0
}
.sp_nav_trigger::after {
	position: absolute;
	left: 0;
	bottom: -20px;
	content: 'MENU';
	display: block;
	width: 100%;
	padding-top: 20px;
	color: #000;
	font-size: 10px;
	text-decoration: none;
	text-align: center;
	transition: all 0.4s
}
.sp_nav_trigger.active::after {
	content: 'CLOSE';
	bottom: -25px;
	color: #fff
}
.sp_nav_trigger.active span:nth-of-type(1) {
	transform: translateY(10px) rotate(-45deg);
	background: #fff
}
.sp_nav_trigger.active span:nth-of-type(2) {
	opacity: 0;
	background: #fff
}
.sp_nav_trigger.active span:nth-of-type(3) {
	transform: translateY(-10px) rotate(45deg);
	background: #fff
}

/*----------------------------------------------------------------------------
******************************************************************************
** content
******************************************************************************
----------------------------------------------------------------------------*/s
#main_img {
	margin: -10px 0;
	padding: 0;
}
#main_img img {
    width: 100%!important;
    height: auto!important;
}
#con {
	display: flex;
	flex-direction: column;
	padding: 0 10px 30px;
	background: #FFFFF0;
}
#con #main {
    order: 1;
}
#con #contactbox {
    order: 2;
}
.main {
	margin-bottom: 30px
}
#sidenav {
    order: 2;
    border: 1px solid #5F4426;
    background: #FFF;
	color: #5F4426;
    box-sizing: border-box;
}
#sidenav img {
	display: none;
}
#sidenav span {
	display: block;
	padding: 10px 0;
	font-size: 16px;
	font-weight: bold;
	text-align: center;
	border-bottom: 1px dotted #CCC;
}
#sidenav li a {
	background: url(../images/sidenav_icon.png) no-repeat 5px center;
	border-bottom: 1px dotted #CCC;
	color: #111;
	display: block;
	font-size: 1.1em;
	padding: 12px 15px;
	text-decoration: none
}
#sidenav li:last-child a {
	border-bottom: none
}
#sidenav li a:hover {
	text-decoration: underline
}

#contactbox_title img{
	display: none;
}

#contactbox {
    border: 1px solid #5F4426;
    background: #FFF;
	color: #5F4426;
    box-sizing: border-box;
}
#contactbox_title span{
	display: block;
	margin: 5px 0 0;
	font-size: 20px;
	font-weight: bold;
	text-align: center;
}
#contactbox_title span:after{
	content: "- お問い合わせ -";
	display: block;
	font-size: 12px;
	font-weight: normal;
}

/*----------------------------------------------------------------------------
******************************************************************************
** footer
******************************************************************************
----------------------------------------------------------------------------*/
#ft {
	padding-top: 30px;
	padding-bottom: 30px;
	background: #221108;
}
#ft footer{
	font-size: 10px;
	color: #FFF;
	text-align: center
}

/*----------------------------------------------------------------------------
******************************************************************************
** pagetop
******************************************************************************
----------------------------------------------------------------------------*/
#page-top {
	background-color: #9CC;
	color: #ffffff;
	cursor: pointer;
	display: block;
	font-size: 1.4em;
	text-align: center;
	text-decoration: none;
	width: 100%;
	padding: 0!important;
	border-top: 2px solid #6B5031;
	border-bottom: 1px solid #6B5031;
}
#page-top a {
	font-size: 13px;
	font-weight: bold;
	text-decoration: none;
}
#page-top a::after {
	content: attr(data-text);
	display: block;
	padding: 15px 0;
	color: #6B5031;
}
#page-top img{ display: none; }

/*----------------------------------------------------------------------------
******************************************************************************
** index
******************************************************************************
----------------------------------------------------------------------------*/
.index_main {
	margin-bottom: 20px;
}
.index_side {
}
.index_bnr_list li { margin-bottom:4px }
.index_bnr_list a {
	padding:16px 16px 16px 42px;
	border:1px solid #000000;
	border-radius:3px;
	display:block;
	text-decoration:none;
	background:url(../images/icon_elink_black.png) no-repeat 16px center;
	color:#000000;
}
.index_bnr_list a:hover {
	background-color:#000;
	background-image:url(../images/icon_elink_white.png);
	color:#FFF
}
.index_greet h2 {
	margin-top: 0px
}
.index_news h2 {
	margin-bottom: 0px
}
#i_news { 
	display: flex;
	flex-wrap: wrap;
	height:30vh;
    margin: 20px 0;
	overflow:auto
}
#i_news tr{ 
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 10px;
	padding-bottom: 10px;
	width: 100%;
	border-bottom:1px dotted #ccc;
}
#i_news .date {
	background:url(../images/common/icon_list01.png) no-repeat 0 5px;
	display: flex;
	margin-bottom: 3px;
	padding-left: 15px;
	width:100%;
	color: #5F4426;
}
.index_news_tbl_ttl {
	border-bottom:1px dotted #999;
	display: flex;
	padding-bottom: 10px;
}
.index_news_tbl_icon_new {
	display:inline-block;
	color:#C00;
	font-weight:bold;
	margin-left:0.5em
}
.index_news_tbl_icon_new:before { content:"NEW" }
.index_news_scrl {
	max-height: 50vh;
	overflow:auto
}
.index_slide {
	margin-bottom: 20px
}

.i_main_title {
	position: relative;
	margin: 15px 0;
	background: #3D2C1A;
	border-radius: 3px;
}
.i_main_title img {
	display: none;
}
.i_main_title span {
	display: block;
	color: #FFF;
	padding: 8px 0;
	font-size: 14px;
	font-weight: bold;
	text-align: center;
}
.i_main_title::before,
.i_main_title::after {
	content: '';
	position: absolute;
	border-style: solid;
	border-color: transparent;
}
.i_main_title::before {
	top: 100%;
	left: 2px;
	border-width: 0 30px 10px 0;
	border-right-color: #5F4426;
}
.i_main_title::after {
	top: -10px;
	right: 2px;
	border-style: solid;
	border-width: 0 30px 10px 0;
	border-bottom-color: #5F4426;
}
#borderbox {
    text-align: center;
}
#borderbox p {
    padding: 10px 0!important;
    text-align: center;
    border-bottom: 1px dotted #CCCCCC;
}
#borderbox p:last-child {
    border-bottom: none;
}
#borderbox p a {
    display: block;
    width: 100%;
}

/*----------------------------------------------------------------------------
******************************************************************************
** page
******************************************************************************
----------------------------------------------------------------------------*/
.research_list {
	width: 100%!important;
}
.research_list th,
.research_list td {
	display: block;
	padding: 10px;
}

#program_img div {
    margin: 0!important;
}
#program_img img {
    margin: 0 0 20px!important;
}

#link_list {
	margin-top:20px;
	padding: 0!important;
	width:100%;
}
#link_list li {
	margin-left: 0!important;
	list-style: none!important;
}
#link_list li a {
	padding:12px 10px 12px 30px;
	border:1px solid #5F4426;
	border-radius:3px;
	display:block;
	text-decoration:none;
	background:url(../images/common/icon_blank.png) no-repeat 8px center;
	font-size:12px;
	color: #5F4426;
	-webkit-transition:All 0.5s ease;
	transition:All 0.5s ease
}
#link_list li a:hover {
	opacity:0.5
}

.pa {
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 10px;
	background-color: rgb(190, 174, 156);
	margin:1em 0;
	padding:1em;
	z-index: 1;
}

/*----------------------------------------------------------------------------
******************************************************************************
** style
******************************************************************************
----------------------------------------------------------------------------*/
#main {
	line-height: 1.6;
	word-wrap: break-word
}
#main_bg {
	height: 100%;
	margin: 0 0 20px;
	padding: 0 5px;
	background: #FFF;
}
#main a img:hover {
	opacity: 0.8;
	transition: all 0.3s ease
}
#main h1 {
	font-size: 20px;
	margin-bottom: 20px;
}
#main h2 {
	position: relative;
	margin: 15px 0 20px;
	padding: 8px 0;
	background: #3D2C1A;
	border-radius: 3px;
	color: #FFF;
	font-size: 20px;
	font-weight: normal;
	text-align: center;
}
#main h2 span {
	padding: 0 10px;
	font-size: 14px;
	font-weight: normal;
	text-align: center;
}
#main h2::before,
#main h2::after {
	content: '';
	position: absolute;
	border-style: solid;
	border-color: transparent;
}
#main h2::before {
	top: 100%;
	left: 2px;
	border-width: 0 30px 10px 0;
	border-right-color: #5F4426;
}
#main h2::after {
	top: -10px;
	right: 2px;
	border-style: solid;
	border-width: 0 30px 10px 0;
	border-bottom-color: #5F4426;
}
#main h3 {
	margin: 1em 0 1em 0;
	font-size: 16px;
	font-weight:normal;
	box-sizing:border-box;
	padding: 0.6em 0 0.4em 2.3em;
	background: url(../images/h3_bg.jpg) left 8px no-repeat;
	color:#3D2C19;
}
#main h4 {
	font-size: 1.2em;
	padding: 0.2em 0 0.3em 0;
	margin: 1em 0 0.8em 0;
	color:#3D2C19;
	border-bottom: 3px solid #3D2C19;
	font-weight:normal;
}
#main h5, #main h6 {
	margin-bottom: 2px;
	margin-top: 5px;
}
#main hr {
	border: none;
	border-top: 1px dotted #000
}
#main iframe {
	max-width: 100%
}
#main img {
	max-width: 100%;
	height: auto
}
#main ol {
	margin-top: 1em;
	margin-bottom: 0.5em
}
#main ol li {
	margin-left: 2em;
	margin-bottom: 0.5em
}
#main p {
	margin-bottom: 1em
}
#main ul {
	margin-top: 1em;
	margin-bottom: 0.5em
}
#main ul li {
	list-style-type: disc;
	margin-left: 1.5em;
	margin-bottom: 0.5em
}
