.local {
	float: left;
	width: 230px;
}
h3 {
	background: #F3F3F3;
	padding: 6px;
	margin-top: 15px;
}
h4 {
	margin-top: 20px;
}

.contents {
	float: right;
	width: 700px;
	line-height: 175%;
}
.contents p {
	margin-top: 20px;
}
.head_coment {
	margin: 65px 0px 0px 15px;
}
footer {
	padding-top: 20px;
}

.title   {
	border-radius: 7px;        /* CSS3草案 */
	-webkit-border-radius: 7px;    /* Safari,Google Chrome用 */
	-moz-border-radius: 7px;   /* Firefox用 */
	background: #F6F5F8 url(../img/h1_bk.jpg);
	padding: 10px;
	border: 1px dotted #C2EFB9;
}
.contents img   {
	border-radius: 7px;        /* CSS3草案 */
	-webkit-border-radius: 7px;    /* Safari,Google Chrome用 */
	-moz-border-radius: 7px;   /* Firefox用 */
	background: #F6F5F8;
}
.title h1 {
	font-size: 135%;
	margin: 5px 0px;
	padding: 15px 0px 15px 10px;
	background: #FFF;
	border: 1px dotted #8DD194;
}

.offcome h4, .professor h3, h6 {
	font-size: 110%;
	background: #E9FFEF url(../img/h_leaf.png) no-repeat 15px 8px;
	padding: 8px 8px 8px 50px;
	margin-top: 15px;
	border-top: thin dashed #93DB97;
	border-bottom: thin dashed #93DB97;
}

#adachi h4 {
padding: 8px 8px 8px 50px;
	background: #fff url(../img/h_leaf.png) no-repeat 15px 8px;
	border-top: none;
	border-bottom: 3px dotted #93DB97;
}


.contents .profile   {
	width: 49%;
	margin-top: 25px;
}
.name {
	font-size: 130%;
	border-bottom: 1px dotted #6CA97B;
	margin-bottom: 5px;
	padding: 7px 0px;
	margin-left: 110px;
}
.name2 {
	font-size: 130%;
	border-bottom: 1px dotted #6CA97B;
	margin-bottom: 5px;
	padding: 7px 0px;
}
.contents a:hover img {
  opacity: 0.7;
  filter: alpha(opacity=70);
  -ms-filter: "alpha(opacity=70)";
}

/*ページの切り分け*/

.selection {display: none;}
#page-1 { display: block;}




/*対談*/

.talk h2, .offcome h3, .inquery h2, .professor h2.on {
	margin: 20px 0px 0px;
	padding: 30px 30px 30px 10px;
	font:  160% "游ゴシック";
	color: #FFFFFF;
	word-spacing: 1.1;
	background: url(../img/h2_bkg.jpg) right top;
	}
.mc {
	font-weight: bold;
	font-size: 90%;
	}
.photo {
	float: right;
	width: 50%;
	margin: 15px 0px 0px 15px;
	}
.talk .subtitle {
	background: url(../bunkyojin/talk/img/bk.png) no-repeat;
	padding-left: 45px;
}

/*BUNKYO-JIN*/
.bunkyojin h2, .thenandnow h2, .yatsugatake h2 {
	margin: 25px 0px 0px;
	padding: 20px 0px 15px 10px;
	border-bottom: 1px dotted #DC829A;
	font-size: 135%;
	background: url(../img/h2_bk.jpg) no-repeat;
	}
.bunkyojin {
	margin-bottom: 20px;
}


