/* ----------------------------------
    Layout
-----------------------------------*/
.wrapper {
  min-height: calc(100vh - 28px);
}
@media (min-width: 320px) and (max-width: 767px) {
  .container {
    width: 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}
header {
  min-height: 28px;
}
footer {
  height: 28px;
}
@media (max-width: 1083px) {
  .fixed {
    position: fixed;
    right: 0;
    left: 0;
    z-index: 1030;
  }
  .main {
    padding-top: 113px;
  }
}

/* ----------------------------------
    Font
-----------------------------------*/
.wrapper * {
  font-family:"Open Sans","Helvetica Neue",Helvetica,"Arial","Yu Gothic",YuGothic,"ヒラギノ角ゴ ProN W3","Hiragino Kaku Gothic ProN","メイリオ",Meiryo,sans-serif !important;
}
.type-sh1,
.type-sh2,
.type-sh3,
.navbar-nav > li > a > span,
ul.side li .kumiai a {
  font-family: "Open Sans", "Helvetica Neue", Helvetica, "Arial", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif !important;
  font-weight: 300;
}
body, p, output, .form-control, .btn, .btn-link, .btn-lightweight,  .dropdown-menu, .input-group-addon, .popover, .popover-title, .dropdown .dropdown-menu li a,
.form-group .form-group-label, select, .putbox .putbox-content, .jumbotron p, .hero p, .modal-content .modal-body, .navbar-form .btn.btn-default::before,
.table tr th, blockquote, .btn[data-toggle="button"].btn-toggle-switch .stateLabel, .entity-list .entity-list-item .content-text-secondary, .media .media-header,
.media .media-caption, .side-navigation.side-navigation-small.nav .side-nav-c2, .side-navigation.side-navigation-small .close, .guidance.guidance-usage:before {
  font-size: 18px;
  line-height: 1.6em;
  color: #333;
}
@media (max-width: 767px) {
  body, p, output, .form-control, .btn, .btn-link, .btn-lightweight,  .dropdown-menu, .input-group-addon, .popover, .popover-title, .dropdown .dropdown-menu li a,
  .form-group .form-group-label, select, .putbox .putbox-content, .jumbotron p, .hero p, .modal-content .modal-body, .navbar-form .btn.btn-default::before,
  .table tr th, blockquote, .btn[data-toggle="button"].btn-toggle-switch .stateLabel, .entity-list .entity-list-item .content-text-secondary, .media .media-header,
  .media .media-caption, .side-navigation.side-navigation-small.nav .side-nav-c2, .side-navigation.side-navigation-small .close, .guidance.guidance-usage:before {
    font-size: 15px;
  }
}
.glyph {
  position: relative;
  bottom: .1em;
  overflow: visible;
}

/* ----------------------------------
    Common
-----------------------------------*/
a:hover,
a:active,
a:focus {
  color: #bf0000;
  text-decoration: underline;
}
a img:hover,
a img:active {
  opacity: .8;
  filter: alpha(opacity=80);
  transition: opacity .2s ease-in-out;
}
hr {
  margin-top: 24px;
  border: none;
}
hr.border {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}
dl,
ul {
  margin: 24px 0;
}
dl dt {
  margin: 0;
  padding: 0;
}
dl dd {
  margin-top: 0;
}
.small {
  font-size: 90%;
}
.section {
  margin: 0;
}
.type-sh1,
.type-sh2,
.type-sh3 {
  padding: 0;
}
.jumbotron {
  padding: 18px 0;
  background-color: #fdecb2;
  text-align: center;
}
.jumbotron h2 small {
  color: inherit;
  vertical-align: middle;
}
.jumbotron h2:before {
  position: relative;
  margin-right: 10px;
  display: inline-block;
  content: "";
  top: 3px;
  width: 30px;
  height: 30px;
  background: url(../img/logo-sm.png);
  background-size: 30px 30px;
}
@media (max-width: 767px) {
  .jumbotron h2:before {
    margin-right: 5px;
    top: 5px;
  }
}
@media (min-width: 768px) {
  .jumbotron {
    padding: 24px 0;
  }
}
.caption {
  border-bottom: 1px solid #000;
}
.caption h2 {
  margin-bottom: -1px;
}
.caption h2 span {
  display: inline-block;
  border: 1px solid #000;
  border-bottom-color: #fff;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  padding: 8px 18px 5px;
}
h3.products {
  margin: 24px 0 0;
  padding: 8px 12px;
}
.contents {
  margin: 0 0 24px;
  padding: 18px 0 6px 18px;
  border-left: 1px solid #000;
}
dl.date-list {
  margin: 0 0 6px;
  border-bottom: 1px dotted rgba(0, 0, 0, .2);
}
dl.date-list dt {
  font-weight: normal;
}
dl.date-list dd {
  margin-bottom: 6px;
}
dl.float-12em dt {
  font-weight: normal;
}
@media (min-width: 768px) {
  dl.date-list {
    margin: 0 0 12px;
  }
  dl.date-list dt {
    width: 6em;
    float: left;
  }
  dl.date-list dd {
    margin-left: 6em;
    margin-bottom: 12px;
  }
}
@media (min-width: 768px) {
  dl.float-list dt {
    width: 7em;
    float: left;
  }
  dl.float-list dd {
    margin-left: 7em;
  }
  dl.float-12em dt {
    width: 10em;
    float: left;
    text-align: right;
  }
  dl.float-12em dd {
    margin-left: 12em;
  }
  dl.float-4em dt {
    width: 4em;
    float: left;
  }
  dl.float-4em dd {
    margin-left: 4em;
  }
}
dl.note dt {
  float: left;
  width: 1em;
  color: #d02e00;
  margin: 0;
}
dl.note dd {
  margin: 0 0 0 1em;
}
.list-items > li:first-child {
  color: #fff;
  font-weight: bold;
  background: #7f94b8;
  border-bottom: 2px solid #60719f;
}
.list-items > li:last-child {
  border-bottom: 1px solid rgba(0, 0, 0, .05);
}
.list-items > li:nth-of-type(even) {
  background-color: #f9f9f9;
}
blockquote {
  padding: 0 0 0 15px;
  font-size: inherit;
  border-left-width: 7px;
}
blockquote small {
  font-size: 90%;
  color: inherit;
}
blockquote small:before {
  content: none;
}
td {
  vertical-align: top;
}
.label {
  font-size: inherit;
  padding: 4px 10px 3px;
}
.row-eq-height {
  display: flex;
  flex-wrap: wrap;
}
.eq-contents {
  height: 85%;
  margin: 0;
  padding: 18px 0 6px 18px;
  border-left: 1px solid #000;
}
@media (max-width: 767px) {
  .row-eq-height > div[class*="col-"] {
    width: 100%;
  }
}
.color-type-secondary {
  color: rgba(0, 0, 0, .4);
}
.m-auto {
  margin: auto !important;
}

/* ----------------------------------
    Form
-----------------------------------*/
input.form-control,
select.form-control,
textarea.form-control {
  max-width: none;
  min-width: inherit;
  margin-bottom: 8px;
}
.form-group {
  margin-bottom: 8px;
}
.form-group label,
.form-group .form-group-label {
  font-size: inherit;
  vertical-align: middle;
}
.btn-group {
  margin-top: 8px;
}
.input-group-addon {
  background-color: #fff;
  border: none;
}
.input-group-lg > .input-group-addon {
  font-size: 36px;
  color: #fabf01;
  padding: 0 16px 0 0;
  background-color: #fff;
  border: none;
}
.combobox::after {
  top: 5px;
}
.err {
  margin: 0;
}
.err dt {
  float: left;
  width: 2em;
  margin: 0;
}
.err dt .glyph-warning {
  font-size: 150%;
  padding-top: 2px;
}
.err dt .glyph-info {
  font-size: 150%;
  padding-top: 2px;
  color: #468847;
}
.err dd {
  margin: 0 0 0 2em;
}

/* ----------------------------------
    Header
-----------------------------------*/
header {
  color: #fff;
  font-size: 13px;
  background-color: #e60012;
}
header img {
  vertical-align: top;
}

/* ----------------------------------
    Navbar-Header
-----------------------------------*/
.navbar {
  background-color: #fff6e9;
}
.navbar-global .navbar-toggle {
  border-color: #000;
  color: #fff;
  margin: 18px 10px 0 10px;
  padding: 3px 9px 5px;
  height: 48px;
}
.navbar-global .navbar-toggle,
.navbar-global .navbar-toggle:focus {
  background-color: #333;
}
.navbar-global .navbar-toggle:hover,
.navbar-global .navbar-toggle:active,
.navbar-global .navbar-toggle:focus {
  background-color: #444;
}
.navbar-global .glyph-hamburger {
  color: #fff;
}
.menu {
  display: block;
  font-size: 10px;
  line-height: 1;
}
.navbar-header {
  height: 85px;
  margin: 0;
}
.navbar-header h1 {
  padding: 0;
}
.navbar-brand {
  outline: none !important;
  width: 320px;
  height: 85px;
  background: url(../img/logo.png) left 12px no-repeat;
}
.navbar-brand:hover,
.navbar-brand:active,
.navbar-brand:focus {
  opacity: .8;
  filter: alpha(opacity=80);
  transition: opacity .2s ease-in-out;
}
@media (max-width: 410px) {
  .navbar-brand {
    width: 250px;
    margin: 0;
    background-position: -70px;
  }
}

/* ----------------------------------
    Navbar-Nav
-----------------------------------*/
.navbar-collapse {
  padding-right: 0;
}
.navbar-nav > li {
  height: 85px;
  padding: 20px 0 0;
}
.navbar-nav > li > a {
  padding: 0;
  line-height: 22px;
}
.navbar-nav > li > a > span {
  text-align: center;
  font-size: 13px;
  font-weight: bold;
  display: table-cell;
  vertical-align: middle;
  height: 45px;
  border-left: 1px solid #000;
  padding-left: 15px;
  padding-right: 15px;
  line-height: 1.4;
}
.navbar-nav > li:last-child > a > span {
  border-right: 1px solid #000;
}
.navbar-global .navbar-nav .active > a {
  background-color: #fff;
}
@media (max-width: 1083px) {
  .navbar-collapse {
    padding-right: 10px;
  }
  .navbar-nav > li {
    height: inherit;
    padding: 0;
  }
  .navbar-nav > li > a > span {
    text-align: left;
    border-left: none;
    height: inherit;
  }
  .navbar-nav > li:last-child > a > span {
    border-right: none;
  }
}
@media (min-width: 1084px) and (max-width: 1250px) {
  .navbar-collapse .navbar-nav > li > a {
    padding: 0;
  }
  .navbar-nav > li > a > span {
    padding-left: 8px;
    padding-right: 8px;
  }
  .navbar-nav > li:nth-child(4) > a > span {
    width: 6em;
  }
}

/* ----------------------------------
    Submenu
-----------------------------------*/
.submenu {
  color: #fff;
  background-color: #d40;
  padding: 3px 0;
}
.submenu a.btn {
  margin: 3px 0;
  font-size: 90%;
  background-color: #ffaa00;
}
.submenu a.btn:hover,
.submenu a.btn:active,
.submenu a.btn:focus {
  background-color: #ff9900;
}

/* ----------------------------------
    Footer
-----------------------------------*/
footer {
  color: #fff;
  font-size: 13px;
  line-height: 28px;
  background-color: #e60012;
}
footer a {
  color: #fff;
}
footer a:hover,
footer a:active,
footer a:focus {
  color: #fff;
  text-decoration: underline;
}
.totop {
  position: fixed;
  bottom: -48px;
  right: 24px;
}
.totop a {
  display: block;
  padding-top: 5px;
  width: 48px;
  height: 48px;
  text-align: center;
  color: #fff;
  text-decoration: none;
  font-size: 24px;
  line-height: 32px;
  opacity: .5;
  background: rgba(0, 0, 0, 0.4);
}
.totop a:hover,
.totop a:active,
.totop a:focus {
  background: rgba(0, 0, 0, 0.6);
}

/* ----------------------------------
    Index
-----------------------------------*/
.top-image {
  position: relative;
}
/*
.cloak {
  display: inline-block;
  padding: 5px 10px;
  font-size: 90%;
  font-weight: bold;
  background-color: #fff;
  border: 5px solid #e60012;
  border-radius: 10px;
  position: absolute;
  bottom: 15px;
  right: 15px;
  box-shadow: 3px 3px 3px rgba(0, 0, 0, .3);
}
@media (max-width: 767px) {
  .cloak {
    padding: 3px 5px;
    font-size: 70%;
    border-width: 4px;
    bottom: 5px;
    right: 5px;
  }
}
*/
.caption h2 span.top {
  letter-spacing: .07em;
  font-size: 95%;
}
#banner a {
  display: block;
  margin: 0 0 9px;
  padding: 12px;
  font-weight: bold;
  color: #fff;
  border-radius: 5px;
  line-height: 1.1;
}
#banner .b1 {
  background-color: #54bfdc;
  border-color: #54bfdc;
}
#banner .b1:hover {
  background-color: #40b2d4;
  border-color: #40b2d4;
}
#banner .b2 {
  background-color: #22ae95;
  border-color: #22ae95;
}
#banner .b2:hover {
  background-color: #159e82;
  border-color: #159e82;
}
#banner .b3 {
  background-color: #e44e7c;
  border-color: #e44e7c;
}
#banner .b3:hover {
  background-color: #de3a68;
  border-color: #de3a68;
}
#banner .b4 {
  background-color: #ffa500;
  border-color: #ffa500;
}
#banner .b4:hover {
  background-color: #ff9400;
  border-color: #ff9400;
}
#banner .bn-md {
  display: block;
}
#banner .bn-lg {
  display: none;
}
@media (max-width: 767px) {
  #banner .bn-md .btn {
    display:table;
    width: 100%;
    height: 45px;
    padding: 0;
  }
  #banner .bn-md .btn span {
    display: table-cell;
    vertical-align: middle;
  }
  #banner .bn-md br {
    display: block;
  }
  #banner .bn-md .col-xs-12:nth-child(odd) {
    padding-right: 5px;
  }
  #banner .bn-md .col-xs-12:nth-child(even) {
    padding-left: 5px;
  }
}
@media (min-width: 768px) {
  #banner .bn-md br {
    display: none;
  }
}
@media (min-width: 1084px) {
  #banner .bn-md {
    display: none;
  }
  #banner .bn-lg {
    display: block;
  }
}
#side ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}
#side li {
  text-align: center;
  margin-top: 0;
  margin-bottom: 12px;
  min-width: 168px;
}
#side li.ganbaro {
  border: 4px solid #e60411;
  border-radius: 5px;
  box-shadow: 0 -60px 0 #e60411 inset;
}
#side li div.action {
  border: 4px solid #00b824;
  border-radius: 5px;
  margin-bottom: 12px;
}
#side li div.kumiai {
  border-radius: 5px;
  background-color: #71b8e7;
}
#side li div.kumiai:hover,
#side li div.kumiai:active {
  opacity: .8;
  filter: alpha(opacity=80);
  transition: opacity .2s ease-in-out;
}
#side li div.kumiai a {
  display: block;
  padding: 8px 0;
  font-size: 22px;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  line-height: 1.1;
}
#side li.past {
  border: 4px solid #8fc31f;
  border-radius: 5px;
  box-shadow: 0 30px 0 #8fc31f inset;
}
#side li.past p {
  font-weight: bold;
  text-align: center;
  color: #fff;
  white-space: nowrap;
  margin: 0;
  padding: 0;
  line-height: 27px;
  letter-spacing: -.05em;
}
#side li.past div {
  padding: 6px 12px;
}
#side li.past a {
  display: inline-block;
  width: 2.8em;
}
@media (max-width: 539px) {
  #side li {
    width: 100%;
  }
  #side li.past {
    padding-left: 6px;
    padding-right: 6px;
  }
}
#fb-root {
  display: none;
}
.fb_iframe_widget,
.fb_iframe_widget span,
.fb_iframe_widget iframe[style]{
  width: 100% !important;
}

