@media only screen and (max-width:730px){
#device { display:block;}
#device p.pc_btn { display:none;}
#device p.sp_btn {display:block; }
}

@media only screen and (max-width:700px){

body { min-width:400px; font-size:100%;}
#header, #content{ width:100%;}
#footer { width:auto; text-align:center; }

#wrapper { background:#FFF; border-top:none; }
.base { width:auto; margin:0 !important;}

.pc { display:none;}
.sm { display:block;}

#device p.pc_btn { display:block !important;}
#device p.sp_btn { display:none !important;}

/*====================================================================================================
  HEADER
====================================================================================================*/
#header { display:none; }


/*====================================================================================================
  CONTENT
====================================================================================================*/
#content {}


/*====================================================================================================
  FOOTER
====================================================================================================*/
#footer { padding:10% 5% 5%; }
#footer .f_box h2.logo { width:300px; height:60px; margin-bottom:7%; }
#footer .f_box p.copy { margin-top:5%; }

#footer .f_box .add,
#footer .f_box p.copy { float:none; }


/*====================================================================================================
  TOPPAGE 
====================================================================================================*/
#toppage {}
#toppage h3 b { font-size:157%; }

/* MAINIMG */
#toppage .mainimg { padding:5% 2% 0; }
#toppage .mainimg .swiper-container { border-radius:15px; }
#toppage .mainimg .swiper-container .swiper-slide img { height:auto; }

/* ABOUT */
#toppage .about {}
#toppage .about .box_main { padding:15% 0; }
#toppage .about .box_main::before { width:85px; height:100px; right:5px; background-size:contain; }
#toppage .about .box_main .come { width:90%; margin:5% auto; }
#toppage .about .box_main .photo { width:80%; margin:0 auto; }
#toppage .about .box_main .photo img { width:100%; }

/* PRODUCT */
#toppage .product { padding:15% 3% 5%; }
#toppage .product::before { left:3%; width:110px; height:99px; background-size:contain; }
#toppage .product h3 { margin-bottom:5%; }
#toppage .product .box { width:50%; margin:0 0 5%; padding:2%; }
#toppage .product .box .name { font-size:100%; }

/* FLOW */
#toppage .flow { padding:15% 5%; }
#toppage .flow h3 { margin-bottom:7%; }
#toppage .flow .box::after { right:0; top:-7.8%; width:50px; height:83px; }
#toppage .flow .box .box1 { margin-bottom:15%; }
#toppage .flow .box .box1 h4 { font-size:115%; height:45px; width:212px; padding:8px 5px 8px 57px; }
#toppage .flow .box .box1 h4::before { font-size:138%; line-height:170%; width:43px; }
#toppage .flow .box .box1 img { width:100%; }
#toppage .flow .box .box1 .come { width:100%; }
#toppage .flow .box .box1 .photo-l { width:180px; margin:auto 5% auto auto; }
#toppage .flow .box .box1 .photo-r { width:180px; margin-left:5%; position:relative; }

#toppage .flow .box .flow2 h4,
#toppage .flow .box .flow4 h4 { margin-right:0; float:none; }

#toppage .flow .box .flow2 h4 { margin-left:185px; width:180px; }
/*#toppage .flow .box .flow4 h4 { margin-left:155px; }*/
#toppage .flow .box .flow7 h4 { width:360px; font-size:100%; }
#toppage .flow .box .flow7 h4::before { padding-top:4px; }

#toppage .flow .box .flow2 .come,
#toppage .flow .box .flow4 .come { float:none; }

#toppage .flow .box .flow2 .photo-l { margin-top:10px; width:160px; z-index:1; position:relative; }
/*#toppage .flow .box .flow4 .photo-l { margin-top:-60px; }*/

#toppage .flow .box .flow1 .photo-r { margin-top:-55px; }
#toppage .flow .box .flow5 .photo-r { margin-top:-33px; }
/*#toppage .flow .box .flow7 img { width: 42%; }*/

/* COMPANY */
#toppage .company { padding:10% 0; }
#toppage .company::before { width:100px; height:70px; left:10px; top:-30px; }
#toppage .company table { width:90%; margin-top:7%; border-top:none; }
#toppage .company table th { text-align:left; }
#toppage .company table tr:nth-child(1) th { border-top:1px solid #d5d5d5; }
#toppage .company table th,
#toppage .company table td { width:96%; display:block; }

/* ABOUT */
#toppage .access {}
#toppage .access h3 { margin-bottom:5%; }
#toppage .access iframe { height:300px; }

/* CONTACT */
#toppage .contact { padding:10% 0; }
#toppage .contact .box_main .comment1{ margin:0 4%;}


/*====================================================================================================
  SUB PAGE
====================================================================================================*/
.pan { display: none;}

#subpage { 
    margin:0 auto !important;
    width:100%;
    box-sizing:border-box;
}

