/*
common-fm.css
FM STUDIO が新規追加作成したページの共通スタイル
2015/04
*/
/* common
-------------------------------------------------------------------------- */
#fade {
  display: block;
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: #fff;
  left: 0;
  top: 0;
  z-index: 3000;
}
#loading {
  display: block;
  position: fixed;
  text-align: center;
  width: 100%;
  top: 50% !important;
  z-index: 3001;
}
.text-left {
  text-align: left;
}
.text-right {
  text-align: right;
}
.text-center {
  text-align: center;
}
.float-left {
  float: left;
}
.float-right {
  float: right;
}
.nowrap,
td.nowrap,
th.nowrap {
  white-space: nowrap;
}
.btn,
a.btn,
button.btn {
  display: inline-block;
  color: #fff;
  background-color: #333;
  text-align: center;
  text-decoration: none;
  padding: 8px 18px;
  border: solid 1px #999;
  border-radius: 3px;
  transition: all 0.3s ease 0;
}
.btn:hover,
a.btn:hover,
button.btn:hover {
  background-color: #666;
}
.btn.btn-sm,
a.btn.btn-sm,
button.btn.btn-sm {
  font-size: 11px;
  padding: 6px 12px;
}
a:hover img {
  opacity: .8;
}
/* layouts
-------------------------------------------------------------------------- */
.container {
  width: 1170px;
  margin: 0 auto;
  padding: 25px 0;
}
@media (max-width: 1199px) {
  .container {
    width: 970px;
  }
}
@media (max-width: 991px) {
  .container {
    width: 750px;
  }
}
@media (max-width: 767px) {
  .container {
    width: auto;
    padding: 0 15px;
  }
}
.row {
  margin: 0 -5px;
  zoom: 1;
}
.row:after {
  content: "";
  display: block;
  clear: both;
}
.section {
  position: relative;
  background-attachment: fixed;
  height: 100%;
}
/* typography
-------------------------------------------------------------------------- */
#mainBg {
  height: auto;
  min-height: 100%;
  text-align: center;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 0;
}
#mainBg #mainTitle {
  position: absolute;
  width: 70%;
  text-align: center;
  padding: 10px 20px;
  background-color: rgba(0, 0, 0, 0.2);
  left: 15%;
  top: 37%;
}
#mainBg #mainTitle h1 {
  color: #fff;
  font-family: Georgia, "ＭＳ Ｐ明朝", "ヒラギノ明朝 Pro W3", "HG明朝E", "ＭＳ 明朝", serif;
  height: 48px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  white-space: nowrap;
  text-indent: 100%;
  overflow: hidden;
  margin: 0 auto 15px auto;
}
#mainBg #mainTitle p {
  color: #fff;
  font-size: 130%;
  font-family: Georgia, "ＭＳ Ｐ明朝", "ヒラギノ明朝 Pro W3", "HG明朝E", "ＭＳ 明朝", serif;
  margin-bottom: 0;
}
@media (max-width: 991px) {
  #bg-sp {
    position: fixed;
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
  }
  #mainBg {
    background-image: none !important;
    height: auto !important;
  }
  #mainBg #mainTitle {
    position: static;
    width: 90%;
    margin: 100px auto 40px auto;
  }
  #mainBg #mainTitle h1 {
    height: 34px;
  }
}
@media (max-width: 767px) {
  #mainBg #mainTitle {
    position: static;
    width: 90%;
    margin: 60px auto 40px auto;
  }
  #mainBg #mainTitle h1 {
    font-size: 24px;
    text-indent: 0;
    background-image: none;
  }
  #mainBg #mainTitle p {
    font-size: 110%;
    text-align: left;
  }
  #mainBg #mainTitle p br {
    display: none;
  }
}
.section-title {
  color: #fff;
  font-size: 24px;
  font-family: Georgia, "ＭＳ Ｐ明朝", "ヒラギノ明朝 Pro W3", "HG明朝E", "ＭＳ 明朝", serif;
  text-align: center;
  margin: 0 0 30px 0;
  border-bottom: solid 1px #fff;
}
/* navigation
-------------------------------------------------------------------------- */
#footerMenu-Inner .content-navi {
  display: table;
  width: 1170px;
  margin: 0 auto;
}
#footerMenu-Inner .content-navi li {
  display: table-cell;
  border-left: solid 1px #ccc;
}
#footerMenu-Inner .content-navi li:last-child {
  border-right: solid 1px #ccc;
}
#footerMenu-Inner .content-navi li a {
  display: block;
  font-size: 16px;
  font-family: Georgia, "ＭＳ Ｐ明朝", "ヒラギノ明朝 Pro W3", "HG明朝E", "ＭＳ 明朝", serif;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 4px 8px;
}
@media (max-width: 1199px) {
  #footerMenu-Inner .content-navi {
    width: 970px;
  }
}
.back-btn {
  position: fixed;
  left: 20px;
  top: 50px;
  z-index: 1000;
}
.back-btn a {
  display: inline-block;
  font-size: 120%;
  text-align: center;
  color: #fff;
  background-color: #111;
  padding: 15px 25px;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5), inset 0 0 3px #ffffff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
}
.back-btn a:hover {
  text-decoration: none;
  background-color: #333;
}
@media (max-width: 991px) {
  .back-btn {
    position: static;
    padding: 80px 0 20px 20px;
  }
}
@media (max-width: 767px) {
  .back-btn {
    padding-top: 60px;
  }
}
/* entry box (it must be in .row class)
-------------------------------------------------------------------------- */
.entry-box {
  width: 25%;
  padding: 0 15px;
  margin-bottom: 30px;
  float: left;
}
.entry-box,
.entry-box * {
  box-sizing: border-box;
}
.entry-box a {
  display: block;
  text-decoration: none;
  background-color: #000;
  border: solid 1px #fff;
  border-radius: 4px;
}
.entry-box .entry-thumb img {
  width: auto;
  max-width: 100%;
  height: auto;
}
.entry-box .entry-name {
  color: #fff;
  font-size: 16px;
  line-height: 1.4em;
  padding: 8px 6px 4px 6px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
@media (max-width: 991px) {
  .entry-box {
    width: 33.33333333%;
  }
}
@media (max-width: 767px) {
  .entry-box {
    width: 50%;
  }
  .entry-box .entry-name {
    font-size: 13px;
  }
}
/* caption box
-------------------------------------------------------------------------- */
.caption-box {
  position: absolute;
  right: 50px;
  bottom: 7%;
}
.caption-box * {
  color: #fff;
}
.caption-box .caption-inner {
  display: block;
  box-sizing: border-box;
  margin-left: 50px;
  padding: 15px;
  background-color: rgba(0, 0, 0, 0.4);
}
.caption-box .caption-inner .caption-header {
  zoom: 1;
}
.caption-box .caption-inner .caption-header:after {
  content: "";
  display: block;
  clear: both;
}
.caption-box .caption-inner .caption-header .caption-title {
	padding:5px 0px -1px;
  font-size: 27px;
  line-height: 1.5em;
  float: left;
}
.caption-box .caption-inner .caption-header .caption-title small {
  display: block;
  font-size: 14px;
  line-height: 1.3em;
}
.caption-box .caption-inner .caption-header .caption-toggle {
  display: inline-block;
  padding: 8px 15px 8px;
  line-height: 1.4;
  font-size:16px;
  background-color: #111;
  border: none;
  outline: none;
  border-radius: 5px;
  box-shadow: 1px 1px 2px #666;
  cursor: pointer;
  float: right;
}
.caption-box .caption-inner .caption-header .caption-toggle:hover {
  text-decoration: none;
  background-color: #444;
}
.caption-box .caption-inner .caption-body {
  width: 100%;
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.6em;
}
@media (max-width: 991px) {
  .caption-box {
    position: static;
    margin-bottom: 30px;
  }
  .caption-box .caption-inner {
    margin: 0;
  }
  .caption-box .caption-inner .caption-header .caption-title {
    font-size: 24px;
  }
  .caption-box .caption-inner .caption-header .caption-toggle {
    display: none;
  }
}
