@charset "utf-8";
@media screen and (max-width : 640px) {
	/* ==================================================
	Base-Layout
	================================================== */
	/* body
	================================================== */
	body {
		-webkit-text-size-adjust:none;
		-moz-text-size-adjust:none;
		-ms-text-size-adjust:none;
		font-size: 100%;
	}
	/* wrapper
	================================================== */
	#tmp_wrapper {
		position: relative;
		width: 100%;
		min-width: 320px;
	}
	.container{
		padding: 0 20px;
		width: 100%;
	}
	/* 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;
	}
	.format_free #tmp_wrap_main {
		padding-bottom: 50px;
	}
	/* ==================================================
	header
	================================================== */
	#tmp_header {
		min-height: 83px;
		padding:0;
		background-color: #ffffff;
		color: #222222;
		position:relative;
		z-index: 800;
	}
	.format_free #tmp_header {
		margin-bottom: 0;
	}
	#tmp_hlogo {
		float:none;
		margin-right: 0;
		padding:3px 0;
	}
	#tmp_hlogo h1,
	#tmp_hlogo p {
		display:inline-block;
		width: 320px;
		height: 54px;
		background-size: 320px auto;
		line-height: 1.3;
		font-size: 1.5rem;
	}
	#tmp_hlogo a {
		width: 320px;
		height: 54px;
	}
	#tmp_hlogo h1 span,
	#tmp_hlogo p span {
		width: 320px;
		height: 54px;
	}

	#tmp_regulation {
		padding: 1px 17px;
		font-size: 81.3%;
		order: 2;
	}
	#tmp_regulation .regulation_text {
		text-align: center;
	}
	#tmp_header .header_cnt {
		padding: 0 5px;
		order: 1;
	}
	#tmp_header .header_cnt::before,
	#tmp_header .header_cnt::after {
		content: none;
	}


	/* sp_menu
	================================================== */
	.spmenu_open {
		position:relative;
		width: 100%;
		min-height: 100%;
		z-index: 800;
		background: #ffffff;
		color: #222222;
	}
	.spmenu_open:before {
		content: "";
		min-height: 100%;
		height: 100%;
		width: 100%;
		position: absolute;
		top: 46px;
		left: 0;	
		z-index: 699;
		background-color: rgba(0,0,0,0.5);
	}
	
	#tmp_hnavi_s {
		display: flex;
		justify-content: center;
		align-items: center;
		flex: none;
	}
	#tmp_hnavi_s .menu_cnt {
		display: block;
	}
	#tmp_hnavi_s #tmp_menu_cnt {
		display: none;
		position: absolute;
		top: 0;
		left: 0;
	}
	#tmp_hnavi_s .tmp_menu_wrap {
		display: flex;
		flex-direction: column;
		padding: 17px 13px 25px 5px;
		width: calc(100% - 48px);
		background-color: #dbe7dc;
	}
	#tmp_hnavi_s .menu_btn {
		display: inline-block;
		position: relative;
		z-index: 888;
	}
	#tmp_hnavi_s > .menu_btn > span {
		display: block;
		width: 44px;
		height: 44px;
		background-image: url(/shared/site_miyagi_oem/images/icon/icon_open.png);
		background-repeat: no-repeat;
		background-position: center;
		background-size: 25px auto;
		white-space: nowrap;
		text-indent: 100%;
		position: relative;
		overflow: hidden;
	}
	#tmp_hnavi_s > .menu_btn.active > span {
		background-image: url(/shared/site_miyagi_oem/images/icon/icon_close.png);
	}

	#tmp_menu_cnt #tmp_sma_search {
		order: 2;
	}
	#tmp_menu_cnt .header_links {
		order: 3;
	}
	#tmp_menu_cnt .btn_list {
		order: 1;
	}
	#tmp_hnavi_s .hnavi {
		order: 4;
	}

	/* お問い合わせ・業者ボタン */
	#tmp_hnavi_s .btn_list {
		gap: 0 10px;
		height: auto;
		margin-bottom: 23px;
	}
	#tmp_hnavi_s .btn_list .btn_item .pc_show {
		display: none;
	}
	#tmp_hnavi_s .btn_list .btn_item .sp_show {
		display: inline;
	}
	#tmp_hnavi_s .btn_list .btn_item {
		width: calc(100% - 5px);
	}
	#tmp_hnavi_s .btn_list .btn_item a {
		max-width: 100%;
		min-width: auto;
		min-height: 68px;
		width: 100%;
		border-radius: 10px;
		font-feature-settings: "palt";
		font-size: 100%;
	}
	#tmp_hnavi_s .btn_list .btn_item.contact_btn a {
		padding: 10px 10px 10px 50px;
		background-position: left 11px top 21px;
		background-size: 40px auto;
	}
	#tmp_hnavi_s .btn_list .btn_item.business_btn a {
		padding: 10px 10px 10px 50px;
		background-position: left 8px top 18px;
		background-size: 40px auto;
	}

	/* 検索窓 */
	#tmp_menu_cnt #tmp_sma_search {
		display: grid;
		place-items: center;
	}
	#tmp_sma_search {
		max-width: 190px;
	}
	#tmp_sma_search #tmp_sma_query {
		min-height: 33px;
		border: 1px solid #a6a6a6;
	}
	#tmp_sma_search #tmp_sma_query::placeholder {
		font-size: 80%;
		vertical-align: top;
	}
	#tmp_sma_search #tmp_sma_func_sch_btn {
		width: 35px;
		min-height: 33px;
		top: 0;
		right: 0;
	}

	#tmp_menu_cnt .header_links {
		flex-direction: column;
		margin-bottom: 26px;
	}
	#tmp_hnavi_s .link_item:not(:last-child)::after {
		content: none;
	}
	#tmp_hnavi_s .link_item a {
		display: flex;
		padding: 13px 11px;
		border-bottom: 1px dotted #cbdccd;
	}
	#tmp_hnavi_s .link_item .partner_icon {
		max-width: 31px;
		max-height: 28px;
		margin-right: 34px;
	}
	#tmp_hnavi_s .link_item .genre_icon {
		max-width: 41px;
		margin-right: 23px;
	}
	#tmp_hnavi_s .link_item .partner_icon img {
		width: 100%;
		height: 100%;
		object-fit: contain;
	}
	#tmp_hnavi_s .link_item .partner_ttl {
		padding-right: 10px;
		background-image: url(/shared/site_miyagi_oem/images/icon/icon_arrow_triangle_next_pi.png);
		background-repeat: no-repeat;
		background-position: right center;
		background-size: 6px auto;
		font-size: 125%;
	}
	#tmp_hnavi_s .link_item .partner_ttl br {
		display: none;
	}

	/* その他メニュー */
	#tmp_hnavi_s .hnavi {
		display: block;
		padding: 0 14px;
		list-style: none;
	}
	#tmp_hnavi_s .hnavi li {
		text-align: left;
	}
	#tmp_hnavi_s .hnavi li:not(:last-child) {
		margin-bottom: 8px;
	}
	#tmp_hnavi_s .hnavi a {
		display: inline-block;
		padding-right: 13px;
		text-decoration: none;
		letter-spacing: -0.03em;
		color: #112832;
		font-size: 100%;
		font-weight: 600;
		background-image: url(/shared/site_miyagi_oem/images/icon/icon_arrow_triangle_next_pi.png);
		background-repeat: no-repeat;
		background-position: right center;
		background-size: 6px auto;
	}

	/* gnavi
	================================================== */
	#tmp_gnavi {
		display:none;
	}
	/* pankuzu
	================================================== */
	#tmp_pankuzu {
		display:none;
	}
	#tmp_sma_pankuzu {
		display:block;
		padding-right:10px;
		padding-left:10px;
		border-bottom:1px solid #AABBCC;
		clear:both;
	}
	/* lnavi
	================================================== */
	/* rnavi
	================================================== */
	/* pnavi
	================================================== */
	/* plugin
	================================================== */
	.plugin {
		display:none; /* do not edit */
	}
	/* model_change
	================================================== */
	.wrap_mc_pc,
	.wrap_mc_pc #tmp_switch_pc_style {
		display: none;
	}
	/* ==================================================
	footer
	================================================== */
	/* fnavi */
	.footer_cnt {
		clear:both;
	}
	.footer_cnt address {
		font-style:normal;
	}
	.copyright {
		text-align:center;
		clear:both;
	}

	/* footer
	================================================== */
	#tmp_footer {
		padding: 22px 0px 0px;
	}

	#tmp_footer .wrap_footer {
		flex-direction: column;
		gap: 15px;
		margin-bottom: 0;
	}

	#tmp_footer .footer_cnt {
		flex-direction: column;
		gap: 13px;
	}

	.fnavi li:not(:last-child) {
		margin-bottom: 8px;
	}
	.fnavi a {
		font-size: 100%;
	}

	#tmp_footer .btn_list {
		display: flex;
		gap: 9px;
		margin-top: 0;
	}
	#tmp_footer .btn_list .btn_item {
		width: calc(100% - 4.5px);
	}
	#tmp_footer .btn_list .btn_item:not(:last-child) {
		margin-bottom: 11px;
	}
	#tmp_footer .btn_list .btn_item a {
		max-width: 100%;
		min-width: auto;
		width: 100%;
		min-height: 75px;
		border-radius: 11px;
		font-size: 93.8%;
	}

	#tmp_footer .btn_list .btn_item.contact_btn span {
		padding-left: 51px;
	}
	#tmp_footer .btn_list .btn_item.business_btn span {
		padding-left: 51px;
	}
	#tmp_footer .btn_list .btn_item.contact_btn span::before {
		width: 41px;
		height: 29px;
		left: 3px;
	}

	.copyright {
		max-width: 100vw;
		margin: 0 -20px;
		padding: 10px 10px 4px;
		font-size: 62%;
	}


	/* ==================================================
	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 {
		position:relative;
		display:block;
		height:0;
		padding-bottom:56.25%;
		overflow:hidden;
		min-width:200px;
	}
	#tmp_contents .frame_youtube object,
	#tmp_contents .frame_youtube 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;
	}

	/* event_cal
	================================================== */
	/* cate_ttl
	================================================== */
	#tmp_cate_ttl img {
		height:auto;
		max-width:100%;
	}

	/* tmp_means
	================================================== */
	/* ==================================================
	clearfix
	================================================== */
	#tmp_sma_lnavi_cnt .switch_menu .noicon_list:after {
		content: ""; /* Do not edit */
		display: table; /* Do not edit */
		clear: both; /* Do not edit */
	}
}