/* CSS Document */
body {
  background-image: url("../image/bg_home.gif"); }

#wrapper {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow: hidden;
  margin: auto;
  justify-content: space-between; }

header {
  background-color: #0F3675;
  padding: 30px; }
  @media screen and (max-width: 769px) {
    header {
      padding: 15px; } }
  @media screen and (min-width: 769px), print {
    header .header-body {
      display: flex;
      justify-content: space-between;
      align-items: flex-end; } }
  header ul.navs {
    text-align: right; }
    header ul.navs li {
      display: inline-block;
      margin-left: 0.5em; }
      header ul.navs li a {
        color: white; }
      header ul.navs li i {
        color: white; }
      header ul.navs li.inq {
        background: white;
        padding: 5px 10px 5px 5px; }
        header ul.navs li.inq a {
          color: #0F3675; }
        header ul.navs li.inq i {
          color: #A99939; }
    @media screen and (max-width: 769px) {
      header ul.navs {
        padding-top: 0.5em; }
        header ul.navs li {
          font-size: 0.8em; }
          header ul.navs li i {
            font-size: 1.4em; } }

footer {
  padding: 20px;
  background-color: #EAE8C3;
  font-size: 0.8em;
  text-align: center; }
  @media screen and (max-width: 769px) {
    footer {
      font-size: 0.6em; } }

a:visited {
  color: purple; }

.pagebody {
  padding: 0; }
  @media screen and (min-width: 769px), print {
    .pagebody {
      padding: 2em 0; } }

.login-card {
  background: #EAE8C3;
  padding: 50px;
  margin: 100px auto; }
  @media screen and (max-width: 769px) {
    .login-card {
      padding: 30px;
      margin: 50px 50px; } }
  @media screen and (max-width: 769px) {
    .login-card #wpmem_login .form {
      font-size: 0.8em; } }
  .login-card #wpmem_login fieldset {
    margin: 0; }
    .login-card #wpmem_login fieldset .div_text,
    .login-card #wpmem_login fieldset .button_div,
    .login-card #wpmem_login fieldset input[type=text] {
      width: 100%; }
  .login-card #wpmem_login input.buttons {
    margin: 10px auto 0;
    border: none;
    background-color: #0F3675;
    color: white;
    padding: 12px 50px 10px;
    transition: opacity .5s; }
    .login-card #wpmem_login input.buttons:hover {
      opacity: .7; }
  .login-card #wpmem_login legend, .login-card #wpmem_login a#login {
    display: none; }

i.material-icons {
  vertical-align: bottom; }