/*professor*/
.professor .profile   {
	width: 100%;
	margin-top: 35px;
}
.english {
	font: 140% "Times New Roman", Times, serif;
	color: #396;
	border-bottom: 4px double #009A2C;
	margin-bottom: 20px;
	padding-bottom: 5px;
}
.offcome .english {
	margin-right: 270px;
}
#english .english {
	margin-right: 10px;
}
#english h2 {
	text-align: center;
}
.professor .english {
	margin-right: 195px;
}
.pro {
	margin: 30px 0px 10px;
	padding: 15px;
	border: 4px double #093;
	border-radius: 7px;        /* CSS3草案 */
	-webkit-border-radius: 7px;    /* Safari,Google Chrome用 */
	-moz-border-radius: 7px;   /* Firefox用 */
}
.silkroad {
	font-size: 70%;
	width: 150px;
	margin-right: 15px;
}
.ayanari {
	text-align: center;
	font: 80%;
}
/*角丸をとる*/
.ayanari img {
	border-radius: 0px;        /* CSS3草案 */
	-webkit-border-radius: 0px;    /* Safari,Google Chrome用 */
	-moz-border-radius: 0px;   /* Firefox用 */
}
.ayanari .dl {
	border-radius: 20px;        /* CSS3草案 */
	-webkit-border-radius: 20px;    /* Safari,Google Chrome用 */
	-moz-border-radius: 20px;
	border: 4px double #86DF87;
	width: 70%;
	text-align: center;
	margin-top: 15px;
}
.application {
	border-radius: 20px;        /* CSS3草案 */
	-webkit-border-radius: 20px;    /* Safari,Google Chrome用 */
	-moz-border-radius: 20px;
	border: 4px double #86DF87;
	width: 50%;
	text-align: center;
	margin-top: 15px;
}
/*角丸をとる*/
.trim img {
	border-radius: 0px;        /* CSS3草案 */
	-webkit-border-radius: 0px;    /* Safari,Google Chrome用 */
	-moz-border-radius: 0px;   /* Firefox用 */
}

.w50 {
	width: 50%;
	margin-top: 30px;
}
/*aboutsite*/
.aboutsite h2  {
	margin: 25px 0px 0px;
	padding: 20px 0px 15px 0px;
	border-bottom: 1px dotted #339999;
	font-size: 115%;
	}
.aboutsite h3  {
	margin: 15px 0px 0px;
	padding: 10px 0px 10px 10px;
	font-size: 105%;
	background: #F6F6F6;
	}
.aboutsite ol {
	margin-left: 70px;
}
/*inquery*/
.inquery  td, .inquery li {
	padding: 5px;
}
.line {
	margin: 15px;
	padding: 15px;
	width: 90%;
	border: 4px double #F96;
}
.line2 {
	margin: 15px;
	padding: 10px;

	border: 4px double #F96;
    border-radius: 10px;        /* CSS3草案 */
	-webkit-border-radius: 10px;    /* Safari,Google Chrome用 */
	-moz-border-radius: 10px;   /* Firefox用 */
}
.line3 {
	margin: 35px;
	padding: 10px;
    font-size: 90%;
    line-height: 160%;
	border: 4px double #93DB97;
    border-radius: 10px;        /* CSS3草案 */
	-webkit-border-radius: 10px;    /* Safari,Google Chrome用 */
	-moz-border-radius: 10px;   /* Firefox用 */
}

/*お店紹介*/
.shop img {
	width: 100%;
}
.detail  {
	font-size: 90%;
}
.detail th {
	background: #E9FFEF;
	border-bottom: 1px double #93DB97;
	border-top: 1px double #93DB97;
	padding: 10px 10px 10px 10px;
	font-weight: normal;
	text-align: left;		
}
.detail td {
	border-bottom: 1px double #93DB97;
	border-top: 1px double #93DB97;
	padding: 10px 10px 10px 10px;
	font-weight: normal;
}
#map, iframe.point {
    width: 100%;
    height: 400px;
    background-color: grey;
}
/*グルメ*/
		#lunch h2 {
			font-size: 1.1em;
			background: #E9FFEF url(https://www.bunkyo-ayanari.jp/img/h_leaf.png) no-repeat 10px 11px;
			padding: 8px 5px 8px 45px;
			margin-top: 30px;
			border-bottom: thin dashed #93DB97;
			line-height: 200%;
		}
		#lunch h3{
			margin: 25px 0px 0px 0px;
			padding: 20px 0px 15px 10px;
			border-bottom: 2px dotted #FFCC33;
			font-size: 1em;
			background: url(https://www.bunkyo-ayanari.jp/gourmet/img/h2_bk.jpg) no-repeat center top;
		}
		.schoolbox{
	display: flex;
	justify-content: center;
	align-items: center;
	align-content: center;
	margin: 20px 0;
	font-size: 90%;
    line-height: 140%
		}
		.es,.jhs,.wjc,.u{
			flex: 0 1 20%;
			margin: 1%;
		}
		.es a,.jhs a,.wjc a,.u a{
			padding: 10% 5%;
			text-align: center;
			background: #def1ff;
			border-radius: 5px;
			border: #bce0fb 1px solid;
			text-decoration: none;
			display: block;
			box-sizing: border-box;
			width: 100%;
			-webkit-transition: all .3s;
			transition: all .3s;
			color: #444;
		}
		.schoolbox * a:hover{
			background: #bce0fb;
		}
		table.lunch{
			width: 98%;
			border: none;
			margin: 0 auto 70px;
		}
		table.lunch tr{
			border-top: 1px solid #8DD194;
		}
		table.lunch tr:first-child{
			border: none;
		}
		table.lunch tr:nth-child(even){
			background: #f8fbf8;
		}
		table.lunch td.response{
			width: 86%;
			padding: 20px 20px 10px 10px;
			box-sizing: border-box;
		}
		table.lunch td.prof{
			vertical-align: bottom;
			padding: 10px 0;
		}
		td.prof + td.prof:before{
			content: "／";
		}
		@media only screen and (max-width: 767px){
		.schoolbox{
			flex-wrap: wrap;
			justify-content: center;
			align-items: center;
			align-content: center;
			margin: 20px 0;
		}
		.es,.jhs,.wjc,.u{
			flex: 0 1 45%;
			margin: 2%;
		}
		table.lunch{
			width: 98%;
			border: none;
			margin: 0 auto 70px;
		}
		table.lunch tr{
			display: block;
		}
		table.lunch td.response{
			width: 100%;
			padding: 10px;
			box-sizing: border-box;
			display: block;
			clear: both;
		}
		table.lunch td.prof{
			vertical-align: middle;
			padding: 10px 0;
			display: inline-block;
		}
		td.response + td.prof{
			margin-left: 70%;
		}
		}