/* ----------------------------------
    List
-----------------------------------*/
#list .nav-tabs {
  margin: 24px 0;
}
#list .nav-tabs > li > a {
  padding: 10px 0;
  font-size: 110%;
  font-weight: inherit;
  outline: none;
}
#list .nav-tabs-justified > .active > a,
#list .nav-tabs.nav-justified > .active > a,
#list .nav-tabs-justified > .active > a:hover,
#list .nav-tabs.nav-justified > .active > a:hover,
#list .nav-tabs-justified > .active > a:focus,
#list .nav-tabs.nav-justified > .active > a:focus {
  border: 1px solid #000;
  font-weight: bold;
}
@media (min-width: 320px) {
  #list .nav-justified > li,
  #list .nav-tabs.nav-justified > li {
    display: table-cell;
    width: 1%;
  }
  #list .nav-justified > li > a,
  #list .nav-tabs.nav-justified > li > a {
    margin-bottom: 0;
  }
  #list .nav-tabs-justified > li > a,
  #list .nav-tabs.nav-justified > li > a {
    border-bottom: 1px solid #000;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
  }
  #list .nav-tabs-justified > .active > a,
  #list .nav-tabs.nav-justified > .active > a,
  #list .nav-tabs-justified > .active > a:hover,
  #list .nav-tabs.nav-justified > .active > a:hover,
  #list .nav-tabs-justified > .active > a:focus,
  #list .nav-tabs.nav-justified > .active > a:focus {
    border-bottom-color: #fff;
  }
}
@media (max-width: 539px) {
  #list .nav-tabs > li > a {
    padding: 2px 0;
    font-size: 90%;
  }
}
.search input {
  margin: 0;
}
.search .btn {
  margin: 0;
  padding: 0 15px;
  height: 36px;
  min-width: inherit;
}

