/*===============　幅768px以下の場合に適用　===============*/
@media screen and (max-width:767px) {
		  .page_img {
    background: url("../img/bf/bf2.jpg");
    background-position: center;
    background-size: cover;
		  height: 220px;
  }
.news {
    border: 2px solid #D50C10;
    padding:20px 25px;
    width: 80%;
    height: auto;
    margin: 0 auto 50px;
    }
.news p{
    text-align: center; 
    }
    
.news span{
    background-color: #D50C10;
    color: #fff;
    font-weight: bold;
    display: block;
    margin: 0 auto 10px;
    text-align: center;
    padding: 5px 2px; 
    }
    
  .bf {
    width: 100%;
    margin: auto;
    padding-bottom: 40px;
    text-align: center;
  }
  .li {
    list-style: none;
  }
  .bf_anc {
    text-align: center;
    color: #fff;
    width: 95%;
    margin: 0 auto;
  }
  .bf_anc a {
    text-decoration: none;
    color: #fff;
    display: inline-block;
    padding: 10px 0;
    width: 150px;
  }
  .bf_anc li {
    width: 150px;
    display: inline-block;
    background: #1B2E58;
    color: #fff;
    margin: 8px 10px;
    height: 42px;
    border-radius: 20px;
  }
  .bf1 table {
    margin: 30px auto;
    border-bottom: 1px solid #4f280c;
    border-top: 1px solid #4f280c;
    padding: 20px 0;
  }
  p.rst_name {
    font-size: 24px;
    font-weight: bold;
    margin: 12px auto 14px;
  }
/* ↓新春メニュー　*/
  .ny_menu {
    width: 100%;
    height: auto;
    margin:0 auto;
    padding-bottom: 20px;
  }
/* ↑新春メニュー　*/

  .bf_menu {
    padding-top: 20px;
    margin: auto;
    text-align: center;
    margin-bottom: 50px;
  }

    
  .bf_menu img {
    width: 70%;
    height: auto;
  }
  .bf_menu_1 {
    clear: both;
    width: 100%;
    margin: auto;
    text-align: center;
    padding-bottom: 10px;
  }
  .bf_menu_1 p {
    width: 100%;
    margin: auto;
    padding: 20px 0;
    text-align: center;
    display: block;
  }
  .bf_menu_1 ul li {
    list-style: none;
  }
  .bh_box {
    text-align: center;
	  margin-bottom: 20px;
  }
  p.bh_ttl {
    font-weight: bold;
    background-color: #800000;
    color: #FFF;
    padding: 5px 15px;
    width: 70px;
    margin: 22px auto 7px;
  }
  p.bh_ttl2 {
    font-weight: bold;
    background-color: #800000;
    color: #FFF;
    padding: 5px 15px;
    width: 150px;
    margin: 42px auto 7px;
  }
  p.bh {
    border-bottom: 1px solid #1B2E58;
    width: 80%;
    margin: 0 auto 6px;
    padding-bottom: 6px;
  }
  p.bh2 {
    border-bottom: 1px solid #1B2E58;
    width: 80%;
    margin: 0 auto 6px;
    padding-bottom: 12px;
  }
  .effect2 {
    text-align: center;
    display: inline-block;
    position: relative;
    text-decoration: none;
    color: #1B2E58;
    text-transform: capitalize;
    /* background-color: - add your own background-color */
    font-family: "Roboto", sans-serif;
    /* put your font-family */
    font-size: 12px;
    padding: 10px 0px;
    width: 80%;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.2s linear 0s;
  }
  img.close {
    margin-top: 15px;
    width: 95%;
  }
  .bf1_2 {
    margin-bottom: 20px;
  }
  .bf_menu_1 p {
    text-align: center;
    margin: 0 auto;
    font-family: "ＭＳ Ｐ明朝", "MS PMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "serif";
    font-size: 20px;
    font-weight: 800;
    padding-top: 10px;
  }
  .nagisa {
    margin-bottom: 20px;
    background: url(../img/bf/bf_bg.jpg) repeat;
  }
  .tategaki {
    width: 80%;
    margin: 0 auto;
    padding: 10px 0;
  }
  .tellina {
    background: url("../img/bf/bf_bg2.jpg");
  }
  .tellina2 {
    margin: 20px 0;
  }
	
	.cereal{
		padding-top: 50px;
	}
	
	  .gallery {
		  width: 90%;
    flex-wrap: wrap;
    /* Compensate for excess margin on outer gallery flex items */
		  margin: 0 auto;
		  text-align: center;
    padding-top: 10px;
  }
	
	.gallery a img{
		display: inline-block;
		float: right;
		width: 40%;
		padding: 15px;
	}
	
	.bf1_img{
		margin: 30px auto 80px auto;
	}

}










