@charset "UTF-8";

/* -----------------------------------------------
 * RESET STYLES
 * ----------------------------------------------- */
html, body, div, span, applet, object,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center, hr, button,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 16px;
    vertical-align: baseline;
    background: transparent;
    font-family: "Open Sans","Hiragino Kaku Gothic ProN",HiraKakuPro-W3,Meiryo,"ＭＳ Ｐゴシック",sans-serif;
    color: #333;
}
html, body { height: 100%; }
body { line-height: 1.5; }
hr { display: none; }
ol, ul { list-style: none; }
select { padding: 2px 2px 2px 0; }

/* -----------------------------------------------
 * HTML5
 * ----------------------------------------------- */
header, footer, nav { display:block; }

/* -----------------------------------------------
 * FONT SETTING
 * ----------------------------------------------- */
.left {text-align:left;}
.right {text-align:right;}
.cneter {text-align:center;}

body
{
  font:13px/1.231 arial,helvetica,clean,sans-serif;
  *font-size:small; /* for IE */
  *font:x-small; /* for IE in quirks mode */
}

/* -----------------------------------------------
 * ANCHOR
 * ----------------------------------------------- */
a { text-decoration: none; }
a:link { color: #0277bd; }
a:visited { color:#1e50a2; }
a:hover { color:#1e50a2; }

/* -----------------------------------------------
 * FORM
 * ----------------------------------------------- */
input { padding: 4px 7px;  }
.error-msg { display: none; font-size: 90%; color: #e2041b; margin: 8px 0 0 !important;  }
.error { font-size: 90%; color: #e2041b; }
.small-note { font-size: 90%; color: #0095d9; margin: 3px 0 !important; padding: 0; }
.require { color: #e2041b; margin-left: 2px; font-weight: normal;  }
/* -----------------------------------------------
 * MISC
 * ----------------------------------------------- */
/*** CLEARFIX ***/
.clearfix:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}
/* .clearfix { display: inline-table; } */
.clearfix { display: block; }

.clearer{ clear: both;  }
.frame-cover { width: 980px; margin: 0 auto; }
@media screen and (max-width: 980px) {
  .frame-cover { width: 100%; }
}
.note a { font-size: 13px; }
p.note { margin: 8px 0; color: #0095D9; }

/* -----------------------------------------------
 * header
 * ----------------------------------------------- */
#header {
  position: fixed;
  top: 0;
  opacity: 0.96;
  z-index: 1000;
  background-color: #777;
  height: 32px;
  width: 100%;
  transition: 0.2s;
}
#header.hide {
  transform: translateY(-100%);
}
#ototoy-logo {
  display: block;
  float: left;
  width: 71px;
  margin: 0 0 0 22px;
}
#auth-message {
  float: right;
  text-align: right;
  width: 150px;
  padding: 6px 19px 0 0;
}
@media screen and (max-width: 641px) {
  #ototoy-logo { margin-left: 16px; }
  #auth-message { padding-right: 16px; }
}
#auth-message a,
#auth-message button {
  font-family: Roboto,"Hiragino Kaku Gothic ProN",HiraKakuPro-W3,Meiryo,"ＭＳ Ｐゴシック",sans-serif;
  font-feature-settings: "palt";
  font-size: 14px;
  line-height: 13px;
  vertical-align: baseline;
  text-decoration: none;
  cursor: pointer;
  padding: 0px;
  height: 100%;
  color: #fff;
  -webkit-font-smoothing: subpixel-antialiased;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
#auth-message .fa {
  font-size: 19.6px;
  margin: 0;
  padding: 0;
  vertical-align: -1px;
  color: #fff;
}
#auth-message .fa-user {
  margin-right: 8px;
}
#auth-message .fa-caret-down {
  margin-left: 8px;
}

/* -----------------------------------------------
 * Global Menu
 * ----------------------------------------------- */
#global-nav {
  background: #f5b517;
  color: #ffffff;
  padding-top: 32px;
  margin-bottom: 20px;
}
@media screen and (max-width: 980px) {
  #global-nav {
    min-height: 110px;
  }
}
#global-nav h1 {
  float: left;
  width: 277px;
}
@media screen and (max-width: 641px) {
  #global-nav h1 {
    float: none;
    width: 100%;
    padding-top: 6px;
    text-align: center;
  }
}
#global-nav h1 img {
  margin: 16px 0 0 0;
}
@media screen and (max-width: 980px) {
  #global-nav h1 img {
    margin: 16px 0 0 18px;
  }
}
@media screen and (max-width: 641px) {
  #global-nav h1 img {
    margin: 12px auto 4px;
  }
}

