@charset "UTF-8";
/*------------------------------------
共通スタイル
------------------------------------*/
body {
  font-size: 14px;
  font-weight: normal;
  color: #444444;
  line-height: 150%;
  text-decoration: none;
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  -webkit-text-size-adjust: none;
  -ms-text-size-adjust: none;
}

img[src*="acclog"]{
  display: none!important;
}

/* リンクの設定 */
a {
  color: #0f1177;
}
a:hover, a:active {
  color: #0f1177;
}

p {
	margin-bottom: 0.2em;
}

img {
  max-width: 100%;
  height: auto;
}

strong {
  font-weight: 700;
}

ol {
  list-style-type: decimal;
  list-style-position: inside;
}

.totop {
  display: none;
}
.totop a {
  padding: 12px 0;
  display: block;
  margin-left: auto;
  width: 50px;
  text-align: center;
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
  border-radius: 8px;
}
.totop a img {
  vertical-align: bottom;
}

#copyright {
  background-color: #2f8ace;
  color: #fff;
}
#copyright p {
  text-align: center;
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  margin-bottom: 0;
}

.box {
  cursor: pointer;
}
small {
	font-size: 0.8em;
	line-height: 1em;
}
.clear {
	overflow: hidden;
	*zoom: 1;
	clear: both;
}



