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

body {
margin:0 0 0 0 ; 
font-weight:400;
font-family:"ＭＳ Ｐゴシック", Osaka, "ヒラギノ角ゴ Pro W3";
background-image:url(../img/bgsp-2019fall.jpg);
background-attachment:fixed;
background-position:top;
background-repeat:no-repeat;
}
* {padding:0; margin:0}
a {
	color: #000000;
}
a:link {
	text-decoration: none;
}
a:visited {
	text-decoration: none;
}
a:hover {
	text-decoration: none;
}
a:active {
	text-decoration: none;
}
#wrap {
margin: 0px auto;
width: 100%;
}
#header {width: 100%;
margin: 0px auto;
display:block;
overflow:hidden;

}
#header h1{
    text-align:right;
    font-size:12px;
	color:#ffffff;
	background-color:#999999;
	margin:0px 0px 0px 0px;
	padding:0px 10px 2px 0px;
	}


#logo {
    float:left;
    text-align:center;
	margin:0px 0px 0px 0px;
	width:95%;
}

#logo img{
    margin-top: 50px;
	max-width: 300px;
}

#header_flash {
	float: left;
	width:100%;
	margin:0 auto 20px;
    display:block;
}
#header_navi {
	float: left;
	width:100%;
	margin-top:30px;
	border-bottom:1px solid #fff;
	padding: 0 0 10px 0;
    display:block;

}

#header_navi li {
	float: right;
	list-style:none;
	padding:0px ;
	width:auto;
	color: #762f07;
	font-size: 12px;
	font-family: serif;
	width: 25%;
	text-align: center;
}


#header_navi li a{
	width:auto;
	color: #762f07;
}

#more{
	background: #762f07;
	color: #fff;
	padding: 5px 10px ;
	font-size: 12px;
	margin-bottom: 30px;
	float: left;
}

#more a{
	color: #fff;
	font-size: 12px;
	font-weight: 100;
}
#more a:hover{
	color: #fff;
	font-size: 12px;
	font-weight: 100;
}

#header_menu {
    display: none;
	float: left;
	width:950px;
	margin:10px 0px 0px 0px;
	padding-bottom:10px;
	border-bottom:1px solid #762f07;
}

#header_menu a{
     font-size: 12px;
}



#newstitle {
    width: 98%;
	line-height:150%;
	border: solid 2px #762f07;
	margin:0 auto;
	padding:0;
	}
#nttext{
    color:#464646;
	border-left: solid 7px #762f07;
    text-align:left;
	font-weight:bold;
	padding : 0 0 0 5px;
	width: 90%;
	margin: 0;
}

#newsrighttitle {
    width: 98%;
	line-height:150%;
	border: solid 2px #762f07;
	margin:0px 0px 20px 0px;
	padding:0;
	}
	
#pagetitle{
	font-size: 30px;
	text-align: center;
	margin: 20px 20px 40px 20px;
    color:#000;
	border-bottom: solid 10px #762f07;
	letter-spacing: 2px;
}

s
#pagetitlesub {
	line-height:150%;
	background-color: #762f07;
	margin:0px 0px 20px 0px;
	padding:4px 10px 4px 5px;
	}
	
	
.pagesubtitle {
  max-width: 300px;
  margin: 0 auto;
  padding: 0;
  font-family: sans-serif;
  font-size: 14px;
  color:#762f07;
}
.heading {
  margin: 10px 0;
}
.pagesubtitle9 .heading {
  border-top: 3px solid #762f07;
  border-bottom: 3px solid #762f07;
  padding: 5px 20px;
  position: relative;
  width: 250px;
  text-align: center;
  margin: 30px auto;
  color: #762f07;
  font-weight: bold;
  clear: both;
}
.pagesubtitle9 .heading:before {
  content: "";
  border-left: 3px solid #762f07;
  border-right: 3px solid #762f07;
  display: block;
  position: absolute;
  width: calc(100% - 20px);
  height: 58px;
  top: -12px;
  left: 8px;
}
	
	
#pagetextsbu{
    color:#fff;
	border-left: solid 7px #fff;
    text-align:left;
    font-size:14px;
	font-weight:bold;
	padding : 0 0 0 5px;	
}


