@charset "utf-8";

@media screen and (max-width : 640px) {

/* ==================================================
Base-Layout
================================================== */
/* body
================================================== */
body {
	-webkit-text-size-adjust:none;
}
/* wrapper
================================================== */
#tmp_wrapper {
	width:100%;
	min-width:320px;
	position: relative;
}
.container{
	width: 100%;
	padding: 0 10px;
}
.spmenu_open #tmp_wrapper:before {
	content: '';
	display: block;
	top: 0;
	left: 0;
	position: absolute;
	width: 100%;
	height: 100%;
	z-index: 5;
	background: rgba(0,0,0,.7);
}
/* contents
================================================== */
#tmp_contents,
#tmp_maincontents {
	word-wrap:break-word;
}
/* format-layout
================================================== */
.wrap_col_nm,
.wrap_col_rgt_navi,
.column_full .wrap_col_main,
.column_lnavi .wrap_col_main,
.column_rnavi .wrap_col_main {
	float:none;
}
.wrap_col_lft_navi {
	float:none;
	position:static;
	z-index:auto;
}
.col_main {
	padding:0;
}
/* top
================================================== */
.format_top #tmp_main_menu,
.format_top #tmp_main {
	float:none;
	width:100%;
}
/* free
================================================== */
.format_free .wrap_col_lft_navi,
.format_free .wrap_col_rgt_navi {
	display:none;
}
.format_free .column_lnavi .col_main {
	margin-left:0;
}
.format_free .column_rnavi .wrap_col_main,
.format_free .column_rnavi .col_main {
	margin-right:0;
}
/* ==================================================
header
================================================== */
#tmp_header {
	position:relative;
	padding:0;
	border-top: 3px solid #dd0202;
}
#tmp_header .container{
	padding:10px 10px 0;
}
#tmp_hlogo {
	padding: 5px 0;
	text-align:center;
	margin: 0px;
}
#tmp_hlogo h1,
#tmp_hlogo p {
	display:inline-block;
	width:164px;
	height:38px;
}
#tmp_hlogo a {
	width:164px;
	height:38px;
}
#tmp_hlogo h1 span,
#tmp_hlogo p span {
	width:164px;
	height:38px;
}
/* sp_menu
================================================== */
#tmp_sma_rmenu {
	display: block;
	text-align: right;
}
#tmp_sma_rmenu a {
	display: inline-block;
	position: relative;
}
#tmp_sma_menu {
	display:none;
	opacity: 1;
	visibility: visible;
}
#tmp_switch_sp_style {
	display: none;
}
#tmp_hnavi_s,
.spmenu_open #tmp_hnavi_s {
	display: block;
	list-style: none;
}
#tmp_hnavi_s li a {
	display:block;
	width:40px;
	height:40px;
	text-decoration:none;
}
#tmp_hnavi_lmenu {
	position:absolute;
	left:10px;
	top:20px;
}
#tmp_hnavi_rmenu {
	position:absolute;
	right:10px;
	top:20px;
}
#tmp_hnavi_lmenu span,
#tmp_hnavi_rmenu span {
	display:block;
	position:relative;
	z-index:-1;
	width:40px;
	height:40px;
	overflow:hidden;
}
#tmp_header .sma_menu_open {
	text-decoration: none;
	color: #dd0202;
	font-size: 78.5%;
	border: 1px solid #cc0000;
	margin-top: 6px;
	padding: 22px 3px 0px;
}
#tmp_header .sma_menu_open .icon {
	position: absolute;
    top: 13px;
    left: 50%;
    margin-left: -12px;
    width: 25px;
    height: 2px;
    background-color: #da4444;
    color: #000000;
    z-index: 3;
    -webkit-transition: 0.2s ease all;
    -o-transition: 0.2s ease all;
    transition: 0.2s ease all;
}
#tmp_header .sma_menu_open .icon:before, 
#tmp_header .sma_menu_open .icon:after {
    content: '';
    width: 25px;
	height: 2px;
	left: 0;
    background-color: #da4444;
    color: #000000;
    position: absolute;
    top: 0;
    z-index: 1;
    -webkit-transition: 0.2s ease all;
    -o-transition: 0.2s ease all;
    transition: 0.2s ease all;
}
#tmp_header .sma_menu_open .icon:before {
    -webkit-transform: translate(0,-6px);
    -ms-transform: translate(0,-6px);
    -o-transform: translate(0,-6px);
    transform: translate(0,-6px);
}
#tmp_header .sma_menu_open .icon:after {
    -webkit-transform: translate(0,6px);
    -ms-transform: translate(0,6px);
    -o-transform: translate(0,6px);
    transform: translate(0,6px);
}
#tmp_header .sma_menu_open.active {
	color: #ffffff;
	background-color: #cc0000;
}
#tmp_header .sma_menu_open.active .icon,
#tmp_header .sma_menu_open.active .icon:before,
#tmp_header .sma_menu_open.active .icon:after {
	background-color: #ffffff;
}
#tmp_sma_menu {
    background-color: #cc0000;
    color: #FFFFFF;
    padding: 20px 10px;
    margin-top: -1px;
    z-index: 11;
	position: absolute;
	width: 100%;
}
#tmp_gsearch {
    display: block;
    padding: 0 0 6px;
    width: 100%;
    margin-bottom: 15px;
}
#tmp_search {
	background-color: #ffffff;
	color: #222222;
	display: block;
	padding: 0 10px;
}
#tmp_search .query_label {
	display: block; 
	position: relative;
	width: 100%;
	font-size: 85.7%;
	background: url(/shared/site_hamact/images/icon/icon_search.png) no-repeat 0 9px;
	background-size: 16px 16px;
    padding: 8px 0 7px 21px;
	font-weight: bold;
}
#tmp_wrap_query {
	width:100%;
}
#tmp_query {
	min-height: 24px;
	font-size: 78.5%;
	padding: 4px 5px 2px;
}
#tmp_search .query_submit #tmp_func_sch_btn {
	font-size: 78.5%;
	min-width: 50px;
	min-height: 24px;
	border: none;
}
#tmp_gsearch > a {
	clear: left;
    float: right;
    font-size: 78.5%;
    background: #ffffff url(/shared/site_hamact/images/icon/icon_arrwhite.png) no-repeat left 3px;
    background-size: 10px 10px;
    text-decoration: none;
    color: #222222;
    margin-top: 8px;
    padding-left: 12px;
}
#tmp_search #tmp_search_method {
	margin-top:10px;
	display:block;
	text-align:right;
	clear:both;
}
#tmp_search #tmp_search_method a {
	display:inline-block;
	text-decoration:none;
	color:#222222;
	background:url(/shared/site_hamact/images/icon/icon_arrwhite.png) no-repeat left center;
    background-size: 10px 10px;
	padding:0 0 0 15px;
}
/* gnavi
================================================== */
#tmp_gnavi {
	display:none;
}
#tmp_sma_menu .gnavi {
    background-color: #ffffff;
    color: #222222;
	padding-bottom: 15px;
	margin-bottom: 50px;
}
#tmp_sma_menu .gnavi li {
	padding: 0 3px;
	float: none;
	display: block;
}
#tmp_sma_menu .gnavi li a {
    display: block;
    color: #222222;
    text-decoration: none;
    background: #ffffff url(/shared/site_hamact/images/icon/icon_red.png) no-repeat 99% 18px;
    border-bottom: 1px solid #efefef;
    font-size: 107.1%;
    padding: 12px 0 10px;
    width: 100%;
    height: auto;
    border-left: none !important;
    border-right: none !important;
    text-align: left;
    margin: 0;
}
#tmp_sma_menu .purpose_menu .purpose_list_img,
#tmp_sma_menu .purpose_menu .purpose_list_type,
#tmp_sma_menu .purpose_menu .goto_link {
	display: none;
}
#tmp_sma_menu .purpose_menu {
    background-color: #ffffff;
    color: #222222;
	padding-bottom: 19px;
	margin-bottom: 25px;
	position: relative;
}
#tmp_sma_menu .purpose_menu:before {
	content: '';
	position: absolute;
	width: 100%;
	height: 1px;
	background: #8a0202;
	top: -25px;
	left: 0;
}
#tmp_sma_menu .purpose_menu li {
	padding: 0 14px;
	float: none;
	display: block;
}
#tmp_sma_menu .purpose_menu li a {
    display: block;
    color: #222222;
    text-decoration: none;
    background: #ffffff url(/shared/site_hamact/images/icon/icon_arrow_red.png) no-repeat 100% 100%;
    border-bottom: 1px solid #efefef;
    font-size: 85.7%;
    padding: 18px 0 8px;
    width: 100%;
    height: auto;
    border-left: none !important;
	border-right: none !important;
	border-bottom: 1px solid #ef8989;
    text-align: left;
	margin: 0;
	font-weight: bold;
	background-size: 20px 10px;
}
/* CONTACT
================================================== */
#tmp_sma_menu .toprgt_cnt {
    background: #000000 url(/shared/site_hamact/images/main/contact_bg_sp.jpg) no-repeat left 30%;
    background-size: 100% auto;
	padding: 63px 18px 25px;
	text-align: center;
}
#tmp_sma_menu .link_contact {
    font-size: 100%;
    background: transparent url(/shared/site_hamact/images/icon/icon_next.png) no-repeat 100% 5px;
    padding: 0 30px 10px 10px;
	background-size: 12px 9px;
    color: #ffffff;
    text-decoration: none;
    text-align: center;
    font-weight: bold;
    border-bottom: 1px solid #ffffff;
}
#tmp_sma_menu #tmp_means {
    float: none;
    width: 100%;
    margin-top: 24px;
    border-bottom: 1px solid #ffffff;
	padding-bottom: 4px;
	margin-bottom: 29px;
}
#tmp_means ul li {
	margin: 0;
}
#tmp_sma_menu #tmp_means .setting_link {
	font-size: 78.5%;
	font-weight: bold;
	color: #ffffff;
	padding: 8px 0 8px 26px;
    background: transparent url(/shared/site_hamact/images/icon/icon_setting_white.png) no-repeat 0 center;
}
#tmp_sma_menu .close_btn {
	display: block;
	max-width: 300px;
	margin: 0 auto;
	background: #2a0707;
	color: inherit;
	border: 1px solid #ffffff;
}
#tmp_sma_menu .close_btn a {
	background: #2a0707;
	padding: 15px 10px;
	text-align: center;
	color: #ffffff;
	display: block;
	text-decoration: none;
	position: relative;
}
#tmp_sma_menu .close_btn .close_txt:after {
	content: '';
	position: relative;
	display: inline-block;
	width: 10px;
	height: 10px;
	background: transparent url(/shared/site_hamact/images/icon/close_btn.png) no-repeat top left;	
	margin-left: 6px;
}
/* pankuzu
================================================== */
#tmp_sma_pankuzu {
	display:block;
	padding-right:10px;
	padding-left:10px;
	border-bottom:1px solid #AABBCC;
	clear:both;
}
/* lnavi
================================================== */
/* rnavi
================================================== */
/* pankuzu
================================================== */
#tmp_pankuzu {
	margin:5px 0 15px;
	font-size:85.7%;
}
/* plugin
================================================== */
.plugin {
	display:none; /* do not edit */
}
/* model_change
================================================== */
.wrap_mc_pc,
.wrap_mc_pc #tmp_switch_pc_style {
	display: block;
}
#tmp_switch_pc_style {
    text-decoration: none;
    background-color: #000000;
    color: #ffffff;
    font-size: 87.5%;
    text-align: center;
	padding: 10px 10px;
	position: relative;
}
#tmp_switch_pc_style:before {
    content: '';
    position: relative;
    display: inline-block;
    width: 18px;
    height: 15px;
    background: transparent url(/shared/site_hamact/images/icon/icon_pc.png) no-repeat top left;
    margin-right: 7px;
    top: 3px;

}
/* display responsive */
.display_pc {
    display: none !important;
}
.display_sp {
	display: block !important;
	max-width: 100%;
	height: auto;
}
.txt_block_sp {
	display: block;
}
/* CONTACT
================================================== */
#tmp_contact .contact_cnt {
    background: #000000 url(/shared/site_hamact/images/main/contact_bg_sp.jpg) no-repeat top left;
    background-size: 100% auto;
    border-bottom: 1px solid #ffffff;
    padding: 93px 0 53px;
}
#tmp_contact .contact_txt {
    font-size: 85.7%;
    margin-bottom: 13px;
}
#tmp_contact .contact_url a {
    font-size: 100%;
    background: transparent url(/shared/site_hamact/images/icon/icon_next.png) no-repeat 100% 5px;
    padding: 0 30px 10px 10px;
    background-size: 12px 9px;
}
/* ==================================================
footer
================================================== */
/* fnavi */
#tmp_footer {
	padding: 28px 0;
}
.footer_cnt {
	padding:0 10px;
	clear:both;
}
#tmp_footer .footer_left {
	float: none;
}
#tmp_footer .footer_right {
	float: none;
}
.footer_cnt address {
	font-style:normal;
}
.copyright {
	text-align:center;
	clear:both;
	font-size: 78.5%;
	padding-top: 21px;
}
.fnavi li {
    margin: 0 30px 7px 0px;
    float: none;
}
.fnavi li a {
	font-size: 78.5%;
	background-size: 10px 10px;
    padding: 0 0 0 12px;
}
.footer_cnt {
    padding: 12px 0 8px;
    clear: both;
}
.footer_cnt address {
	font-size: 78.5%;
}
.footer_cnt address .title {
	font-size: 118.1%;
	margin: 0 0 2px;
}
#tmp_footer .footer_logo {
	margin: 0;
	width: 100%;
	padding: 3px 0;
}
#tmp_footer .footer_logo .footer_img {
    display: block;
    float: left;
    width: 62px;
}
.footer_img img {
	width: 47px;
	height: 55px;
}
#tmp_footer .footer_logo .footer_link {
    display: block;
    width: 100%;
    padding-top: 18px;
}
#tmp_footer .footer_logo .footer_link a {
	font-size: 100%;
}
.pnavi {
    position: fixed;
    bottom: 15px;
    right: 8px;
}
.pnavi .pagetop {
	width: 34px;
	height: 34px;
	background-size: cover;
}
/* ==================================================
class
================================================== */