/*------------------------------------
640px以下（スマホ用）の記述
------------------------------------*/
@media only screen and (max-width: 740px) {
  .dfp {
    display: none !important;
  }

  a {
	text-decoration: underline;
  }

  #pankuzu {
    display: none;
  }

  header#header {
    border-top: 5px solid #2f8ace;
    height: 100px;
    position: fixed;
    z-index: 1000;
    top: 0;
    background-color: #fff;
    width: 100%;
    padding-bottom: 0;
  }
  header#header h1 {
    margin-top: 8px;
    margin-left: 55px;
  }
  header#header h1 img {
    display: block;
    margin: 8px auto;
    width: 200px;
  }
  header#header .sp_nav p {
    position: absolute;
    top: 0;
    left: 3%;
  }
  header#header .sp_nav p a {
    display: block;
    height: 100%;
    background-color: #2f8ace;
    padding: 8px;
    -moz-border-radius: 0 0 6px 6px;
    -webkit-border-radius: 0;
    border-radius: 0 0 6px 6px;
  }
  header#header .sp_nav p a img {
    vertical-align: bottom;
    width: 55px;
  }
  header#header .sp_nav ul {
    overflow: hidden;
    *zoom: 1;
    width: 100%;
    background-color: #0f1177;
  }
  header#header .sp_nav ul li {
    width: 33%;
    float: left;
  }
  header#header .sp_nav ul li.menu_sp {
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    background-image: url(../misc/nav01_sp.png);
    height: 50px;
    background-repeat: no-repeat;
    background-position: center;
    background-position: center center;
    background-size: 45px auto;
    background-color: #0f1177;
  }
  header#header .sp_nav ul li.menu_sp_close {
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    background-image: url(../misc/nav_close.png);
    height: 50px;
    background-repeat: no-repeat;
    background-position: center;
    background-position: center center;
    background-size: 45px auto;
    background-color: #efefef;
  }
  header#header .sp_nav ul li.shop_sp {
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    background-image: url(../misc/nav02_sp.png);
    height: 50px;
    background-repeat: no-repeat;
    background-position: center;
    background-position: center 52%;
    background-size: 55px auto;
    background-color: #0f1177;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border-right: 3px solid #fff;
    border-left: 3px solid #fff;
  }
  header#header .sp_nav ul li.contact_sp {
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    background-image: url(../misc/nav03_sp.png);
    height: 50px;
    background-repeat: no-repeat;
    background-position: center;
    background-position: center 54%;
    background-size: 110px auto;
    background-color: #0f1177;
  }
  header#header .sp_nav ul li a {
    display: block;
    height: 100%;
  }
  header#header .wrapper {
    background-color: #efefef;
    padding: 3%;
    display: none;
    padding-bottom: 65536px;
    margin-bottom: -65536px;
    position: relative;
    z-index: 1000;
  }
  header#header .wrapper > ul li a {
    border: 1px solid #c9c9c9;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    display: block;
    padding: 12px;
    background: url(../misc/icon02.png) 95% center no-repeat;
    background-color: #fff;
    background-size: 9px 14px;
  }
  header#header .wrapper #main_nav {
    margin-top: 3%;
  }
  header#header .wrapper #main_nav ul {
    overflow: hidden;
    *zoom: 1;
  }
  header#header .wrapper #main_nav ul li a {
    background-color: #fff;
    border: 1px solid #c9c9c9;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    float: left;
    width: 30.5%;
    display: block;
    margin-left: 3%;
    margin-bottom: 3%;
  }
  header#header .wrapper #main_nav ul li a img {
    display: block;
    margin: 9% auto;
    width: 85%;
  }
  header#header .wrapper #main_nav ul li:nth-child(3n+2) a {
    margin-left: 0;
  }
  header#header .wrapper #sub_nav ul {
    background-color: #fff;
  }
  header#header .wrapper #sub_nav ul:first-child {
    -moz-border-radius: 6px 6px 0 0;
    -webkit-border-radius: 6px;
    border-radius: 6px 6px 0 0;
    border: 1px solid #c9c9c9;
  }
  header#header .wrapper #sub_nav ul:last-child {
    -moz-border-radius: 0 0 6px 6px;
    -webkit-border-radius: 0;
    border-radius: 0 0 6px 6px;
    border: 1px solid #c9c9c9;
    border-top: 0;
  }
  header#header .wrapper #sub_nav ul li {
    border-bottom: 1px solid #c9c9c9;
  }
  header#header .wrapper #sub_nav ul li:last-child {
    border: 0;
  }
  header#header .wrapper #sub_nav ul li a {
    display: block;
    padding: 12px;
    background: url(../misc/icon02.png) 95% center no-repeat;
    background-size: 9px 14px;
  }

  .main_content {
    padding-top: 105px;
  }

  .totop {
    position: fixed;
    z-index: 1000;
    bottom: 5px;
    right: 5px;
  }
  .totop a {
    background-color: #2f8ace;
    margin-right: 3%;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    border-radius: 8px;
  }
  .totop a:hover {
    background-color: #4f9dd7;
  }
  .totop a img {
    vertical-align: bottom;
  }

  footer#footer ul li a {
    background-color: #efefef;
    border-bottom: 1px dotted #c9c9c9;
    display: block;
    padding: 12px;
    background: url(../misc/icon_13.png) 95% center no-repeat;
    background-color: #F7F7F7;
  }
  
  footer#footer #nav1 ul li ul li a{
    padding-left: 2em;
  }
  
  footer#footer #nav2 ul li ul li a{
    padding-left: 2em;
  }
  .footer_object {
    margin-top: -50%;
    margin-bottom: -8px;
  }
  .footer_object img {
    display: block;
    width: 22%;
    margin-left: auto;
    margin-right: 3%;
  }

  #footer_title {
    margin-top: 5px;
    width: 50%;
    margin-left: 3%;
    margin-top: 38%;
    margin-bottom: 2em;
  }

  #copyright p {
    padding: 1.5% 0;
    font-size: 9px;
  }
  .hide-sp {
	display:none;
}
  .wrapper-sp {
    margin: 2em 3%;
}

}
/*------------------------------------
640px以上用（PC用）の記述
------------------------------------*/
@media print, screen and (min-width: 741px) {
  .dfm {
    display: none;
  }

  body {
    border: 8px solid #0f1177;
    background-color: #FAFAFA;
  }

  header#header {
    width: 1124px;
    margin: 0 auto;
  }
  header#header #main_nav {
    background-color: #0f1177;
    -moz-box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.2);
    -moz-border-radius: 0px 0px 8px 8px;
    -webkit-border-radius: 0px;
    border-radius: 0px 0px 8px 8px;
    overflow: hidden;
    *zoom: 1;
    position: absolute;
    z-index: 1000;
    top: 8px;
    width: 1124px;
  }
  header#header #main_nav img {
    vertical-align: bottom;
  }
  header#header #main_nav h1 {
    width: 172px;
    float: left;
    padding: 15px 28px;
  }
  header#header #main_nav ul {
    width: 896px;
    float: left;
    background-color: #fff;
  }
  header#header #main_nav ul li {
    float: left;
  }
  header#header #main_nav ul li a {
    display: block;
    height: 100%;
    padding: 15px 0;
    position: relative;
  }
  header#header #main_nav ul li a:before {
    content: "";
    border-right: 1px dotted #222;
    position: absolute;
    height: 72px;
  }
  header#header #main_nav ul li a:hover {
    background-color: #fbf8ea;
    *zoom: 1;
    filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#FFFBF8EA', endColorstr='#FFF6D06B');
    background-image: -moz-linear-gradient(top, #fbf8ea 0%, #faf9ef 12%, #ffffff 20%, #fdf5df 49%, #f9df99 88%, #f6d06b 100%);
    background-image: -webkit-linear-gradient(top, #fbf8ea 0%, #faf9ef 12%, #ffffff 20%, #fdf5df 49%, #f9df99 88%, #f6d06b 100%);
    background-image: linear-gradient(to bottom, #fbf8ea 0%, #faf9ef 12%, #ffffff 20%, #fdf5df 49%, #f9df99 88%, #f6d06b 100%);
  }
  header#header #main_nav ul li:first-child a:before {
    border: 0;
  }
  header#header #sub_nav {
    width: 1124px;
    margin: 0 auto;
    position: relative;
    z-index: 900;
    top: 100px;
  }
  header#header #sub_nav ul {
    -moz-border-radius: 0 0 8px 8px;
    -webkit-border-radius: 0;
    border-radius: 0 0 8px 8px;
  }
  header#header #sub_nav ul li {
    float: left;
  }
  header#header #sub_nav ul li a {
    color: #FFF;
    text-decoration: none;
    padding-top: 16px;
    padding-bottom: 8px;
    display: block;
    position: relative;
  }
  header#header #sub_nav ul.sub2 li a:after {
    position: absolute;
    content: "";
    height: 22px;
    left: 0;
    top: 14px;
    border-left: 1px solid #FFF;
  }
  header#header #sub_nav ul.sub2 li:first-child a:after {
    border: 0;
  }
  header#header #sub_nav ul li a.event {
    background: url(../misc/icon_09.png) 17px 19px no-repeat;
    padding-left: 37px;
  }
  header#header #sub_nav ul li a.news {
    background: url(../misc/icon_09.png) 17px 19px no-repeat;
    padding-left: 37px;
  }
  header#header #sub_nav ul li a.shop_info {
    background: url(../misc/icon_10.png) 17px 19px no-repeat;
    padding-left: 47px;
    width: 71px;
  }
  header#header #sub_nav ul li a.contact {
    background: url(../misc/icon_11.png) 17px 19px no-repeat;
    padding-left: 42px;
    width: 151px;
  }
  header#header #sub_nav ul li a.company_info {
    background: url(../misc/icon_12.png) 17px 18px no-repeat;
    padding-left: 42px;
    width: 89px;
  }
  header#header #sub_nav .sub1 {
    float: left;
    margin-left: 341px;
    margin-right: 6px;
  }

  header#header #sub_nav .sub1 li{
    width: 182px;
    background-color: #ff4000;
    margin-left: 5px;
    -moz-border-radius: 0 0 8px 8px;
    -webkit-border-radius: 0;
    border-radius: 0 0 8px 8px;
  }
  header#header #sub_nav .sub1 li:nth-child(2){
    width: 139px;
  }
  header#header #sub_nav .sub2 {
    float: left;
    width: 445px;
    background-color: #0f1177;
  }

  .page_top header#header #main_nav ul li a.top, .page_school header#header #main_nav ul li a.lesson, .page_pa header#header #main_nav ul li a.pa, .page_repair header#header #main_nav ul li a.repair, .page_rental header#header #main_nav ul li a.rental, .page_studio header#header #main_nav ul li a.studio, .page_sale header#header #main_nav ul li a.sale {
    background-color: #fbf8ea;
    *zoom: 1;
    filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#FFFBF8EA', endColorstr='#FFF6D06B');
    background-image: -moz-linear-gradient(top, #fbf8ea 0%, #faf9ef 12%, #ffffff 20%, #fdf5df 49%, #f9df99 88%, #f6d06b 100%);
    background-image: -webkit-linear-gradient(top, #fbf8ea 0%, #faf9ef 12%, #ffffff 20%, #fdf5df 49%, #f9df99 88%, #f6d06b 100%);
    background-image: linear-gradient(to bottom, #fbf8ea 0%, #faf9ef 12%, #ffffff 20%, #fdf5df 49%, #f9df99 88%, #f6d06b 100%);
  }

  .totop {
    margin: 0 auto;
    display: none;
    position: fixed;
    z-index: 1000;
    bottom: 40px;
    right: 40px;
  }
  .totop a {
    padding: 12px 0;
    display: block;
    margin-left: auto;
    width: 50px;
    text-align: center;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    border-radius: 8px;
    background-color: #0f1177;
  }
  .totop a:hover {
    background-color: #181bbb;
  }
  .totop a img {
    vertical-align: bottom;
  }

  footer#footer {
    border-top: 5px solid #efefef;
    background-color: #F8F8F8;
    clear: both;
    padding-bottom: 25px;
    margin-top: 35px;
  }
  footer#footer .footer-in {
    width: 1122px;
    margin: 0 auto;
  }
  footer#footer .title {
    margin-top: 25px;
  }
  footer#footer .title img {
    float: left;
  }
  footer#footer .title p {
    float: left;
    margin-left: 2em;
    background: url(../misc/icon01.png) left center no-repeat;
    padding-left: 12px;
    position: relative;
    top: 26px;
  }
  footer#footer .wrapper {
    clear: both;
    overflow: hidden;
    *zoom: 1;
    padding-top: 35px;
  }
  footer#footer .wrapper a {
    display: block;
    line-height: 2;
  }
  footer#footer .wrapper a.lesson {
    background: url(../misc/icon03.png) left center no-repeat;
    padding: 12px 0 12px 39px;
  }
  footer#footer .wrapper a.event {
    background: url(../misc/icon04.png) 12px center no-repeat;
    padding: 12px 0 12px 54px;
  }
  footer#footer .wrapper a.repair {
    background: url(../misc/icon05.png) 12px center no-repeat;
    padding: 12px 0 12px 54px;
  }
  footer#footer .wrapper a.rental {
    background: url(../misc/icon06.png) left center no-repeat;
    padding: 12px 0 5px 54px;
  }
  footer#footer .wrapper a.studio {
    background: url(../misc/icon07.png) 7px center no-repeat;
    padding: 12px 0 12px 54px;
  }
  footer#footer .wrapper a.sale {
    background: url(../misc/icon08.png) 8px center no-repeat;
    padding: 12px 0 12px 54px;
  }
  footer#footer .wrapper #nav1 {
    float: left;
    width: 33.3%;
  }
  footer#footer .wrapper #nav1 ul li ul li {
    background: url(../misc/icon01.png) left center no-repeat;
    padding-left: 12px;
    margin-left: 25px;
  }
  footer#footer .wrapper #nav2 {
    float: left;
    width: 33.3%;
  }
  footer#footer .wrapper #nav2 ul li ul li{
    list-style-type: disc;
    margin-left: 5em;
  }
  footer#footer .wrapper #nav3 {
    float: left;
    width: 33.3%;
  }
  footer#footer .wrapper #nav3 ul li {
    list-style-type: disc;
  }
  footer#footer .wrapper #nav3 ul li a {
    line-height: 2.7em;
  }

  .footer_object {
    width: 1122px;
    margin: 0 auto;
    position: relative;
  }
  .footer_object img {
    position: absolute;
    right: 0;
    bottom: -29px;
  }

  #copyright {
    padding-bottom: 0;
    background-color: #0f1177;
  }
  #copyright p {
    width: 1122px;
    margin: 0 auto;
    padding-top: 35px;
    text-align: right;
  }
 
 .hide-pc {
	display:none;
}
  .wrapper {
  	margin: auto;
  	width: 1120px;
  	margin-top: 2%;
  }
  #header .wrapper {
    margin-top: 0
  }
}