/*スポーツ*/
.sports_b {
background: #DFFBEF;
	border: 1px solid #93DB97;
    width: 50%;
    text-align: center;
    margin-top: 12px;
    padding: 12px;
    line-height: 120%;
    font-size: 90%;
  	border-radius: 7px;        /* CSS3草案 */
	-webkit-border-radius: 7px;    /* Safari,Google Chrome用 */
	-moz-border-radius: 7px;   /* Firefox用 */  
}
.b2{
background: #FEE7CD;
	border: 1px solid #FBC87B;
}
/*八ヶ岳*/
.slides p {
margin-top: 8px;
margin-bottom: 18px;
}
/*八ヶ岳ボタン*/
.flex_test-box {
    background-color: #eee;     /* 背景色指定 */
    padding:  3px;             /* 余白指定 */
    display: flex;              /* フレックスボックスにする */
    justify-content:center;
}
 
.flex_test-item {
    padding: 10px;
    line-height: 120%;
    text-align: center;
    color:  #fff;               /* 文字色 */
    margin:  3px;              /* 外側の余白 */
    border-radius:  5px;        /* 角丸指定 */
    width: 15%;                 /* 幅指定 */
}
.flex_test-item a {
    color: white;
    display:block;
    width: 100%;
}

 
.flex_test-item:nth-child(1) {
    background-color: rgba(210,88,115,1.00); /* 背景色指定 */
}
.flex_test-item:nth-child(1).on {
    background-color: rgba(210,88,115,0.30); /* 背景色指定 */
}
 
.flex_test-item:nth-child(2) {
    background-color: rgba(99,189,103,1.00); /* 背景色指定 */
}
.flex_test-item:nth-child(2).on {
    background-color: rgba(99,189,103,0.30); /* 背景色指定 */
}
 
.flex_test-item:nth-child(3) {
    background-color: rgba(195,133,207,1.00); /* 背景色指定 */
}
.flex_test-item:nth-child(3).on {
    background-color: rgba(195,133,207,0.30); /* 背景色指定 */
}
.flex_test-item:nth-child(4) {
    background-color: rgba(100,155,227,1.00); /* 背景色指定 */
}
.flex_test-item:nth-child(4).on {
    background-color: rgba(100,155,227,0.30); /* 背景色指定 */
}
.flex_test-item:nth-child(5) {
    background-color: rgba(230,166,113,1.00); /* 背景色指定 */
}
.flex_test-item:nth-child(5).on{
    background-color: rgba(230,166,113,0.30); /* 背景色指定 */
}
.flex_test-item:nth-child(6) {
    background-color: rgba(0,188,212,1.00); /* 背景色指定 */
}
.flex_test-item:nth-child(6).on {
    background-color: rgba(0,188,212,0.3); /* 背景色指定 */
}
img.maru {
  	border-radius: 250px;        /* CSS3草案 */
	-webkit-border-radius: 250px;    /* Safari,Google Chrome用 */
	-moz-border-radius: 250px;   /* Firefox用 */  
}
.yatsugatake .shosai {
font-size: 90%;
line-height: 140%;
margin-top: -30px;

}
.shosai table{

width: 100%;
}

