@charset "UTF-8";

/* widthが799以下の時読み込まれる */
@media only screen and (max-width: 799px) {


	.pc_only {
		display: none;
	}

	.sp_only {
		display: block;
	}
	

	/* -------------------------------
				header 
	-------------------------------- */
	.header_content {
		padding: 10px 0px;
		z-index: 99;
	}

	.header_area {
		grid-template-columns: 0.8fr 1fr;
    	grid-column-gap: 10px;
	}

	.header_logo {
		grid-column-start: 1;
		grid-row-start: 1;
		display: -webkit-box;
	    -webkit-box-align: center;
	    -webkit-box-pack: center;
	}

	.header_text {
		display: grid;
		grid-template-columns: auto;
		border-bottom: none;
		grid-row: 1/3;
		padding: 0px 20px;
		margin-top: 40px;
	}

	.hd_text_1 {
		font-size: 0.9rem;
		display: -webkit-box;
		-webkit-box-align: end;
	}

	.hd_text_2 {
		text-align: left;
		font-size: 1.2rem;
		border-bottom: 3px dashed #C6A500;
	}

	.header_link {
		grid-column-start: 1;
		grid-row-start: 3;
		grid-column: 1/3;
		grid-template-columns: auto auto auto;
	}

	.header_link a {
		text-align: center;
		padding: 5px 0px;
	}

	.header_sp_logo {
		text-align: center;
	}

	.header_sp_logo a {
		display: block;
	}

	.header_sp_logo img {
		margin-right: 75px;
		max-width: 200px;
	}

	/*ハンバーガーメニュー*/
	.hamburger-menu {
		cursor: pointer;
		position: relative;
		width: 35px;
		height: 30px;
		margin-top: 15px;
	    margin-left: 20px;
	    margin-right: 20px;
		z-index: 99;
	}

	.hamburger-menu-line {
	  position: absolute;
	  transition: var(--hamburger-menu-transition);
	  width: calc(100% - var(--hamburger-menu-padding) * 2);
	  height: var(--hamburger-menu-border-px);
	  background-color: var(--hamburger-menu-border-color);
	}

	.line-top {
	  top: 0;
	  left: 0;

	  border-top: 4px solid #4B0F0C;
	  border-top-left-radius: 100px;
	  border-top-right-radius: 100px;
	  border-bottom-left-radius: 100px;
	  border-bottom-right-radius: 100px;
	  width: 100%;
   	  transition: 0.3s; /* アニメーション秒数 */
	}

	.line-middle {
	  top: 10px;
	  left: 0;

	  width: 100%;
	  border-top: 4px solid #4B0F0C;
	  border-top-left-radius: 100px;
	  border-top-right-radius: 100px;
	  border-bottom-left-radius: 100px;
	  border-bottom-right-radius: 100px;
   	  transition: 0.3s; /* アニメーション秒数 */
	}

	.line-bottom {
	  bottom: 6px;
	  left: 0;

	  width: 100%;
	  border-top: 4px solid #4B0F0C;
	  border-top-left-radius: 100px;
	  border-top-right-radius: 100px;
	  border-bottom-left-radius: 100px;
	  border-bottom-right-radius: 100px;
   	  transition: 0.3s; /* アニメーション秒数 */
	}

	/* ハンバーガーメニュー押下時 */
	.hamburger-menu.active > .line-top {
	  top: 12px;
	  transform: rotate(45deg);
	}

	.hamburger-menu.active > .line-middle {
	  width: 0;
	  height: 0;
	  left: 14px;
	}

	.hamburger-menu.active > .line-bottom {
	  bottom: 14px;
	  transform: rotate(-45deg);
	}

	.menu_label {
		font-size: 0.8rem;
		text-align: center;
		color: #4B0F0C;
	}

	.menu_label.active {
		font-size: 0px;
	}

	.menu_label.active:after {
    	font-size: 0.8rem;
    	text-transform: uppercase;
		content: "閉じる";
		color: #4B0F0C;
	}

	.ham_btn_area {
		text-align: center;
	}

	.header_sp_grid_1 {
		display: grid;
		grid-template-columns: 75px 1fr;
		margin: 0 auto;
	}

	/* 開く前のハンバーガーメニュー位置 */
	.hamburger_menus {
		position: fixed;
	    z-index: 2;
	    top: 73px;
	    left: 0;
	    background: #F7F7F7;;
	    color: #4B0F0C;
	    text-align: center;
	    transform: translateY(-150%);
	    transition: all 0.6s;
	    width: 100%;
	    height: 100%;
	    overflow: auto;
	    -webkit-overflow-scrolling: touch;
	}

	/* 開いた後のハンバーガーメニュー位置 */
	.hamburger_menus.active {
		transform: translateY(0%);
	}

	.header_sp_link {
		margin-top: 20px;
		font-size: 1.2rem;
	}

	.hd_tel_1::before {
		left: -47px;
	}

	.hd_tel_1 {
		padding-left: 0px;
	}

	.header_sp_link a {
		color: #4B0F0C;
		display: block;
		text-align: left;
		text-decoration: none;
		padding: 8px 20px;
		border-bottom: 1px dashed #C6A500;
	}

	.sp_link_top a {
		border-top: 1px dashed #C6A500;
	}

	.header_tel {
		margin-top: 20px;
		padding: 0px 20px;
	}

	.login_rink {
		margin-left: auto;
		margin-right: auto;
		margin-top: 20px;
		width: 300px;
	}

	.login_rink a {
		padding: 3px 0px;
	}

	.close_btn_mark {
		margin: 30px 0px;
	}

	

	/* -------------------------------
				footer
	-------------------------------- */
	.footer_grid_1 {
		display: block;
		padding: 0px 10px;
	}

	.footer_grid_2 {
		grid-template-rows: 20px 50px auto;
	}

	.footer_img_1 img {
	    max-width: 65px;
	    margin-right: 10px;
	}

	.footer_tel_1 {
		font-size: 2.4rem;
	}

	.footer_contact {
    	-webkit-box-pack: center;
    	margin-top: 25px;
	}

	.footer_content_1 {
		padding-top: 50px;
		padding-bottom: 100px;
	}

	.footer_text_2 {
		text-align: center;
		font-size: 1.1rem;
	}

	.footer_contact a {
		padding: 15px 15px;
		font-size: 1rem;
		border-radius: 5px;
	}

	.footer_contact img {
	    width: 40px;
	    margin-right: 10px;
	}

	.footer_grid_3 {
		display: block;
		padding: 10px 0px;
	}

	.copy_rigit {
		font-size: 0.8rem;
	}
	
	/* -------------------------------
				top
	-------------------------------- */
	.top_image {
		margin-top: 70px;
	}

	.top_gird_1 {
		display: block;
	}
	
	.top_gird_2 {
		display: block;
		padding: 0px 15px;
	}

	.top_description_1 {
		font-size: 1rem;
		padding: 50px 30px;
	}

	.top_description_2 {
		padding: 20px 15px;
	}

	.top_text_1 {
		font-size: 1.19rem;
		text-shadow: 0px 2px 3px #CC9966;
	}

	.description_text {
		font-size: 1.2rem;
	}

	.description_grid {
		grid-row-gap: 10px;
    	grid-column-gap: 10px;
	}

	.top_box_1 {
		margin-top: 20px;
	}

	.description_title {
		font-size: 1rem;
		display: -webkit-box;
		-webkit-box-align: center;
	}

	.process_title {
		font-size: 1.6rem;
		padding: 10px 0px;
	}

	.top_gird_3 {
		display: block;
	}

	.top_gird_4 {
		grid-row-gap: 0px;
		grid-template-columns: 1fr;
		grid-template-rows: 80px 100px 80px 100px 80px 100px 80px 100px 80px 100px;
	}

	.process_number_title {
		width: 275px;
	}

	.process_mark {
		left: 99.9%;
	}

	.process_text {
		padding: 0px 30px;
		margin-bottom: 5px;
	}

	/*TOPへ戻るボタン*/
	.top_page {
		right: 10px;
		bottom: 15px;
	}

	/* -------------------------------
				会社概要
	-------------------------------- */
	.sub_title::before {
		border-left: 4px solid #FFFFFF;
    	margin-right: 16px;
	}

	.sub_title {
		font-size: 1.6rem;
		padding: 15px 20px;
	}

	.google_map {
		height: 300px;
	}

	.company th, .company td {
		display: block;
		border-bottom: none;
	}

	.company td {
		border-bottom: 1px solid #000000;
		padding-left: 10px;
		padding-top: 0px;
	}

	/* -------------------------------
				サービス内容
	-------------------------------- */
	.service_gird_1 {
		grid-template-columns: 1fr;
		grid-row-gap: 0px;
	}

	.service_right {
		padding: 0px;
	}

	.service_left {
		padding: 0px;
	}

	.service_text {
		padding-right: 30px;
		padding-left: 30px;
		padding-bottom: 20px;
	}

	.service_text_title {
		
		padding: 0px 30px;
	}

	.service_image {
		margin-bottom: 50px;
	}

	.service_texts_1 {
		grid-row-start: 1;
	}
	.service_image_1 {
		grid-row-start: 2;
	}

	.service_texts_2 {
		grid-row-start: 3;
	}
	.service_image_2 {
		grid-row-start: 4;
	}

	.service_texts_3 {
		grid-row-start: 5;
	}
	.service_image_3 {
		grid-row-start: 6;
	}

	.service_texts_4 {
		grid-row-start: 7;
	}
	.service_image_4 {
		grid-row-start: 8;
	}


	/* -------------------------------
				粗大ごみ
	-------------------------------- */
	.sentence1 {
		position: initial;
		padding: 30px 0 0 20px;
		text-align: left;
	}

	.konnatoki {
		text-align: center;
	}

	.image1 {
		padding: 0px;
		height: auto;
		width: 60%;
		margin: 0 auto;
	}

	.image2 {
		width: 100%;
		height: auto;
		margin: 0px;
	}

	.aimitumori {
		padding-left: 20px;
	}

	.naiyou {
		padding-left: 20px;
		margin: 20px 0;
	}

	.sentence2 {
		margin: 30px 20px 30px 20px;
	}

	.sentence3 {
		margin: 0 20px 70px 20px;
	}

	.scene_container {
		margin: 30px 0 30px 20px;
	}

	.images_container {
		text-align: center;
	}

	.image3 {
		height: 300px;
		width: 350px;
	}
	
	.image4 {
		margin: 20px 0;
		height: 300px;
		width: 350px;
	}
	
	.image5 {
		height: 300px;
		width: 350px;
	}

	.garbage_img_grid {
		padding: 0px 30px;
		grid-template-columns: 1fr;
		grid-row-gap: 30px;
	}

	.check_mark {
		font-size: 1rem;
		margin-left: 0px;
	}

	.check_mark::before {
		width: 16px;
		height: 16px;
	}

	.check_mark::after {
	    font-size: 1.4rem;
	    left: -1px;
	    top: -4px;
	}

	.test_grid {
		grid-template-columns: 1fr 1fr;
	}

	.test_grid > div {
		border-bottom: 1px solid #989798!important;
	}

	.test_grid > div:nth-last-child(-n+2) {
		border-bottom: none!important;
	}

	/* -------------------------------
				お問い合わせ
	-------------------------------- */
	.main_content {
		width: 100%;
	}

	.toiawase .table th, .toiawase .table td {
		display: block;
	}

	.toiawase .row {
		margin: 10px 0px;
	}

	.toiawase .sentence {
		margin-top: 30px;
	}

	.toiawase .border_title {
		margin-top: 50px;
	}

	.toiawase .main_title {
		margin-top: 30px;
	}

	.toiawase table {
		border-collapse: collapse;
		border: none;
		border-bottom: 1px solid #989798;
	}
	.toiawase th,.toiawase td {
		border: none;
	}

	.toiawase th {
		border-top: 1px solid #989798;
	}
	.toiawase td {
		border-top: 1px solid #989798;
	}

	.required_mark {
		display: inline-block;
	    margin-left: 10px;
	    font-size: 0.8rem;
	}

	.toiawase_label {
		vertical-align: sub;
	}

	/* -------------------------------
				遺品整理
	-------------------------------- */
	.relics_gird_1 {
		display: block;
	}

	.relics_description_1 {
		padding: 0px;
	}

	.sp_text_1 {
		padding: 20px 15px;
	}

	/* -------------------------------
				事業系ゴミ
	-------------------------------- */
	.common_heading_text_1 {
		padding: 20px 50px;
		position: initial;
	}

	.common_heading_img {
		text-align: center;
		height: auto;
	}

	.common_heading_img img {
		max-height: 200px;
		position: initial;
	}

	/* -------------------------------
				八王子資源の強み
	-------------------------------- */
	.strength_title {
		font-size: 1.6rem;
	}

	.strength_text_1 {
		position: initial;
		font-size: 1rem;
		width: auto;
		padding: 10px;
	}

	.strength_img_1 {
		display: flex;
	}

	.strength_img_1 img {
		width: 100%;
	}

	/* -------------------------------
				八王子資源PR
	-------------------------------- */
	.restaurant_pr.contents {
		margin-top: 100px;
	}

	/* -------------------------------
				プライバシーポリシー
	-------------------------------- */
	.privacy_policy_contents {
		padding-top: 100px;
	}
	/* -------------------------------
				サイトマップ
	-------------------------------- */

	.sitemap_grid {
		display: block;
	}
}