
/* CSS Information --------------------------
Description: レスポンシブページ（ヘッダ・フッタ）スマホ用CSS
Last Editor: yamauchi
Date: 2021/6/16
*/

@media screen and (min-width:631px) and ( max-width:830px) {
/*GBナビフォントだけを小さく */
.menu, .footer, .small{
	font-size: 0.8em;
}
.ftell{
	font-size: 16px;
	font-weight: bold;
}

.fin{
	padding: 0 7px;
}
	}
	

@media screen and  ( max-width:860px) {
/*３つのサブナビゲーション非表示 */
#hdmenu{
	display: none;
}
/*右ボックスの上部からの位置を調整*/
#hdarea{
	top: 26px;}
.fs-search-area-pd span{
	display: block;
}
.fs-search-area-pd select{
	font-size: 14px;
	margin: 0px 0px 4px ;
	padding: 3px;
	height:32px;
	vertical-align: bottom;
}
.fs-search-area-pd input.fs-ta{
	padding: 3px;
	font-size: 14px;
	height:32px;
}
.fs-search-area-pd input.fs-sb{
	padding: 3px 8px;
	font-size: 16px;
		height:32px;
}

	}




@media screen and  ( max-width:630px) {
/*スマホ画面 */		

body{
	background:none;
}
#header{
	border-bottom: 1px solid #99724b;
	padding-top: 2px;
	padding-bottom: 3px;
}
.FS2_repeater{	display: none !important;}		
/*.FS2_repeater{
	font-size: 10px;
	text-align: center;
	height: 17px;
	margin-bottom: 0px;
	position: absolute;
	left: 0;
	bottom: -17px;
	background: #e5dcd2;
	width: 100%;
}
*/

#headimg{	margin-bottom:0;
}

img.logo{
	max-width:60%;
}

#hdmenu{
	display: block;
}



/****プルダウン式GBナビに変更 ****/	
/*第二階層非表示*/
ul.menu li.menu_single ul.menu_second-level {
	display: none;
}


/* メニュー全体 */
#menu{
	/*配置*/
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
/*	height: 100%;*/
	z-index: 100;
}

/* メニュー開閉ボタン */

#menu div.menu-box{	pointer-events: none;
	/*デザイン*/
	font-size: 16px;
	width: 55px;
	height: 30px;
	background: #99724b;
	/*配置*/
	overflow: hidden;
	position: absolute;
	right: 7px;
	top:10px;
	line-height: 1.9em;
	/*操作を無効*/

}

#menu .menuopen{
	/*デザイン*/
	color: rgba(255,255,255,1);
	/*配置*/
	display: block;
	width: 100%;
	height: 100%;
	position: absolute;
	pointer-events: auto;
	text-align: center;
}

#menu .menuclose{
	/*デザイン*/
	color: rgba(255,255,255,1);
	/*配置*/
	display: none;
	width: 100%;
	height: 100%;
	position: absolute;
	text-align: center;
	pointer-events: auto;
}

/* メニュー一覧 */

/*右ボックス位置固定変更*/
#pd-menu{		/*デザイン*/
	background:#f5f1ee;
	width: 85%;
	/*配置*/
	position: absolute;
	top: 40px;/*#menu divの高さ*/
	right: 7px;
	display: none;
	padding: 12px 5px;
	border: 1px solid #99724b;
	z-index:4
}
#hdarea{
	position: static;
	text-align: center;
}
#hdmenu{
	margin-top: 10px;
	font-size: 1.2em;
	margin-bottom: 20px;
}
#hdmenu i.fa-lock{
	padding-left: 0;
}
.fs-search-area-pd select{
	font-size: 16px;
	margin: 0px 0px 6px;
	padding: 5px;
	height:40px;
	width: 100%;
}
.fs-search-area-pd input.fs-ta{
	padding: 5px;
	font-size: 16px;
	height:40px;
}
.fs-search-area-pd input.fs-sb{
	padding: 5px 10px;
	font-size: 16px;
	height:40px;
}
.fs-search-area-pd span{
	margin-bottom: 20px;
}
#menu ul{
	width: 95%;
	margin: 0 10px 20px;
}

#menu li{
	/*配置*/
	/*pointer-events: auto;*/
	position: relative;
	background: #FFF;
	border-bottom: 2px solid #f5f1ee;;
}
#menu li:after{
	content:"";
	position: absolute;
	width: 9px;
	height: 9px;
	transform: scaleY(1) rotate(45deg);
	border-top: 2px solid #999;
	border-right: 2px solid #999;
	top: 45%;
	right: 3%;
	box-sizing:border-box;}
#menu li a{
	padding: 0px 10px;
	color: #4d3926;
	display: block;
	font-size: 16px;
	line-height: 3em;

}


/* メニューオープン時 */
#menu:target .menuopen{
	/*配置*/
	display: none;
}

#menu:target .menuclose{
	/*配置*/
	display: block;
}

#menu:target #pd-menu{
	/*配置*/
	display: block;
}


/**** フッター部分のCSSここから ****/	
.footer2 .fbox p:before {
	content: url("https://pajamakobo.co.jp/css/logo-sp.gif");
	display: block;
}
.fbox{
	margin: 0;
	width: 100%;
}
.footer {
	font-size: 12px;
}
.footer a{
	color: #666;
}
.footer a:hover{
	color: #4d3926;
}
.footer h3{
	border-bottom: none;
	padding: 0;
	margin-bottom: 2px;
}
.footer2{
	background: #e5dcd2;
}
.fmenu{
	width: 100%;
	margin: 0;
	padding: 10px 0;
	text-align: center;
}
.fin{
	padding: 5px 4px;
}
.fmenu ul{
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	border-top: 1px solid #e5dcd2;
	border-collapse: collapse;
	box-sizing: border-box;
	margin: 0px;
	padding: 0px;
	background: #f5f1ee;
}
	
.fmenu ul li{
	display: inline-block;
	width: 50%;
	box-sizing: border-box;
	border-bottom: 1px solid #e5dcd2;
	border-right: 1px solid #e5dcd2;
	padding: 10px 2px;
}
.fmenu ul li:nth-child(odd){
	border-left: 1px solid #e5dcd2;
}

ul.flist{
	margin: 0;
}
ul.othermenu li{
	margin-bottom:0;
}

address{
	padding: 10px;
	background: #f5f1ee;
	border: none;

}
.ftell{
	font-size: 22px;
}
/*スマホの時だけ下線がでる*/
.ftell a{
	text-decoration: underline;
}


}


	
	
	