#pagetextsbu a:link{
    color:#fff;
    text-align:left;
    font-size:14px;
	font-weight:bold;
	padding : 0 0 0 5px;	
}

#pagetextsbu a:visited{
    color:#fff;
    text-align:left;
    font-size:14px;
	font-weight:bold;
	padding : 0 0 0 5px;	
}

#pagetextsbu a:active{
    color:#fff;
    text-align:left;
    font-size:14px;
	font-weight:bold;
	padding : 0 0 0 5px;	
}


#news-block li{
    height: 320px;
}

#shihanblock li{
  width: 96%;
  margin: 0 2%;
  }

#shihantext{
    font-size:12px;
	margin:10px 5px 0px 5px;
    
	}


#sonota {
    width: 100px;
	line-height:150%;
	border: solid 2px #762f07;
	margin:0px auto 30px;
	padding:4px 10px 4px 5px;
    text-align:center;
    font-size:14px;
	font-weight:bold;
    color:#762f07;
	}


#main {
position: relative;
margin:10px auto;
width: 100%;
float: left;
z-index: 99;
}

#mainblockbg{
width: 100%;
margin: 20px auto;
background-image:url(../img/mainbg.jpg);
padding: 20px 0;
display: block;
float: left;
-moz-background-size:100% 100%;
background-size:100% 100%;
}

#mainblockbg02{
width: 100%;
margin: 10px auto;
background-image:url(../img/wafubg.jpg);
padding: 20px 0;
display: block;
float: left;
-moz-background-size:100% 100%;
background-size:100% 100%;
}

#mainblocknonbg{
width: 100%;
margin: 10px auto;
padding: 20px 0;
display: block;
float: left;
}

#mainblocktokusetsu{
width: 100%;
margin: 10px auto;
padding: 20px 0;
display: block;
float: left;
}

#mainblocknews{
width: 100%;
margin: 10px auto;
padding: 20px 0;
display: block;
float: left;
}

#mbntitle{
	font-size: 18px;
	text-align: center;
	margin: 20px;
    color:#000;
	border-bottom: solid 10px #762f07;
}

#blockleft{
	width: 100%;
	float: left;
	text-align: center;
}


#blockright{
	width: 100%;
	float: left;	
	text-align: center;
}

#blockright img{
	width: 90%;
	margin: 1% 5%;
	text-align: center;
}

#blockrighttitle{
	font-size: 18px;
	text-align: center;
	margin: 10px 0 10px 0;
    color:#762f07;
    letter-spacing: 3px;
}

#blockrighttext{
	font-size: 12px;
	text-align: center;
	font-weight: 100;
    letter-spacing: 3px;
    line-height: 150%;
}

#blockleft02{
	width: 100%;
	float: left;
	text-align: center;
}


#blockright02{
	width: 100%;
	float: left;
}

#blockrighttitle02{
	font-size: 18px;
	text-align: center;
	margin: 20px 0 10px 0;
    color:#762f07;
    letter-spacing: 3px;
}

#blockrighttext02{
	font-size: 12px;
	text-align: center;
	font-weight: 100;
    letter-spacing: 3px;
    line-height: 150%;
}


#main a:link {
	text-decoration: none;
}

#main a:hover {
	text-decoration: none;
	color: #CCCCCC;
}
#main a:active {
	text-decoration: none;
	color: #000000;
}

#mainright2 a {
	text-decoration: none;
    font-size:14px;
	color: #99CC00;  
}

#mainright2 a:hover {
	text-decoration: none;
    font-size:14px;
	color: #CCCCCC;  
}

.left {
    float: left;
    margin-right:20px;
    }

#mainblock{
	float: left;
	margin:40px 20px 20px 0px;
	padding: 0px;
	width: 100%;
}


/*上田宗箇流の特徴ページ*/

#content01{
    width: 90%;
    height: auto;
	background-color: #762f07;
	padding: 10px ;
	border-radius: 10px;
	font-size: 14px;
	margin: 10px auto;
	color: #fff;
}