#menu-data{ float:right; width: 668px; position:relative; right: 0; }
@media screen and (max-width: 980px) {
  #menu-data{
    width: 100%;
    background: #f5b517;
  }
}
@media screen and (max-width: 641px) {
  #menu-data{
    width: 100%;
    height: 84px;
  }
}
#menu-data #global_login{ margin-bottom: 13px; float: right;  }
#global-nav ul{ clear: both;  }
#global-nav li{ float: left; margin: 0 0 8px 0; }
li.last{ float:none; }

#global-info {
  position: fixed;
  width: 260px;
  top: 32px;
  right: 0;
  z-index: 1001;
  background-color: #777;
  opacity: 0.96;
  transition: 0.2s;
}
@media screen and (max-width: 641px) {
  #global-info {
    width: 100%;
  }
}
#global-info.hide {
  transform: translateY(calc(-100% - 32px));
}
#global-info a { color: #ffffff;  }
#global-info .fa { color: #fff; }

#global-info .logout-button {
  text-align: right;
}
#global-info .close-button .fa-times-circle {
  display: inline-block;
  padding: 6px;
  font-size: 16px;
}
@media screen and (max-width: 641px) {
  #global-info .close-button .fa-times-circle {
    padding: 12px;
    font-size: 32px;
  }
}

#global-user-info {
  display: none;
  position: relative;
  text-align:center;
}
#global-user-info-data {
  padding: 4px 16px 8px 16px;
  max-width: 235px;
  margin: 0 auto;
}
@media screen and (max-width: 641px) {
  #global-user-info-data {
    padding: 8px 8px 12px 8px;
    max-width: calc(77%);
  }
}
#global-user-info-data p label { color: #fff !important; }

#global-user-info dt, #global-user-info dd
{
  text-align: left;
  color: #ffffff;
}
#global-user-info .entried-schedule { list-style: disc; }
#global-user-entry form { margin-left: 20px; display: inline; }
.entried-schedule li { color: #fff; margin: 0 0 3px 20px !important; clear: both; float: none !important; }
#global-user-info h3 { font-size: 100%; border-bottom: 1px solid #ffffff; color: #ffffff; line-height: 1em; padding: 0 0 2px 0; margin-bottom: 0; text-align: left; }
#global-user-info li { margin: 0 0 12px;  }
#global-user-info form div { margin: 8px 8px 12px 8px; text-align: center; }
#global-user-info label {
  position: absolute;
  padding: 0 0 0 0;
  z-index: 1002;
  color: #999999;
  text-align:left;
  font-size: 14px;
  left: 8px;
}
#global-user-info #email-div label, #global-user-info #pw-div label {
  padding: 5px 8px 0 8px;
}
#global-user-info input[type=text], #global-user-info input[type=password] {
  width: calc(100% - 18px);
}
#global-user-info label#remember-login-label {
  font-size: 13px;
  position: static !important;
  color: #ffffff !important;
  vertical-align: text-bottom;
}

