@charset "utf-8";
/* ==================================================
/* 20181203編集 上書き - 
================================================== */
*:focus {
  outline: none;
}

/* ヘッダー
============================== */
#tmp_header {
	width:100%;
    max-width: 940px;
}

#tmp_hlogo {
    width: 16.1%;
    max-width: 151px;
}

#tmp_hlogo img{
    width: 100%;
    height: auto;
}

/* スライダー
============================== */
#slider_area {
    width:100%;
    margin: 0 auto;
}

#slider_area .center-item figure{
    width:980px;
    margin: 0 auto;
    height: auto;
}

#slider_area .center-item figure img{
    width: 100%;
    height: auto;
}

/* TOP　ボタンメニュー
============================== */
#btn_menu {
    width:100%;
    max-width: 980px;
    margin: 0 auto 30px;
}
#btn_menu ul{
  width: 100%;
  margin: auto;
}

#btn_menu ul li{
    float: left;
    width: 25%;
    list-style: none;
    border-bottom: 5px solid #e4e4e4;
    position: relative;
    overflow: hidden;
}

#btn_menu ul li img{ 
    width: 100%;
    height: auto;
    float: left;
}

#btn_menu ul li:hover{
    border-bottom: 5px solid #ff6600;
}

#btn_menu ul li:hover:after{
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    border-style: solid;
    border-width: 0 7.5px 8px 7.5px;
    border-color: transparent transparent #ff6600 transparent;
}

.mask_caption{
	width:			100%;
	height:			100%;
	position:		absolute;
	bottom:			-100%;
	left:			0;
    background-image: url(../images/main/btn_01_bg.jpg);
    background-repeat: no-repeat;
    background-size: 100% auto;
	-webkit-transition:	all 0.3s ease;
	transition:		all 0.3s ease;
	pointer-events: none;
}

.mask_caption:after{
    content:"";
	width:			100%;
	height:			100%;
	position:		absolute;
    top :0;
    left:0;
    background: rgba(0,0,0,0.4);
}

.mask_caption p{
    position: absolute;
    z-index: 1;
    bottom: 0;
    left: 0;
    color: #fff;
    padding: 8px;
	box-sizing: border-box;
	font-size: 12px;
	line-height: 16px;
	pointer-events: none;
    text-align: justify;
    text-justify: inter-ideograph;
}

.mask_caption .tit{
	font-size: 16px;
	line-height: 24px;
}

#btn_menu ul li:hover .mask_caption{
    bottom:			0;
}

.btn_02 .mask_caption{
    background-image: url(../images/main/btn_02_bg.jpg);
}
.btn_03 .mask_caption{
    background-image: url(../images/main/btn_03_bg.jpg);
}
.btn_04 .mask_caption{
    background-image: url(../images/main/btn_04_bg.jpg);
}
.btn_05 .mask_caption{
    background-image: url(../images/main/btn_05_bg.jpg);
}

/* top 3カラム
============================== */
.top_col_g{
    width:100%;
	max-width: 940px; 
}

.top_col{
	width:31.9%;
	margin: 10px 2.15% 0 0;
}

.top_col img{
    width: 100%;
    height: auto;
}

.top_col_bnr {
    margin: 10px 0 0 0;
    background: none;
}

/* ベース
============================== */
#tmp_wrap_main {
    width: 100%;
}

#tmp_wrap_main2 {
    width: 100%;
}

.format_top #tmp_wrap_main {
	padding:0;
}

/* site_map
============================== */
#tmp_wrap_site_map {
    width: 100%;
    max-width: 940px;
    margin: 0 auto;
	padding:20px 10px;
    box-sizing: border-box;
}

#tmp_site_map {
    overflow: hidden;
    width: 100%;
    background: none;
}
#tmp_site_map .wrap_menu {
	width:25%;
	float:left;
    position: relative;
}

#tmp_site_map .wrap_menu:before {
    content: "";
	width:1px;
    height:600px;
    background: #fff;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
}

#tmp_site_map .wrap_menu:after {
    content: "";
	width:1px;
    height:600px;
    background: #a9d0eb;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
}

#tmp_site_map .wrap_menu:first-child:before {
    content: none;
}

#tmp_site_map .wrap_menu:last-child:after {
    content: none;
}

#tmp_site_map .menu {
	padding:0 6%;
    box-sizing: border-box;
}

/* footer
============================== */

#tmp_footer {
	width:100%;
	margin:0 auto;
	clear:both;
    background:#003459 url(../images/footer/footer_cnt_bg.gif) repeat-x left top;
}

#tmp_footer_cnt {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
	padding:18px 20px 10px;
	color:#FFFFFF;
    background: none;
    box-sizing: border-box;
}

#tmp_copyright {
	width:100%;
}

@media screen and (max-width: 767px) {
/*
============================================================
コンテンツ　スマホ上書き
============================================================
*/	
    
/* TOP　ボタンメニュー
============================== */
#btn_menu {
    margin-bottom:0;
} 
    
#btn_menu ul li{
    width: 25%;
     border-bottom: none;
}   

#btn_menu ul li:hover{
    border-bottom: none;
}

#btn_menu ul li:hover:after{
    content: none;
    border: none;
}    
    
.mask_caption{
	display: none;
}
           
/* top 3カラム
============================== */
.top_col{
	width:50%;
	margin: 10px 0 0 0;
} 
    
/* site_map
============================== */    
#tmp_site_map .wrap_menu {
	width:50%;
}    

#tmp_site_map .wrap_menu:nth-child(2){
    float: right;
} 
    
#tmp_site_map .wrap_menu:nth-child(2):after {
    content: none;
}
#tmp_site_map .wrap_menu:nth-child(4):before {
    background: none;
}     
            
#tmp_site_map .clear {
	width:100%;
    height: 5px;
    display: block;
}
    
.adobe_bnr img{
	width:100%;
    height: auto;
    max-width: 158px;
}    
    
}

@media screen and (max-width: 450px) {
/*
============================================================
コンテンツ　iphone上書き
============================================================
*/	    
/* ベース
============================== */
#tmp_wrap_main {
    overflow: hidden;
}    
/* ヘッダー
============================== */
#tmp_wrap_header {
	padding:0;
}    
    
#tmp_hlogo {
	float:none;
    margin:  0 auto;
    width: 100%;
}
    
#tmp_means {
    width: 100%;
	margin:5px auto 0;
	float:none;
    padding: 0;
}    

#tmp_means_primary {
    float: none;
    margin: 0 auto;
    padding: 0;
}
        
#tmp_query {
    width: 100%;
    max-width: 198px;
    float: left;
}
    
/* TOP　ボタンメニュー
============================== */
 #btn_menu ul li{
    width: 50%;
}
    
 #btn_menu ul li:before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: 0 0 0 2px #fff inset, 0 0 0 3px #ccc inset;
    box-sizing: border-box;
     z-index: 1;
     pointer-events: none;
} 
/* top 3カラム
============================== */
.top_col {
	width:100%;
    max-width: 300px;
    margin: 10px auto 0;
    float: none;
} 
    
.top_col_bnr {
    max-width: none;
    text-align: center;
} 
    
.top_col_bnr img{
    max-width: 300px;
} 
    
}