#content02{
    width: 90%;
	padding: 0px ;
	font-size: 14px;
	margin: 0px auto;
}

/*歴代家元ページ*/
.tablereki {
    border-top: 1px solid #999;
    width: 91%;
  }
.tablereki td {
    display: block;
    text-align: center;
    width: 91%;
  }
.tablereki th {
    display: block;
    border-top: none;
    border-bottom: none;
    width: 91%;
  }

.tablereki a{
	color: #99CC00;
}

/*道具ページ*/
.dougupc{
	display: none;
}

.dougusp{
	margin: 0px auto;
	display: block;
}
.dougusp img{
	width: 100%;
}

.dougutitle{
	color: #762f07;
	text-align:left;
    font-size:20px;
	margin:10px 20px 0px 20px;
	padding:0px 10px 2px 10px;
	font-weight:100;
	line-height:150%;
	border-bottom: solid 1px #ccc;
}

.dougutext{   
    text-align:left;
    font-size:16px;
	color:#000000;
	margin:10px 20px 50px 20px;
	padding:0px 10px 2px 10px;
	font-weight:100;
	line-height:130%;
	}
	


/*和風ページ*/

.wafuleft{
	float: left;
	width: 95%;
	margin: 0 2% 40px;
}

.wafuright{
	float: left;
	width: 95%;
	margin: 0 2% 40px;
}

	

#main h1{
    font-size:14px;
	padding:0px 20px 2px 10px;
	font-weight:100;
	line-height:150%;
	}
#main h2{
    font-size:16px;
	font-weight:bold;
	background-color:#762f07;
	color:#fff;
	padding:3px 10px;
	clear: both;
	margin:0 0 20px 0;
	}
#main h3{   
    text-align:left;
    font-size:14px;
	color:#000000;
	margin:10px 20px 0px 20px;
	padding:0px 10px 2px 10px;
	font-weight:100;
	line-height:150%;
	}
#main h4{
    text-align:left;
    font-size:14px;
	font-weight:bold;
	color:#99CC00;
	margin:20px 20px 10px 20px;
	padding:0px 10px 2px 10px;
	}
#main h5{
    text-align:right;
    font-size:10px;
	font-weight:100;
	color:#000000;
	margin:10px 20px 10px 20px;
	padding:0px 10px 2px 10px;
	}
#main h6{
    text-align:center;
    font-size:12px;
	font-weight:100;
	color:#99CC00;
	margin:0px 0px 10px 0px;
	padding:0px 10px 2px 10px;
	}



#gyouji {
	margin: 0 0 30px;
}

#gyouji h1{
    text-align:center;
    font-size:16px;
	color:#000000;
	margin:0px 20px 0px 20px;
	padding:10px 10px 10px 10px;
	font-weight:bold;
	line-height:150%;
	}
#gyouji h2{
    text-align:center;
    font-size:12px;
	color:#999999;
	margin:0px 0px 0px 0px;
	padding:5px 10px 5px 10px;
	background-color: #fff;
	}
#gyouji h3{
    text-align:left;
    font-size:12px;
	color:#999999;
	font-weight:bold;
	margin:0px 0px 0px 0px;
	padding:5px 0px 5px 10px;
	}

#mame {
	margin: 0 0 30px;
	width: 100%;
}	
.mametable {
    width: 90%;
    text-align: center;
    margin: 20px auto;
}			
	

#nyumon {
	margin: 0 0 30px;
}

#nyumontext{
    text-align:center;
    font-size:14px;
	color:#999999;
	margin:0px 0px 0px 0px;
	padding:5px 10px 5px 10px;
	line-height: 250%;
	}
#nyumontext2{
    text-align:center;
    font-size:14px;
	color:#99CC00;
	margin:0px 0px 0px 0px;
	padding:5px 10px 5px 10px;
	line-height: 250%;
	}	
	
#mainleft{
width:250px;
float:left;
margin:10px 0 10px 0;
}

#mainleft ul {
	list-style-type:none;
}
#mainleft li {
list-style: none;
    width: 230px;
	padding:0px 0px 20px 0px;
	overflow: hidden;	
}