#global-info .btn { text-align: center; margin: 12px 0; }
#global-info input[type="submit"] { border-radius: 0; -webkit-box-sizing: content-box; -webkit-appearance: button; appearance: button; border: none; box-sizing: border-box; cursor: pointer; }
#global-info input[type="submit"]::-webkit-search-decoration { display: none; }
#global-info input[type="submit"]::focus { outline-offset: -2px; }
#global-info .login-button {
  background: #2ab002;
  border: 1px solid #259702 !important;
  color: #fff !important;
  width: 189px;
  height: 24px;
  border: none;
  border-radius: 4px;
  line-height: 1;
  font-size: 14px;
}
#global-info .login-button:hover, #global-info .login-button:active, #global-info .login-button:focus {
  background: #289604;
  border: 1px solid #247a04;
}
#global-info .twitter-login a {
  display: block;
  margin: 12px auto 0;
  width: 189px;
  height: 18px;
  padding: 4px 0 0 0;
  background: #1da1f2;
  border: 1px solid #0d91e3 !important;
  color: #fff !important;
  border-radius: 4px;
  line-height: 1;
  font-size: 14px;
}
#global-info .twitter-login a:hover, #global-info .twitter-login a:active, #global-info .twitter-login a:focus {
  background: #0d91e3;
  border: 1px solid #0c84cf !important;
}
#global-info .twitter-login .fa-twitter {
  color: #fff;
}
#global-info .signup {
  margin-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.5) !important;
  padding-top: 4px;
  margin-bottom: 8px;
}
#global-info .signup a {
  display: block;
  margin: 12px auto 0;
  width: 189px;
  height: 18px;
  padding: 4px 0 0 0;
  background: #2ab002;
  border: 1px solid #259702 !important;
  color: #fff !important;
  border-radius: 4px;
  line-height: 1;
  font-size: 14px;
}
#global-info .signup a:hover, #global-info .signup a:active, #global-info .signup a:focus {
  background: #289604;
  border: 1px solid #247a04 !important;
}
#global-info .logout-button button {
  margin-bottom: 12px;
  font-size: 12px;
  color: #fff;
  text-align: right;
}
#btn-mypage { clear: both; display: block; margin: 10px auto; width: 168px; height: 23px; text-indent: -9999px; background: url(https://imgs.ototoy.jp/school/images/common/btn_mypage.png) no-repeat 0px 0px;  }
#btn-mypage:hover { background: url(https://imgs.ototoy.jp/school/images/common/btn_mypage.png) no-repeat 0px -25px;  }

#global-info-border { height: 3px; width: 267px; background: url(https://imgs.ototoy.jp/school/images/common/global_info_border.png) no-repeat; }
#global-info-slider
{
  position: relative;
  float: right;
  height: 30px;
  display: block;
  text-align: center;
}
@media screen and (max-width: 641px) {
  #global-info-slider {
    width: 100%;
  }
}
#global-info-slider img { float: left;  }
#global-info-slider div{ float: left; background: #f39800; height: 32px; padding: 0 8px; min-width: 137px; }
@media screen and (max-width: 641px) {
  #global-info-slider div{
    float: none;
    margin: 8px 16px
  }
}
#global-info-slider a{ color: #fff; font-size: 14pt; line-height: 32px;  }
@media screen and (max-width: 641px) {
  #global-info-slider a{
    max-width: 320px;
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
}
#global-menu { margin-top: 36px; }
@media screen and (max-width: 980px) {
  #global-menu { margin-top: 12px; }
}
@media screen and (max-width: 641px) {
  #global-menu { margin-top: 8px; }
}
#global-menu li { background: url(https://imgs.ototoy.jp/school/images/common/menu_line.png) no-repeat bottom left; height: 26px; padding: 0 20px; line-height: 1.5em; }
@media screen and (max-width: 320px) {
  #global-menu li {
    padding: 0 12px;
  }
}
#global-menu a { color: #ffffff; text-decoration: none; font-size: 14px; }
#global-menu a:hover { color: #777; }

/* -----------------------------------------------
 * content
 * ----------------------------------------------- */
#content { clear: both; padding: 0 8px 20px;  }
@media screen and (max-width: 641px) {
  #content {
    padding: 16px;
    width: 100%;
    box-sizing: border-box;
  }
}

#left-sidebar { float: left; width: 155px; margin-right: 30px; padding: 46px 0 0;  }
@media screen and (max-width: 980px) {
  #left-sidebar {
    width: 26%;
    margin-right: 2%;
  }
}
@media screen and (max-width: 641px) {
  #left-sidebar {
    display: none;
  }
}
#left-sidebar li { margin-bottom: 12px;  }
#event-menu { border-bottom: 1px solid #ccc; margin-bottom: 25px;  }
#event-menu li { padding: 2px 0 0 16px; height: 23px; }
#menu-open-event::before {
  display: inline-block;
  font: normal normal normal 14px/1 FontAwesome;
  font-size: inherit;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  margin-right: 0.5rem;
  content: "\f040";
}
#menu-ongoing-event::before {
  display: inline-block;
  font: normal normal normal 14px/1 FontAwesome;
  font-size: inherit;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  margin-right: 0.5rem;
  content: "\f017";
}
#menu-past-event::before {
  display: inline-block;
  font: normal normal normal 14px/1 FontAwesome;
  font-size: inherit;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  margin-right: 0.5rem;
  content: "\f07b";
}
#event-search-status { border-bottom: 1px solid #ccc; margin-bottom: 25px;  }
#event-search-status input { float: right;  }
#main-block { float: left; width: 790px;  }
@media screen and (max-width: 980px) {
  #main-block {
    width: 70%;
  }
}
@media screen and (max-width: 641px) {
  #main-block {
    width: 100%;
  }
}
#teacher-content { padding-left: 1em;  }

