html{
  -webkit-appearance:none;
}

.wrapper{
  overflow: hidden;
}

.studentvoice, .flag p, #academy p, #cooperation p, #school p, #event p {
  text-align: justify;
  text-justify: inter-ideograph;
}
.intro { font: 20px/36px opensans-light, sans-serif; }

.navbar{
z-index: 900;
}
@media(min-width:780px){

  #intro{
    margin-top: 93px;
  }
}
#intro{
  margin-top: 73px;
}

.nav-link{
  color:#777;
    font-size: 17px;
  }

.nav-link:hover{
  color:#fff;
  font-weight: bold;
}

.navspace{
padding-top: 50px;
margin-top: 10px;
}
.navspace2{
padding-top: 80px;
}
.navspace3{
padding-top: 70px;
}

.dropdown-border{
  border-top:2px solid #fff;
  padding-top: 10px;
}

#eventcarousel{
  width:70%;
  height:auto;
  margin: auto;
}
.carousel-caption{
  margin-bottom: 10px;
}
.carousel-inner h2{
  color:#fff;
  font-weight: bold;
  background-color: #ffb400;
  border-radius: 20px;
}
.carousel-inner h4{
  color:#fff;
  font-weight: bold;
  background-color: #ffb400;
  border-radius: 20px;
}
.carousel-control-prev{
font-size: 4vw;
font-weight: bold;
  opacity: 1;
}
.carousel-control-next{
font-size: 4vw;
font-weight: bold;
  opacity: 1;
}
.controler:hover{
font-weight: bold;
  opacity: 1;
  color: #ffb400;
}
.storyheadline{
  background:#2c230d;
  color:#fff;
  width:95%;
  border-top:10px dashed #bbb;
  border-bottom:10px dashed #bbb;
  box-shadow: 0 0 3px 8px #8e827a;
  text-shadow: 0 0 5px;
  padding:10px;
margin: auto;
}
.backwhite{
  background-color: rgba(85,71,56, 0.8);
  border:medium ridge rgba(215,199,90, 0.8);
padding:30px 30px 0px 30px;
margin: 0px -20px 20px -20px;
}

.story{
  color:#f3e8d1;
  padding-top:20px;
}

.iframe_facebook_wrapper iframe{
  overflow: hidden;
}
  .iframe_map_wrapper {
    position: relative;
    width: 100%;
    padding: calc(315 / 560 * 100%) 0 0;
  }
  .iframe_map_wrapper iframe {
    position: absolute;
top:0;
left:0;
   width: 100%;
    height: 100%;
  }
  .iframe_map_wrapper2 {
    position: relative;
    width: 100%;
    padding: calc(315 / 560 * 100%) 0 0;
  }
  .iframe_map_wrapper2 iframe {
    position: absolute;
top:0;
left:0;
   width: 100%;
    height: 100%;
  }

.shopname {
  position: relative;
  color: #333;
  text-shadow: 0 0 2px white;
  background: #ffeacf;
  z-index: -4;
  border-radius: 0 10px 10px;
  margin-top: 20px;
}

.shopname:before {
  content: "";
  position: absolute;
  background: #ffcf62;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  top: 50%;
  left: -15px;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  z-index: -1;
}
.otherheadline{
  font-size: 35px;
}
.otherheadline::before,
.otherheadline::after{
  content: "□";
  position: absolute;
  opacity: 0.5;
}
.otherheadline::before{
  left:0px;
  top:-10px;
  font-size: 100px;
  color:#ff902d;
}
.otherheadline::after{
  left: 40px;
  top: 5px;
  color: #ffff00;
  font-size: 80px;
  font-weight: bold;
}

.studentvoice{
  font-size: 17px;
  padding-top: 20px;
}

.abouttxt{
  font-size: 25px;
}

.caption{
  font-size: 20px;
  color:#fff;
  background-color: #ffad33;
  border-radius: 20px;
}
.flag h1{
  padding:30px 15px 0px 15px;
}
.flag p{
  padding:20px 15px 0px 15px;
}
.flag .intro{
  border-top: 2px ridge #ddaa00;
  background-image: url(../images/mikkabigyu.png);
   background-size:contain;
   background-repeat: no-repeat;
   background-position: center;
}
h1{
  font-size: 3vw;
  padding-top: 10px;
  color: #fff;
  font-weight: bold;
  text-shadow: 2px 2px 0px black;
}
h2{
color: #000;
}
.cooperationheadline{
  position:relative;
  margin-top: 20px;
  padding-left:15px;
  background-color: #ffddaa;
  color: #666;
  font-size: 25px;
  border-radius:3px;
  -webkit-border-radius:3px;
  -moz-border-radius:3px;
}

.cooperationheadline:before{
  content:'';
  height:25px;
  width:2px;
  display:block;
  position:absolute;
  top:9px;
  left:4px;
  background-color:#fff;
  border-left: 4px solid #fff;
  border-radius:3px;
  -webkit-border-radius:3px;
  -moz-border-radius:3px;
}
.cooperation-item{
border: 5px solid #ffb400;
border-radius: 50%;
}
.cooperationname{
  color:#ff7700;
  text-decoration: underline;
font-size: 20px;
}
.cooperationback{
  padding-top: 5px;
}
.cooperationback:hover{
  background-color: #ffb400;
  border-radius: 20px;
  padding-top: 5px;
}
.cooperationback:hover .cooperationname{
color:#fff;
}

.flag{
	position:relative;
	font-weight:bold;
	color:#fff;
	background-color:#c33;
  box-shadow: 0px 0px 20px -5px rgba(0, 0, 0, 1);
}

#school p, #event p{
  padding:10px 20px 10px 20px;
}