.tac {
	text-align: center;
}
.tar {
	text-align: right;
}
.tal {
	text-align: left;
}
.mb_15 {
	margin-bottom: 15px;
}
.mb0 {
	margin-bottom: 0;
}
.mb10 {
	margin-bottom: 10px;
}
.mb20 {
	margin-bottom: 20px;
}
.mb30 {
	margin-bottom: 30px;
}

.fz16 {
	font-size: 16px;
}
.fz18 {
	font-size: 18px;
}
.fz20 {
	font-size: 20px;
}

@media only screen and (max-width: 740px) {
  .flex-video {
    height: 100%;
    position: relative;
    /*padding-top: 30px;*/
    overflow: hidden;
  }

  .flex-video iframe {
    min-height: 55vw;
    height: 100%;
    width: 100%;
  }
	
	.fz12-sp {
		font-size: 12px;
	}
	.fz14-sp	{
		font-size: 14px;
	}
	.fz16-sp {
		font-size: 16px;
	}
	.fz18-sp {
		font-size: 18px;
	}
	
	.mb10-sp {
    margin-bottom: 10px;
  }
  .mb20-sp {
    margin-bottom: 20px;
  }
  .mb30-sp {
    margin-bottom: 30px;
  }

  .ml10-sp {
    margin-left: 10px;
  }
  .mr10-sp {
    margin-right: 10px;
  }
}