/* float ▼Do not edit
================================================== */
.float_lft,
.float_rgt {
	float:none;
	margin-left:0 !important;
	margin-right:0 !important;
}
/* youtube ▼Do not edit
================================================== */
#tmp_contents .frame_youtube,
#tmp_contents .frame_ustream {
	position:relative;
	display:block;
	height:0;
	padding-bottom:56.25%;
	overflow:hidden;
	min-width:200px;
}
#tmp_contents .frame_youtube object,
#tmp_contents .frame_ustream object,
#tmp_contents .frame_youtube iframe,
#tmp_contents .frame_ustream iframe {
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
}


/* ==================================================
parts
================================================== */
/* parts ▼Do not edit
============================== */
div.col2 div.col2L,
div.col3 div.col3L,
div.col3 div.col3M,
div.col2 div.col2 div.col2L,
div.fixed_col2 div.fixed_col2L {
	width:100%;
	margin-right:0;
	display: block;
	float:none;
	clear:both;
}
div.col2 div.col2R,
div.col3 div.col3R,
div.col2 div.col2 div.col2R,
div.fixed_col2 div.fixed_col2R {
	width:100%;
	display: block;
	float:none;
	clear:both;
}
#tmp_contents div.col3 ul,
#tmp_contents div.col2 ul {
	margin-bottom:0;
}
div.img_cap {
	width:auto !important;
}
#tmp_contents img {
	max-width:100%;
	height:auto;
}
#tmp_contents ul,
#tmp_contents ol {
	margin-left:22px;
}
#tmp_contents table {
	width:auto;
}
#tmp_contents table table {
	max-width:100%;
}
#tmp_contents table th,
#tmp_contents table td {
	width:auto;
}
#tmp_contents table.gsc-search-box td.gsc-input {
	width:100% !important;
}
#tmp_contents input[type="text"],
#tmp_contents textarea {
	width:100% !important;
	padding:0;
	box-sizing:border-box;
	-webkit-box-sizing:border-box;/* Webkit */
}