/* ----------------------------------
    Seminar
-----------------------------------*/
.semi h3 {
  margin: 3px 0 12px;
}
.semi h4 {
  margin-bottom: 12px;
}
.semi div {
  margin-top: 6px;
}
.semi .label {
  float: right;
  margin: 3px 0 3px 10px;
}
.semi .small {
  font-size: 85%;
}
.semi .speaker {
  padding-bottom: 6px;
  font-weight: bold;
  border-bottom: 1px dotted rgba(0, 0, 0, 0.1);
}

/* ----------------------------------
    Corner
-----------------------------------*/
#kids .alert ol li,
#kids .list-items-row ul,
#kids .list-items-row dl,
#kids .list-items-row ul li,
#kids .list-items-row ol li,
#kids .list-items-row dl dt,
#kids .list-items-row dl dd {
  margin-top: 0;
  margin-bottom: 0;
}
#students .alert-info {
  padding-right: 170px;
  background: #f2f2f2 url(../img/tur.png) right 10px bottom no-repeat;
}
@media (max-width: 539px) {
  #students .alert-info {
    padding-right: 20px;
    padding-bottom: 270px;
    background-position: center bottom;
  }
}
@media (max-width: 1083px) {
  #students {
    margin-top: -113px;
    padding-top: 113px;
  }
}