/* Magnific Popup CSS */
.mfp-bg {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1042;
  overflow: hidden;
  position: fixed;
  background: #0b0b0b;
  opacity: 0.8;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)"; }

.mfp-wrap {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1043;
  position: fixed;
  outline: none !important;
  -webkit-backface-visibility: hidden; }

.mfp-container {
  text-align: center;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  padding: 0 8px;
  box-sizing: border-box; }

.mfp-container:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle; }

.mfp-align-top .mfp-container:before {
  display: none; }

.mfp-content {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin: 0 auto;
  text-align: left;
  z-index: 1045; }

.mfp-inline-holder .mfp-content,
.mfp-ajax-holder .mfp-content {
  width: 100%;
  cursor: auto; }

.mfp-ajax-cur {
  cursor: progress; }

.mfp-zoom-out-cur, .mfp-zoom-out-cur .mfp-image-holder .mfp-close {
  cursor: -webkit-zoom-out;
  cursor: zoom-out; }

.mfp-zoom {
  cursor: pointer;
  cursor: -webkit-zoom-in;
  cursor: zoom-in; }

.mfp-auto-cursor .mfp-content {
  cursor: auto; }

.mfp-close,
.mfp-arrow,
.mfp-preloader,
.mfp-counter {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
      user-select: none; }