/* Бе [No Touch]Бе */
/* MIDASHI */
#subpage h3 { margin:0 2% 20px; font-size: 120%;}
#subpage h4.mid { margin:0 2% 20px; font-size: 110%;}
#subpage h4 { margin:0 2% 20px; font-size: 100%;}

/* CATCH COPY */
#subpage .catch { margin:0 2% 20px; font-size: 120%;}

/* COMMON */
#subpage .comment1 { margin:0 2% 20px;}
#subpage .comment2 { margin:0 2% 20px; padding:5%;}
#subpage .comment3 { margin:0 2% 20px; padding:5%;}

/* HYOU */
#subpage table.hyou { margin:0 2%; width:96%; table-layout:auto;}
#subpage table.hyou th,
#subpage table.hyou td{
	table-layout:auto !important;
	display:block !important;
	padding:5% !important;
	width:90% !important;
	height:auto !important;
}
#subpage table.pc_tit { display:none;}
#subpage table.hyou .sm_mid { display:block;}

/* 2RETU */
#subpage table.hyou2 td table {}
#subpage table.hyou2 td table th,
#subpage table.hyou2 td table td {
	display:table-cell !important;
	padding:5% !important;
	width:auto !important;
	height:auto !important;
}

/* 3RETU */
#subpage table.hyou3 { border-top:1px solid #DDD;}
#subpage table.hyou3+table.hyou3 { border-top:1px solid #DDD;}

/* 4RETU */
#subpage table.hyou4 {border-top:1px solid #DDD;}
#subpage table.hyou4+table.hyou4 { border-top:1px solid #DDD;}

/* 5RETU */
#subpage table.hyou5 { border-top:1px solid #DDD;}
#subpage table.hyou5+table.hyou5 { border-top:1px solid #DDD;}

/* FREE */
#subpage .pc_table { display:none;}
#subpage .sm_table { display:block;}
#subpage .sm_table table td { padding:5% !important;}
	
/* FREE2 */
#subpage table.free { margin:20px 2% 0; border-top:1px solid #DDD !important; border-bottom:1px solid #DDD !important;}
#subpage table.free td {
	table-layout:auto !important;
	display:block !important;
	padding:5% !important;
	width:90% !important;
	height:auto !important;
	border-bottom:none;
}
#subpage table.free td:last-child {border-bottom:none;}
#subpage table.free td div.sm {display:block !important; text-align:center; border-bottom:none !important /*1px solid #1F266C*/;}
#subpage table.free tr:nth-child(1) td:nth-child(1),
#subpage table.free tr:nth-child(1) td:nth-child(3) {border-bottom:1px dotted #DDD !important;}

/* FIX */
#subpage .fix_table {font-size:1vw;}
#subpage .fix_table table { padding: 0;}
#subpage .fix_table table th,
#subpage .fix_table table td { padding:2%;}

/* LIST */
#subpage ul.list-ul { margin:20px 2%;}

