@charset "utf-8";

@media screen and (max-width : 640px) {

#tmp_contents {
    width: auto;
}

/* ==================================================
いきもの図鑑
================================================== */
.format_free.custom_sc_free #tmp_wrap_main_ii,
.format_free.custom_sc_free #tmp_contents h1 {
	width: auto;
}
.format_free.custom_sc_free #tmp_contents h1 {
	margin: 0 0 25px 0;
    background-size: auto 200px;
    padding-left: 55px;
    padding-right: 1px;
}
.format_free.custom_sc_free #tmp_photoarea #tmp_photo {
    margin: 0 0 20px;
    width: 100%;
    float: none;
}
.format_free.custom_sc_free #tmp_photoarea #tmp_mainphoto,
.format_free.custom_sc_free #tmp_photoarea #tmp_mainphoto img {
	width: 100%;
}
.format_free.custom_sc_free #tmp_photoarea #tmp_mainphoto .img {
	height: auto;
}
#tmp_photoarea #tmp_subphoto li {
	display: inline-block;
	vertical-align: top;
	margin-bottom: 5px;
	float: none;
}
#tmp_contents #tmp_dataarea table.dataarea td.heading,
#tmp_contents #tmp_dataarea2 table.dataarea td.heading {
	width: auto;
}

/*idx*/
#tmp_contents table#search_idx_table tr,
#tmp_contents table#search_idx_table td {
    display: list-item;
    width: 100%;
    list-style: none;
}
#tmp_contents table#search_idx_table td.heading {
    display: list-item;
    width: 100%;
    padding-right: 0;
    list-style: none;
}
/*QRコード*/
#tmp_photoarea #tmp_qrarea {
	width:auto;
	float:none;
}
#tmp_photoarea #tmp_qr_info {
    background: url(/shared/templates/sanctuary_free/images/contents/qr_arrow_sp.gif) center bottom no-repeat #eeede3;
    padding: 10px 10px 20px;
}
#tmp_photoarea #tmp_qr_img {
	text-align:center;
}
#tmp_photoarea #tmp_qr_img img {
    width: auto;
    height: auto
}

/* ==================================================
clearfix
================================================== */
#tmp_sma_lnavi_cnt .switch_menu .noicon_list:after,
.format_top .query_area:after {
	content: ""; /* 変更しない */
	display: table; /* 変更しない */
	clear: both; /* 変更しない */
}
}