/*===============　幅769px以上の場合に適用　===============*/
@media screen and (min-width:768px) {
			.page_img {
    background: url("../img/bf/bf2.jpg");
    background-position: center;
    background-size: cover;
	height: 500px;
  }	

 .news {
    border: 2px solid #D50C10;
    padding:20px 35px;
    width: 750px;
    height: auto;
    margin: 0 auto;
    }
    
 .news p{
    text-align: center; 
    }
    
 .news span{
    background-color: #D50C10;
    color: #fff;
    font-weight: bold;
    display: block;
    margin: 0 auto 10px;
    text-align: center;
    padding: 5px 0; 
    width: 83%;
    }
    
    
	
  .bf {
    width: 100%;
    height: auto;
    margin: 0 auto;
  }
  .bf_anc {
    text-align: center;

    color: #fff;
    width: 780px;
    margin: 0 auto;
    display: block;
  }
  .bf_anc a {
    color: #fff;
    display: inline-block;
    font-size: 120%;
  }
  .bf_anc li {
    width: 180px;
    display: inline-block;
    background: #1B2E58;
    color: #1B2E58;
    margin: 0 10px;
    border-radius: 20px;
    height: 44px;
  }
  .effect {
    text-align: center;
    display: inline-block;
    position: relative;
    text-decoration: none;
    color: #fff;
    text-transform: capitalize;
    /* background-color: - add your own background-color */
    font-family: "Roboto", sans-serif;
    /* put your font-family */
    font-size: 14px;
    padding: 10px 0px;
    width: 180px;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.2s linear 0s;
  }
  .effect:before {
    content: "→";
    font-family: FontAwesome;
    font-size: 16px;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    right: 0;
    top: -2px;
    opacity: 0;
    height: 100%;
    width: 40px;
    transition: all 0.2s linear 0s;
  }
  .effect:hover {
    text-indent: -20px;
    text-decoration: none;
    color: #fff;
    background: #F90;
  }
  .effect:hover:before {
    opacity: 1;
    text-indent: 0px;
  }
  .bf_slide {
    width: 1200px;
    height: auto;
    margin: 0 auto;
  }
  .thumb {
    border: 2px solid #fff;
  }
  .thumbnailBox {
    width: 100%;
    height: auto;
    margin: 0 auto;
  }
  .innerBox {
    text-align: center;
    padding-top: 10px;
  }
  .innerBox img {
    display: inline-block;
    border: 1px solid #fff;
    margin-bottom: 5px;
  }
  .innerBox img:hover {
    border: none;
    opacity: 0.6;
    filter: alpha(opacity=60);
    -ms-filter: "alpha( opacity=60 )";
  }
  .innerBox:after {
    clear: both;
  }
  .innerBox {
    zoom: 1;
  }
  .nagisa {
    background: url("../img/bf/bf_bg.jpg");
    text-align: center;
    margin: 40px auto;
    padding-bottom: 50px;
  }
  .nagisa img {
    margin: 30px auto;
  }
  .bh_box {
    width: 450px;
    height: auto;
    margin: 0 auto;
    padding: 30px 0 15px 0;
  }
  .bh_box p {
    font-size: 16px;
  }
  p.bh_ttl {
    font-weight: bold;
    background-color: #800000;
    color: #FFF;
    padding: 5px 15px;
    width: 180px;
    margin-bottom: 10px;
  }
  p.bh_ttl2 {
    font-weight: bold;
    background-color: #800000;
    color: #FFF;
    padding: 5px 15px;
    width: 200px;
    margin-bottom: 10px;
  }
  p.bh {
    border-bottom: 1px solid #800000;
    width: 450px;
    margin-bottom: 12px;
    padding-bottom: 8px;
  }
  p.bh2 {
    border-bottom: 1px solid #800000;
    width: 600px;
    margin-bottom: 12px;
    padding-bottom: 12px;
  }
  p.bh3 {
    width: 450px;
    display: inline-block;
    background: #800000;
    color: #fff;
    margin: 0 10px;
    border-radius: 20px;
    height: 44px;
  }
  .effect2 {
    text-align: center;
    display: inline-block;
    position: relative;
    text-decoration: none;
    color: #fff;
    text-transform: capitalize;
    /* background-color: - add your own background-color */
    font-family: "Roboto", sans-serif;
    /* put your font-family */
    font-size: 14px;
    padding: 10px 0px;
    width: 450px;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.2s linear 0s;
  }
  .effect2:before {
    content: "→";
    font-family: FontAwesome;
    font-size: 16px;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    right: 0;
    top: -2px;
    opacity: 0;
    height: 100%;
    width: 40px;
    transition: all 0.2s linear 0s;
  }
  .effect2:hover {
    text-indent: -20px;
    text-decoration: none;
    color: #fff;
    background: #F90;
  }
  .effect2:hover:before {
    opacity: 1;
    text-indent: 0px;
  }

  .bf1 {
    width: 100%;
    height: 450px;
    margin: 0 auto 0px auto;
    display: table;
    padding-top: 70px;
  }
  .bf1_1 {
    display: table-cell;
    width: 450px;
    float: right;
  }
  .bf1_2 {
    display: table-cell;
    width: 450px;
    float: left;
    margin-left: 26px
  }
  .bf1 table {
    border-bottom: 1px solid #4f280c;
    border-top: 1px solid #4f280c;
    padding-top: 30px;
    margin-top: 50px;
    border-collapse: collapse;
  }
  .bf1 table th {
    text-align: center;
    font-size: 14px;
    color: #4f280c;
  }
  .bf1 table td {
    text-align: left;
    color: #4f280c;
    font-size: 14px;
    padding-left: 30px;
  }
  .bf1 table tr {
    height: 85px;
    border-bottom: 1px solid #4f280c;
  }
  .bf1img {
    width: 60%;
    height: 430px;
    position: relative;
    background: url(../img/bf/bf02.jpg) no-repeat right center;
    background-size: cover;
    float: right;
  }
  p.rst_name {
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 15px;
  }

  .bf_menu {
    width: 100%;
    height: 1400px;
    margin: 0 auto;
  }
  .bf_menu_1 {
    width: 1200px;
    margin: auto;
    position: relative;
  }
  .bf_menu_1 ul {
    width: 100%;
    height: auto;
    margin: 0 auto;
  }
  .bf_menu_1 ul li img {
    display: inline-block;
  }
  .bf_menu_1 ul li {
    width: 380px;
    height: auto;
    display: inline-block;
    text-align: center;
    margin: auto 5px;
    font-size: 14px;
    display: inline-block;
  }
  .bf_menu_1 ul li:nth-child(2n+1) {
    margin: 0 auto;
  }
  .bf_menu_1 ul li:nth-child(2n) {
    margin: 20px auto;
  }
  .bf_menu_1 ul li:nth-child(4) {
    position: absolute;
    top: 470px;
    right: 820px;
  }
  .bf_menu_1 ul li:nth-child(5) {
    position: absolute;
    top: 490px;
    right: 440px;
  }
  .bf_menu_1 ul li:nth-child(6) {
    position: absolute;
    top: 470px;
    right: 60px;
  }
  .bf_menu_1 ul li:nth-child(7) {
    position: absolute;
    top: 880px;
    right: 820px;
  }
  .bf_menu_1 ul li:nth-child(8) {
    position: absolute;
    top: 860px;
    right: 440px;
  }
  .bf_menu_1 ul li:nth-child(9) {
    position: absolute;
    top: 880px;
    right: 60px;
  }
/*普段はこちらを使用↑　*/
    
    
  .bf_menu_1 p {
    text-align: center;
    margin: 0 auto;
    font-family: "ＭＳ Ｐ明朝", "MS PMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "serif";
    font-size: 30px;
    font-weight: 800;
    padding-top: 20px;
  }
  .tellina {
    background: url("../img/bf/bf_bg2.jpg");
  }
  .tellina2 {
    padding: 50px 0;
  }

	.cereal{
		margin: 40vh auto 0 auto;
		text-align: center;
		display: flex;
		justify-content: space-between;
		align-items: center;
	}


  .gallery {
    display: flex;
    flex-wrap: wrap;
    /* Compensate for excess margin on outer gallery flex items */
    margin: -1rem -1rem;
    padding-top: 10px;
  }
  .gallery-item {
    /* Minimum width of 24rem and grow to fit available space */
    flex: 1 0 16rem;
    /* Margin value should be half of grid-gap value as margins on flex items don't collapse */
    margin: 1rem;
    box-shadow: 0.3rem 0.4rem 0.4rem rgba(0, 0, 0, 0.4);
    overflow: hidden;
  }
  .gallery-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 400ms ease-out;
  }
  .gallery-image:hover {
    transform: scale(1.15);
  }

	
	
	
	.bf1_img{
		width: 1200px;
		margin: 50px auto;
		text-align: center;
	}
	
	.bf1_img img{
		margin: 20px 10px 10px 10px;
	}
	
	
	

	
}



.bf-other {
	max-width: 1320px;
	margin: 100px auto 60px;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 30px;
}
.bf-other img {
	 width: calc(100% / 2 - 30px);
}
.access_map2 {
	margin-top: 120px;
}
@media screen and (max-width:767px) {
	.bf-other {
		margin: 40px auto 0;
}
	
	.bf-other img {
	 width: 100%;
}
	.access_map2 {
	margin-top: 80px;
}
}