section {
  padding: 1em 20px 1em;
  background: rgba(255, 255, 255, 0.5); }
  @media screen and (max-width: 769px) {
    section {
      padding: 25px 20px; } }
  section .page-header {
    background-color: #A99939;
    color: white;
    padding: 10px 15px;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: space-between;
    margin-bottom: 1em; }
    section .page-header a {
      color: white; }
    section .page-header[class*='first'] {
      color: white;
      background-color: hotpink; }
    section .page-header[class*='second'] {
      color: white;
      background-color: dodgerblue; }
    section .page-header[class*='third'] {
      color: white;
      background-color: mediumseagreen; }
  section ul.postlist li {
    border-bottom: 1px dotted #999;
    margin-bottom: 1em;
    padding-bottom: 0.5em; }
    @media screen and (min-width: 769px), print {
      section ul.postlist li {
        display: flex; } }
    section ul.postlist li .date {
      white-space: nowrap;
      padding-right: 1em; }
      section ul.postlist li .date i {
        color: #A99939; }
      @media screen and (max-width: 769px) {
        section ul.postlist li .date {
          font-size: 0.8em; }
          section ul.postlist li .date i {
            font-size: 1.4em; } }
    section ul.postlist li:last-child {
      margin-bottom: 0; }
  section ul.dlpostlist li {
    border: 1px solid #ddd;
    padding: 1.5em;
    line-height: 1.8;
    margin-bottom: 1em;
    background-color: #fff; }
    section ul.dlpostlist li h3 {
      border-bottom: 3px solid #999;
      margin-bottom: 1em;
      font-weight: bold;
      padding-bottom: 5px; }
    section ul.dlpostlist li .date {
      margin-bottom: 0.5em; }
      section ul.dlpostlist li .date .material-icons {
        vertical-align: sub; }
      section ul.dlpostlist li .date span {
        font-size: 1.5em; }
    section ul.dlpostlist li p {
      margin-bottom: 1em; }
    section ul.dlpostlist li img {
      max-width: 100%;
      height: auto;
      margin-bottom: 1em; }
    section ul.dlpostlist li td {
      padding: 10px; }

h1.class-name {
  text-align: center;
  font-weight: bold;
  color: #fff;
  font-size: 1.5em;
  padding: 10px;
  background-color: #4DA6FF; }
  h1.class-name.jh {
    background-color: #ED7389; }
  h1.class-name.hs {
    background-color: #00B1B3; }
  h1.class-name.new-student {
    color: black;
    background-color: #FFD700; }

h3.schooltype {
  margin-bottom: 0.5em;
  font-weight: bold; }

.more {
  text-align: right;
  padding-top: 0.5em;
  font-size: 0.8em; }
  .more a {
    color: #A99939;
    display: inline-block;
    padding: 4px 15px 5px 10px;
    border: 2px solid #A99939;
    background-color: #fff; }
  .more i {
    font-size: 1.4em; }

.backtolist {
  text-align: left;
  padding-bottom: 1em;
  font-size: 0.8em; }
  .backtolist a {
    color: #A99939;
    display: inline-block;
    padding: 4px 15px 5px 10px;
    border: 2px solid #A99939;
    background-color: #fff; }
  .backtolist i {
    font-size: 1.4em; }

#class-nav .column,
#subjects .column,
#kentei-nav .column {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem; }
#class-nav a,
#subjects a,
#kentei-nav a {
  text-align: center;
  display: block;
  padding: 12px 10px 10px;
  background-color: #4DA6FF;
  color: white;
  transition: opacity .5s; }
  #class-nav a:hover,
  #subjects a:hover,
  #kentei-nav a:hover {
    opacity: .7; }
  #class-nav a[class*='hs'],
  #subjects a[class*='hs'],
  #kentei-nav a[class*='hs'] {
    background-color: #00B1B3; }
  #class-nav a[class*='jh'],
  #subjects a[class*='jh'],
  #kentei-nav a[class*='jh'] {
    background-color: #ED7389; }
  #class-nav a.new-student,
  #subjects a.new-student,
  #kentei-nav a.new-student {
    color: black;
    background-color: #FFD700; }

#kentei-nav a {
  background-color: darkorange; }

#class-nav .page-header {
  margin-bottom: 1.5em; }

#inqury-content {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto; }
  #inqury-content .form-notice,
  #inqury-content .form-notice-preview {
    font-size: 0.8em;
    border: 1px solid #999;
    margin-bottom: 2em;
    padding: 10px 15px;
    background-color: #fff; }
  #inqury-content table {
    width: 100%; }
    #inqury-content table tr:nth-child(even) {
      background-color: #eee; }
    #inqury-content table th {
      font-size: 0.9em; }
    #inqury-content table td, #inqury-content table th {
      padding: 10px; }
    @media screen and (max-width: 769px) {
      #inqury-content table td, #inqury-content table th {
        display: block; }
      #inqury-content table th {
        border-bottom: none;
        padding-bottom: 0; } }
  #inqury-content .material-icons {
    color: red;
    vertical-align: text-top;
    font-size: 1.2em; }
  #inqury-content svg {
    color: red; }
  #inqury-content .policy {
    display: none;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 20px;
    font-size: 0.9em;
    margin-bottom: 2em; }
    #inqury-content .policy h4 {
      border-bottom: 1px solid #0F3675;
      margin-bottom: 1em; }
    #inqury-content .policy p {
      margin-bottom: 1em; }
  #inqury-content .mw_wp_form_preview .form-notice {
    display: none; }
  #inqury-content .form-notice-preview {
    display: none; }
  #inqury-content .mw_wp_form_preview .form-notice-preview {
    display: block; }
  #inqury-content .mw_wp_form_preview .policy {
    display: block; }
  #inqury-content input,
  #inqury-content textarea,
  #inqury-content select,
  #inqury-content button {
    border-radius: 5px;
    border: 1px solid #999;
    padding: 5px; }
  #inqury-content input[type="submit"] {
    background: #0F3675;
    color: white;
    padding: 10px 15px;
    border-radius: 0px; }
  #inqury-content button[type="submit"] {
    background: #eee;
    padding: 10px 15px;
    border-radius: 0px; }
  #inqury-content th {
    white-space: nowrap; }
  @media screen and (max-width: 769px) {
    #inqury-content input,
    #inqury-content textarea,
    #inqury-content select,
    #inqury-content button {
      width: 100%; } }

@media screen and (min-width: 769px), print {
  .column.is-one-sixth, .column.is-one-sixth-tablet {
    flex: none;
    width: 16.666%; }

  .column.is-one-seventh, .column.is-one-seventh-tablet {
    flex: none;
    width: 14.2857%; } }
.single .postmeta {
  margin-bottom: 1em; }
.single .postbody {
  border: 1px solid #ddd;
  padding: 1.5em;
  line-height: 1.8;
  background-color: white; }
  .single .postbody p {
    margin-bottom: 1em; }
  .single .postbody img {
    max-width: 100%;
    height: auto;
    margin-bottom: 1em; }
  .single .postbody td {
    padding: 10px; }

.dlfile {
  padding: 1em 0; }
  .dlfile a {
    text-align: center;
    display: inline-block;
    padding: 10px 20px;
    background-color: #0F3675;
    color: white;
    transition: opacity .5s;
    margin: 0 10px 10px 0; }
    .dlfile a:hover {
      opacity: .7; }

h2.archive-title {
  margin-bottom: 10px;
  font-size: 0.7em;
  border-bottom: 1px dotted #999;
  padding-bottom: 5px; }

.category-nav li {
  text-align: center;
  margin-bottom: 5px;
  font-size: 0.8em; }
  .category-nav li a {
    color: black;
    display: block;
    padding: 5px;
    background-color: #EAE8C3; }

.youtube {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  margin-bottom: 1em; }
  .youtube iframe {
    position: absolute;
    top: 0;
    right: 0;
    width: 100% !important;
    height: 100% !important; }

#timetable table {
  border-collapse: collapse;
  background-color: #fff;
  width: 100%;
  table-layout: fixed; }
  @media screen and (max-width: 769px) {
    #timetable table {
      font-size: 0.8em; } }
#timetable td, #timetable th {
  padding: 5px;
  text-align: center;
  border: 1px solid #999; }
#timetable td {
  padding: 10px 5px; }
  @media screen and (max-width: 769px) {
    #timetable td {
      padding: 5px 2px; } }
#timetable.jh th {
  background-color: rgba(237, 115, 137, 0.5); }
#timetable.hs th {
  background-color: rgba(0, 177, 179, 0.5); }