/* ----------------------------------
    Event
-----------------------------------*/
.youtube {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}
.youtube iframe {
  position: absolute;
  top: 0;
  right: 0;
  width: 100% !important;
  height: 100% !important;
}
#lottery ul {
  list-style: none;
  padding: 0;
  margin-bottom: 36px;
}
#lottery ul li {
  font-weight: 700;
  padding: 6px;
  border: 1px solid #aaa;
  box-shadow: 1px 1px 3px rgba(0, 0, 0, .2) inset;
  background-color: #f9f9f9;
}
#lottery ul li i {
  display: inline-block;
  color: #fff;
  width: 1.7em;
  background-color: #2280fa;
  border: 1px solid #4392fa;
  text-align: center;
  margin-right: 6px;
  box-shadow: 1px 1px 3px rgba(0, 0, 0, .2);
}
#lottery ul li.triangle {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 24px 60px 0 60px;
  border-color: #e04 transparent transparent transparent;
  margin: 0 auto;
  padding: 0;
  box-shadow: none;
  background-color: #fff;
}

/* ----------------------------------
    Layout
-----------------------------------*/
#layout .img-thumbnail {
  cursor: zoom-in;
}
.viewer-button {
  border-radius: 0;
}
.viewer-button::before {
  bottom: 11px;
  left: 11px;
}
.viewer-container {
  background-color: rgba(15, 15, 17, .87)
}
.viewer-toolbar {
  width: 100px;
}
.viewer-next,
.viewer-prev,
.viewer-play {
  display: none;
    width: 0;
}
.viewer-invisible {
  width: 0;
}