.mfp-loading.mfp-figure {
  display: none; }

.mfp-hide {
  display: none !important; }

.mfp-preloader {
  color: #CCC;
  position: absolute;
  top: 50%;
  width: auto;
  text-align: center;
  margin-top: -0.8em;
  left: 8px;
  right: 8px;
  z-index: 1044; }
  .mfp-preloader a {
    color: #CCC; }
    .mfp-preloader a:hover {
      color: #FFF; }

.mfp-s-ready .mfp-preloader {
  display: none; }

.mfp-s-error .mfp-content {
  display: none; }

button.mfp-close,
button.mfp-arrow {
  overflow: visible;
  cursor: pointer;
  background: transparent;
  border: 0;
  -webkit-appearance: none;
  display: block;
  outline: none;
  padding: 0;
  z-index: 1046;
  box-shadow: none;
  -ms-touch-action: manipulation;
      touch-action: manipulation; }

button::-moz-focus-inner {
  padding: 0;
  border: 0; }

.mfp-close {
  width: 44px;
  height: 44px;
  line-height: 44px;
  position: absolute;
  right: 0;
  top: 0;
  text-decoration: none;
  text-align: center;
  opacity: 0.65;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=65)";
  padding: 0 0 18px 10px;
  color: #FFF;
  font-style: normal;
  font-size: 28px;
  font-family: Arial, Baskerville, monospace; }
  .mfp-close:hover,
  .mfp-close:focus {
    opacity: 1;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; }
  .mfp-close:active {
    top: 1px; }

.mfp-close-btn-in .mfp-close {
  color: #333; }

.mfp-image-holder .mfp-close,
.mfp-iframe-holder .mfp-close {
  color: #FFF;
  right: -6px;
  text-align: right;
  padding-right: 6px;
  width: 100%; }

.mfp-counter {
  position: absolute;
  top: 0;
  right: 0;
  color: #CCC;
  font-size: 12px;
  line-height: 18px;
  white-space: nowrap; }

.mfp-arrow {
  position: absolute;
  opacity: 0.65;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=65)";
  margin: 0;
  top: 50%;
  margin-top: -55px;
  padding: 0;
  width: 90px;
  height: 110px;
  -webkit-tap-highlight-color: transparent; }
  .mfp-arrow:active {
    margin-top: -54px; }
  .mfp-arrow:hover,
  .mfp-arrow:focus {
    opacity: 1;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; }
  .mfp-arrow:before,
  .mfp-arrow:after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    left: 0;
    top: 0;
    margin-top: 35px;
    margin-left: 35px;
    border: medium inset transparent; }
  .mfp-arrow:after {
    border-top-width: 13px;
    border-bottom-width: 13px;
    top: 8px; }
  .mfp-arrow:before {
    border-top-width: 21px;
    border-bottom-width: 21px;
    opacity: 0.7;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)"; }