.shosai td, .shosai th {
    color:  #333;               /* 文字色 */
border-bottom: 1px solid #93DB97;
line-height: 140%;
padding: 5px;
text-align: left;
font-weight: normal;
}
.shosai th {
    /*color: #005A13;*/               /* 文字色 */
}
#yatsugatake {
background: url("../yatsugatake/img/yatsugatake_h4_bk.png") left top;
	margin: 30px 0px 20px;
	padding: 20px 0px 20px 10px;
	font:  150% "游ゴシック";
	color: #FFFFFF;
	word-spacing: 1.1;
    border: none;
line-height: 120%;
}

.yatsugatake .hayashi img{
    width: 100%;
    margin: 30px 0px 30px;

}
#episode h3{
    margin: 5px 0px 0px 0px;
    padding: 40px 30px 15px 47px;
    border-bottom: 1px solid #5aa8ea;
    border-left: 1px solid #def1ff;
    color: #000000;
    font-size: 1.2em;
    font-weight: bold;
    background-position: left bottom;
    background-image: url(../yatsugatake/img/yatsugatake_h3_bk.jpg);
	}

	#episode	table.lunch tr{
			border-top: 1px solid #def1ff;
		}


	#episode	table.lunch tr:nth-child(even){
			background: #f1f9ff;
		}
        
/*東京あだちキャンパス*/
#adachi .link, #dokusha.link {
    margin: 10px 0px 0px 0px;
    padding: 10px 10px 10px 10px;
    border: 1px solid #30b060;
    color: #000000;
    font-size: 1.1em;
/*    font-weight: bold;*/
    text-align: center;
	}
   
#adachi h2{
	margin: 40px 0px 0px;
	padding: 30px 30px 30px 10px;
	font:  160% "游ゴシック";
	word-spacing: 1.1;
	background: url("../adachi/img/h2_bk.jpg") left top no-repeat;
    border-top: 1px solid #30b060;
    color: #000000;
	}
#adachi h2.h2_taidan{
    padding: 12px 30px 30px 10px;
    line-height: 97%;
	}
#adachi .art{
padding: 12px 50px 50px 50px;
line-height: 175%;
border: 1px solid #DBF6C3;
margin-top: 70px;
background-color: #F7FDF1;
text-align: left;
}
#adachi  h3{
background-color: #54B05E;
color: #FFFFFF;
font: 140%;
}
.yorimichi   {
text-align: center;

}
.yorimichi  img {
width: 70%
}
    
.gray{

border: 8px solid #f3f3f3;
} 
.graybk{
padding: 5px;
background-color: #f3f3f3;
} 
    
    
    
    
    
    
    
@media only screen and (max-width:959px) {

.flex_test-box {
background-color: #eee;     /* 背景色指定 */
    padding:  10px;             /* 余白指定 */
    height: 250px;              /* 高さ指定 */
    display: flex;              /* フレックスボックスにする */
    flex-wrap: wrap;            /* 折り返し指定 */
    align-content:stretch;      /* 折り返し時の配置指定 */
}


 
.flex_test-item {
   padding: 10px;
    color:  #fff;               /* 文字色 */
    margin:  2px;              /* 外側の余白 */
    border-radius:  5px;        /* 角丸指定 */
    font-size:  105%;           /* 文字サイズ */
    width: 37%;               /* 幅指定 */
    text-align:  center;        /* 文字中央揃え */
}
.yatsugatake .right-contents, .yatsugatake .left-contents {
    float: none;
     width: 100%;
    text-align:  center;
}
.yatsugatake .right-contents img, .yatsugatake .left-contents img{
    width: 50%;
}

.local {
	display: none;

}

.contents {
	width: 100%;
}
.contents .profile   {
	width: 100%;
}
.photo {
	width: 100%;
	float: none;
	margin: 15px 0px;
	text-align: center;
	}
.inquery .right-contents {
	float: none;
	text-align: center;
}
/*お店*/
.shop {
	width: 100%;
	height:230px;
	margin: 0px 0px 0px;
}
.pro .right-contents {
	text-align: center;
    float: none;
}
.offcome .english {
	margin-right: 0px;
}
.professor .english {
	margin-right: 0px;
}
#adachi .art{
padding-left: 15px;
padding-right: 15px;
}
.yorimichi  img {
width: 100%
}
}
@media print {
.local {
	display:none;
	}
/*360度写真*/
.theta {
	display: none;
	}
}
@media print {
.bgsw {
	display:none;
	}
}
@media screen {
.photograph {
	display:none;
}
}