/* event_cal
================================================== */
/* cate_ttl
================================================== */
#tmp_cate_ttl img {
    height:auto;
    max-width:100%;
}


/* Scroll Table
================================================== */
.scroll_table {
	overflow-x:auto;
	margin-bottom:10px;
	padding:23px 5px 5px;
	background:#F5F5F5 url(/shared/site_hamact/images/icon/scroll_table_icon.png) right 5px no-repeat;
	background-size:75px 15px;
}
.scroll_table {
	overflow-x:scroll;
}
.scroll_table_switch {
	text-align:right;
	margin:0 0 10px;
	font-size:75%;
	line-height:1.2;
}
.scroll_table_switch a {
	border:1px solid #CCCCCC;
	color:#333333;
	display:inline-block;
	padding:8px 10px 8px 70px;
	text-decoration:none;
	background:#F2F2F2 url(/shared/site_hamact/images/icon/scroll_table_ex.png) 10px center no-repeat;
	background-size:46px 20px;
	box-shadow:0 2px 0 0 #91918E;
	min-width:9em;
	text-align:center;
}
.scroll_table_switch a.scroll {
	background:#FFFFFF url(/shared/site_hamact/images/icon/scroll_table_df.png) 10px center no-repeat;
	background-size:46px 20px;
}
.scroll_table::-webkit-scrollbar{
 height: 5px;
}
.scroll_table::-webkit-scrollbar-track{
 background: #F1F1F1;
}
.scroll_table::-webkit-scrollbar-thumb {
 background: #BCBCBC;
}

/* ==================================================
clearfix
================================================== */
#tmp_sma_lnavi_cnt .switch_menu .noicon_list:after {
	content: ""; /* Do not edit */
	display: table; /* Do not edit */
	clear: both; /* Do not edit */
}

}