.info-box{ border: 1px solid #a5a5a5; background: #fafafa; padding: 13px 10px; }

.event-detail-btn a { display: block; width: 100px; height: 25px; margin: 0 auto; background: url(https://imgs.ototoy.jp/school/images/common/btn_event_detail.png) no-repeat 0px 0px; text-indent: -9999px; }
.event-detail-btn a:hover { background: url(https://imgs.ototoy.jp/school/images/common/btn_event_detail.png) no-repeat 0px -25px; }

/* -----------------------------------------------
 * left-sidebar
 * ----------------------------------------------- */
#main-block h2 {
  display: block;
  background: #F3F2F3;
  font-size: 18px;
  color: #777;
  position: relative;
  padding: 8px 8px 8px 24px;
}
#main-block h2::after {
  position: absolute;
  top: .5em;
  left: .5em;
  content: '';
  width: 6px;
  height: -webkit-calc(100% - 1em);
  height: calc(100% - 1em);
  background-color: #777;
}
#main-block h2#title {
    margin-bottom: 16px;
  }
#left-sidebar a { color: #333;  }
#left-sidebar dt { border-bottom: 1px solid #333333; padding-bottom: 15px; margin-bottom: 10px; }
#left-sidebar dt a { font-size: 14px;   }
#left-sidebar dd { margin-top: 20px;  }
#left-sidebar dd a { font-size: 13px;  }
#left-sidebar ul { margin: 0 0 10px;  }
#left-sidebar li { margin: 4px 0; clear: both;  }

/* -----------------------------------------------
 * footer
 * ----------------------------------------------- */
footer .frame-cover { background: #ddd; }
footer #footer-content { padding: 20px 60px 10px; }
@media screen and (max-width: 641px) {
  footer #footer-content {
    padding: 24px;
  }
}
footer dl{ float: left; margin: 8px 28px 8px 28px; width: 230px;  }
@media screen and (max-width: 641px) {
  footer dl {
    margin: 16px 0;
    width: 100%;
  }
}
footer dt{ border-bottom: 2px solid #333333;  }
@media screen and (max-width: 641px) {
  footer dt {
    margin-bottom: 10px;
  }
}
footer dd{   }
footer li { margin: 3px 0;  }
footer li a {font-size: 13px; }
footer #copyright{ clear: both; font-size: 13px; padding-top: 25px; text-align: center;  }

footer a:link { color: #333333; }
footer a:visited { color: #333333; }
footer a:hover { color: #9ea1a3; }

/* -----------------------------------------------
 * for Tweet button
 * ----------------------------------------------- */
.wgt_label {
  font: normal normal normal 11px/18px "Helvetica Neue",Arial,sans-serif !important;
  color: #fff !important;
}
.wgt_count {
  white-space: nowrap;
  font: normal normal normal 11px/18px "Helvetica Neue",Arial,sans-serif !important;
  color: #333 !important;
}

/* =======================================
   goto-top-btn
 ======================================= */

.goto-top-btn {
  width: 60px;
  height: 60px;
  font-size: 0;
  position: fixed;
  bottom: 5px;
  right: 5px;
  opacity: 0;
  z-index: 3;
  border: none;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2));
  font-family: roboto;
}
.goto-top-btn.above-audio-player {
  bottom: 50px;
}

@media screen and (min-width: 1500px) {
  .goto-top-btn {
    bottom: 5px;
    margin-right: 1.5%;
  }
  .goto-top-btn.above-audio-player {
    bottom: 100px;
  }
}
.goto-top-btn.fade-in {
  opacity: 0.8;
  transition: opacity .8s;
}