@media (max-width:960px) {
  .caption{
    font-size: 15px;
    color:#fff;
    background-color: #ffad33;
    border-radius: 20px;
  }


  .backwhite{
    margin-top: 30px;
  }
  #academy h1{
    font-size: 30px;
    margin-bottom: -20px;
  }
    #about h1{
    font-size: 30px;
  }

}

@media (max-width:840px) {
  #about{
    margin-top: 40px;
  }
  .backwhite{
    margin-bottom: 50px;
  }
  .abouttxt{
    font-size: 20px;
  }
}

@media (max-width:767px) {

  #academy h1{
    font-size: 30px;
    padding-top: 80px;
    margin-bottom: -20px;
  }

}

@media (max-width:750px) {
  .abouttxt{
    font-size: 15px;
  }

  ul,li{
    margin: 0.5px;
  }
  .caption{
    font-size: 23px;
    color:#fff;
    background-color: #ffad33;
    border-radius: 20px;
  }

  .cooperationname{
  font-size: 20px;
  }

.flag h1{
  font-size: 30px;
}

#academy h1{
  font-size: 30px;
  padding-top: 20px;
  margin-bottom: -20px;
}

.shopname{
  font-size: 20px;
}
.modal h4{
  font-size: 20px;
}
}

@media (max-width:450px) {

  #about{
    margin-top: 40px;
  }
  #about h1{
    font-size: 6.5vw;
    margin:auto;
  }
  #academy h1{
    font-size: 6vw;
    margin: auto;
  }

  .backwhite{
    padding:40px 40px 0px 40px;
  }

.iframe_facebook_wrapper iframe{
  width:300px;
  height:500px;
}

  .shopname{
    font-size: 5vw;
  }
  .modal h4{
    font-size: 4.5vw;
  }

  .cooperationname{
  font-size: 25px;
  }
  .cooperationheadline{
    font-size: 5.5vw;
  }
}

.cooperationfull{
padding-top:40px;
}

.modal-body p{
  color:#000;
}

.otherbackwhite{
  background-color: rgba(255,255,255,0.8);
  padding-left: 5px;
border:5px double #ffad33;
}

/* c. Intro Section（三ヶ日牛バーガーって？）

/* ================================================================== */

#intro {
   overflow: hidden;
}
.burger{
  width: 60%;
  height: auto;
}
#about{
  background-image: url('../images/back1.jpg');
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding-bottom: 70px;
}

#academy{
  background-image: url('../images/back4.jpg');
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding-bottom: 50px;
}
#school{
  background-image: url('../images/back2.jpg');
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding-bottom: 30px;
}

#event{
  margin-top: 40px;
  background-image: url('../images/back3.jpg');
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding-bottom: 50px;
}
#academy p{
  color:#000;
  font-size: 16px;
background-color: rgba(255,255,255,0.9);
padding:30px 30px 30px 30px;
margin-top: 20px;
}
#academy .row{
padding:0px -50px;
}
#cooperation{
  padding-bottom: 20px;
}





/* Direction Navigation
--------------------------------------------------------------- */


/* ================================================================== */

/* d. Serviceswrapper（三ヶ日牛バーガーって？の写真の部分の調整）

/* ================================================================== */



.services-wrapper { margin-top: 42px; }
.services-wrapper .col {
   width: 33.33333%;
   margin-bottom: 30px;
}
.services-wrapper {
   font: 16px/24px montserrat-bold, sans-serif;
   letter-spacing: 1.5px;
   text-transform: uppercase;
   color: #ffb400;
   margin-bottom: 18px;
}
.services-wrapper p {
   font-size: 16px;
   line-height: 30px;
}
#services .services-wrapper i { margin-right: 10px; }


/* ================================================================== */

/* e. Portfolio（各店舗のポップアップなどの紹介部分）

/* ================================================================== */


/* Portfolio Content */
.portfolio-wrapper {
  margin-top: 36px;
 }
 @media (min-width:770px) {
   .portfolio-wrapper {
     background-image: url(../images/shopback2.jpg);
      background-size:contain;
      background-repeat: no-repeat;
      padding: 0px 5% 0px 5%;
    }
 }
.portfolio-wrapper .col {
   width: 25%;
   margin-bottom: 36px;
}

.portfolio-item .item-wrap {
   background: #ffb400;
   overflow: hidden;

   -webkit-box-shadow: 0px 1px 1px rgba(50, 50, 50, 0.1);
   -moz-box-shadow:    0px 1px 1px rgba(50, 50, 50, 0.1);
   box-shadow:         0px 1px 1px rgba(50, 50, 50, 0.1);

   -webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}
.portfolio-item .item-wrap a { display: block; }
.portfolio-item .portfolio-item-meta { padding: 12px 0; }
.portfolio-item .portfolio-item-meta h5 a {
   color:#fff;
   text-align: center;
}

/* on hover */
.portfolio-item:hover .item-wrap { background-color: #fff; }
.portfolio-item:hover h5 a { color: #ffb400 !important; }

/* ================================================================== */

#about {
  margin-top: -30px;
  padding-top: 20px;
   color: #000000;
}
#about h2 {
   margin-top: 24px;
   margin-bottom: 24px;
   color: #000000;
}

/* social links */
footer .social-links {
   margin: 0;
   padding: 0;
   font-size: 40px;
   margin-top: 10px;
   float: right;
 }
footer .social-links li {
    display: inline-block;
    margin: 0;
    padding: 0;
    margin-left: 24px;
}

/* ================================================================== */



   /* footer
   ------------------------------------------------------------------------ */

   .copyright{
     text-align: center;
   font-size:13px;
   color:#000;
   }

   .txtlink{
     color:#ff902d;
   }