/* LINK */
#subpage .link2,
#subpage .link3,
#subpage .link4 {width:auto;}
#subpage .file2,
#subpage .file3,
#subpage .file4 {width:auto;}

/* EMBEDDED */
#subpage .embedded { margin:0 2% 20px;}
#subpage .embedded iframe { width: 100%; height: 300px;}

/* PHOTO BOX */
#subpage ul.photo_box { clear:none !important; float:none !important; margin:2%; width:96% !important; text-align:center;}
#subpage ul.g1 li,
#subpage ul.g2 li,
#subpage ul.g3 li,
#subpage ul.g4 li,
#subpage ul.g5 li{ margin:15px 0; width:100%; text-align:center;}
#subpage ul.g1 li.photo img,
#subpage ul.g2 li.photo img,
#subpage ul.g3 li.photo img,
#subpage ul.g4 li.photo img,
#subpage ul.g5 li.photo img { max-width:240px !important; height:auto !important;}

/* YOUTUBE */
#subpage .youtube {position: relative; width: 100%;}
#subpage .youtube iframe { width: 100% !important;  height: 100% !important;}

/* BOX */
#subpage .temple-box { margin:0 2%; width:96%;}
#subpage .temple-box:after { display:none;}
#subpage .box1,
#subpage .box2 { float:none;margin: 0 2% 20px; width:96%;}
#subpage .box1:after,
#subpage .box2:after { display:none;}
#subpage .box1 .catch { margin:0 0 20px !important;}
#subpage .box1 h4,
#subpage .box2 h4 { margin:10px 0; font-size:100%;}
#subpage .photo-c { float:none; padding:0; width:100%;}
#subpage .photo-c img { max-width:240px !important; height:auto !important; padding:0 0 20px;}
#subpage .photo-l,
#subpage .photo-r { float:none; padding:0; width:100%; text-align:center;}
#subpage .photo-l img,
#subpage .photo-r img { max-width:240px !important; height:auto !important; padding:0 0 20px;}

/* LINE */
#subpage .line {
	margin:0 2% 20px;
	height:50px;
	background-size:100% auto;
}

/* BUTTON */
#subpage .btn { float:none; margin:1% 2%;}
#subpage .b1,
#subpage .b2,
#subpage .b3 { width:auto;}

/* COLUMNBOX */
#subpage .column {}
#subpage .column:after { display:none;}
#subpage .column .col2 { float:none; margin: 2%; width: 96%;}
#subpage .column .col3 { float:none; margin: 2%; width: 96%;}

/* FLOW */
#subpage ul.flow_box {}
#subpage ul.flow_box:after { display:none;}
#subpage ul.flow_box li { float:none; width:96% !important;}
#subpage ul.flow_box li a:hover {}
#subpage .flow1+.flow1 { margin-top:30px;}
#subpage .flow1+.flow1:before { top:-30px;}
#subpage ul.flow_box li+li { margin-top:30px;}
#subpage ul.flow_box li+li:before {
	position:absolute;
	top:-30px;
	left:0;
	display:block;
	clear:both;
	content:"";
	width:100%;
	height:30px;
	background:url(https://www.tees-furniture.com/common/image/flow_bg_sm.png) no-repeat center center;
}
#subpage .flow1a+.flow1a {margin-top:30px;}
#subpage .flow1a+.flow1a:before { top:-30px; width:100%;}
#subpage .flow1a li+li { margin-top:5px !important; padding: 0 !important;}

/* PAGE UP */
#page { bottom:90px;}
#page a { background-position: center; background-size:  100% 100%; height: auto; aspect-ratio: 65/119;}


/*====================================================================================================
  PAGE TITLE
====================================================================================================*/

/*====================================================================================================
  PAGE TITLE
====================================================================================================*/

/*====================================================================================================
  PAGE TITLE
====================================================================================================*/

/*====================================================================================================
  PAGE TITLE
====================================================================================================*/

/*====================================================================================================
  PAGE TITLE
====================================================================================================*/
}