.mfp-arrow-left {
  left: 0; }
  .mfp-arrow-left:after {
    border-right: 17px solid #FFF;
    margin-left: 31px; }
  .mfp-arrow-left:before {
    margin-left: 25px;
    border-right: 27px solid #3F3F3F; }

.mfp-arrow-right {
  right: 0; }
  .mfp-arrow-right:after {
    border-left: 17px solid #FFF;
    margin-left: 39px; }
  .mfp-arrow-right:before {
    border-left: 27px solid #3F3F3F; }

.mfp-iframe-holder {
  padding-top: 40px;
  padding-bottom: 40px; }
  .mfp-iframe-holder .mfp-content {
    line-height: 0;
    width: 100%;
    max-width: 900px; }
  .mfp-iframe-holder .mfp-close {
    top: -40px; }

.mfp-iframe-scaler {
  width: 100%;
  height: 0;
  overflow: hidden;
  padding-top: 56.25%; }
  .mfp-iframe-scaler iframe {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    background: #000; }

/* Main image in popup */
img.mfp-img {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  line-height: 0;
  box-sizing: border-box;
  padding: 40px 0 40px;
  margin: 0 auto; }

/* The shadow behind the image */
.mfp-figure {
  line-height: 0; }
  .mfp-figure:after {
    content: '';
    position: absolute;
    left: 0;
    top: 40px;
    bottom: 40px;
    display: block;
    right: 0;
    width: auto;
    height: auto;
    z-index: -1;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    background: #444; }
  .mfp-figure small {
    color: #BDBDBD;
    display: block;
    font-size: 12px;
    line-height: 14px; }
  .mfp-figure figure {
    margin: 0; }

.mfp-bottom-bar {
  margin-top: -36px;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  cursor: auto; }

.mfp-title {
  text-align: left;
  line-height: 18px;
  color: #F3F3F3;
  word-wrap: break-word;
  padding-right: 36px; }

.mfp-image-holder .mfp-content {
  max-width: 100%; }

.mfp-gallery .mfp-image-holder .mfp-figure {
  cursor: pointer; }


/*　MagnificPopup　*/
.info-wrap a{
	display: block;
	padding: 5px;
    background-color: #A80000;
	color: #FFF;
	text-decoration: none;
	font-weight: 700;
	margin-top: 15px;
}
.info-wrap a:hover{
    opacity: 0.75;
}
.modal-panel {
	background: #fff;
	margin: auto;
	position: relative;
}
button.mfp-close, button.mfp-close:active {
	top: -44px;
	background: #fff;
}
.mfp-container ol {
	list-style-position: inherit;
	margin-left: 28px;
}

@media only screen and (max-width: 740px){
	.info-wrap a{
	    padding: 5px;
		font-size: 14px;
		margin-bottom:6%;
	}
	.inner strong{
	font-size: 15px;
}
	.modal-panel {
 		width: auto;
		padding: 15px;
	}
	.mfp-container {
		top: 44px;
	}
	.mfp-container ol {
		font-size: 13px;
	}
}
@media print, screen and (min-width: 741px){
	.info-wrap a{
	    padding: 15px;
		font-size: 20px;
	}
	.inner strong{
	font-size: 18px;
}
	.info-wrap {
		width: auto;
		margin: auto;
	}
	.modal-panel {
		width: 1010px;
		padding: 30px;
	}
}

/*フォームへのリンク別タブ化*/
.page_shop .main_wrapper .shop_info .shop_detail address p {
  margin-top: -5px;
}
.formlink-cap-school {
  margin-top: -5px;
}
@media print,screen and (max-width: 740px) {
  .formlink-cap {
    margin-top: -35px;
  }
  .formlink-cap-school {
    margin-top: -3px;
  }
}

/*　↑MagnificPopup↑　*/