#maincenter{
width:100%;
float:left;
margin:10px 0 0 0;
}

#maincenter img{
display: block;
}

#mainright{
width:100%;
float:left;
margin:10px 0 0 0;
}

#mainright2{
width:100%;
float:right;
margin:10px 0 0 0;
}

#shop{
	width:100%;
margin:0 0 0 0;
float: left;
}

#shop ul{
list-style: none;
}

#shop li{
list-style: none;
float: left;
width: 50%;
height: auto;
padding: 10px 0 30px;
text-align: center;
}

#shosa{
	width:100%;
margin:0 0 0 0;
float: left;
}

#shosa ul{
list-style: none;
}

#shosa li{
list-style: none;
float: left;
width: 90%;
height: auto;
padding: 10px 5% 30px;
text-align: center;
}

#shop2{
width:950px;
margin:0 0 0 0;
float: left;
}

#shop2 ul{
list-style: none;
}

#shop2 li{
list-style: none;
float: left;
width: 200px;
height: 270px;
padding: 10px 15px 0 15px;
text-align: center;
}

#kounyu a:link {
	background-color: #762f07;
	border-radius: 5px;
	width: 50px;
	height: 30px;
	text-align: center;
	font-size: 14px;
	color: #fff;
	padding: 5px 5px 5px 5px ;
	
}

#kounyu a:hover{
	background-color: #cccccc;
	border-radius: 5px;
	width: 50px;
	height: 30px;
	text-align: center;
	font-size: 14px;
	color: #fff;
}


#fotter {
    margin:0 auto 0;
    width: 1;
    height: 40px;
	background-color:#762f07;
	float: left;
}
#fotter h1{
    text-align:center;
    font-size:10px;
	font-weight:100;
	color:#fff;
	margin:0px 0px 0px 0px;
	padding:10px 0 10px 0;
	}


input[type=button]{
   margin:2px 0;
   width: 100%;
   height: auto;
}

#keikomap{
	width: 90%;
	text-align: center;
	margin: 20px auto;
	display: block;
	clear: both;
}

#keikomap a{
	color: #fff;
	font-size: 12px;
}


#spmap{
	
}

#spmap ul{
	list-style: none;
}

#spmap li{
	list-style: none;
	float: left;
	width: 100%;
}

.accordion {
	margin: 0 auto;
	min-width: 100px;
	padding:0;
	width: 50%;
	float: left;
}
.accordion .ac-content {
	margin: 0 ;
	text-align: center;
}
.accordion input {
	display: none;
}
.accordion label {
	display: block;
	background: #762f07;
	cursor: pointer;
	padding: 30px;
	border: 1px solid #fff;
	color: #fff;
	font-size: 16px;
}
	

.accordion label:hover {
	background: #ccc;
}
.accordion .ac-cont {
	transition: 0.2s;
	height: 0;
	overflow: hidden;
	background: #ddd;
	padding: 0 10px;
}

.accordion .ac-cont a {
	font-size: 16px;
}

.accordion input:checked + .ac-cont {
	height: auto;
	padding: 10px;
	border-bottom: solid 1px #fff;
}

.accordion label a{
    color: #fff;
}

#pcmap{
	display: none;
}

.snsarea{
	margin: 0 0 20px 0;
}

.button {
	width: 100px;
}

.in {
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}


.leftcol,
.rightcol {
  color: black;
  padding: 2%;
  text-align: center;
}
.leftcol img{
	  width: 90%;
  }
p {
  text-align: left;
}
img {
  max-width:100%;
  height: auto;
}

#spotitle{
	font-size: 16px;
	text-align: center;
	margin: 20px 20px 40px 20px;
    color:#000;
	border-bottom: solid 3px #762f07;
	letter-spacing:2px;
}


}



/*最新情報ブロック*/
@media screen and (max-width: 480px){
#news-block li{
    width: 45%;
    height: 300px;
    margin:20px 2%;
    padding: 0;
    list-style: none;
    float: left;
	text-align: center;
	font-size: 12px;
	display: inline-block;

    }

}
