@charset "UTF-8";

* {}
@media only screen and (max-width: 767px){
  * {
    max-width: 100%;
     -webkit-box-sizing: border-box;
    box-sizing         : border-box;
  }
  body {
    font-size: 1.6rem;
  }
  #wrap {
    width: 100%;
    margin: 0 auto;
    background-image: none;
  }
  #obi {
    display: none
  }
  #content {
    padding: 0 10px;

  }
  .about-web .about-web-inner dl {
    display: block;
    width: 100%;
  }

  /* gnav */
  html #wpadminbar {
    position: fixed;
  }
  body.admin-bar.drawer--right .drawer-hamburger ,
  body.admin-bar.drawer--right.drawer-open .drawer-nav ,
  body.admin-bar.drawer--right.drawer-open .drawer-navbar .drawer-hamburger {
    top: 39px;
  }
  .drawer--right .drawer-hamburger ,
  .drawer--right.drawer-open .drawer-nav ,
  .drawer--right.drawer-open .drawer-navbar .drawer-hamburger {
    right: auto;
    left: 0;
  }
  .drawer--right #gnavi.drawer-nav {
    right: 100%;
    -webkit-transition: right .6s cubic-bezier(.19,1,.22,1);
    transition        : right .6s cubic-bezier(.19,1,.22,1);
  }
  .drawer--right.drawer-open #gnavi.drawer-nav {
    right: 0;
    -webkit-transition: right .6s cubic-bezier(.19,1,.22,1);
    transition        : right .6s cubic-bezier(.19,1,.22,1);
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }
  body.admin-bar.drawer--right #gnavi.drawer-nav {
    padding-top: 86px;
    overflow-y: auto;
  }
  #gnavi.drawer-nav > *:nth-last-child(1) {
    padding-bottom: 100px;
  }
  #gnavi.drawer-nav {
    position: fixed;
    z-index: 2;
    top: 0;
    overflow: hidden;
    width: 100%;
    height: 100%;
    float: none;
    color: #222;
    background-color: #fff;
    padding: 20px 40px;
    text-align: center;
  }
  #header .globalmenu li ,
  #gnavi.drawer-nav #top {
    display: none;
  }
  #gnavi .login-after dt {
    text-align: left;
    padding-left: 1em;
  }
  #gnavi .login-after ul {
    width: 100%;
  }
  #gnavi .login-after li {
    padding: 0.4em 0;
    background-image: none;
  }
  #gnavi .login-after li a {
    text-decoration: none !important;
  }
  #gnavi .login-after .btn {
    width: 100%;
    margin: 0;
    padding: 10px 0 20px 0;
    text-align: center;
  }
  #gnavi .login ,
  #gnavi .login dl ,
  #gnavi .login dt ,
  #gnavi .login dd {
    width: 100%;
    text-align: left;
  }
  #gnavi .login h2 img {
    width: 100%;
  }
  #gnavi .login dd input[type="text"] ,
  #gnavi .login dd input[type="password"] {
    width: 100%;
    line-height: 1;
    padding: 5px 3px;
  }
  #gnavi .login .btn {
    width: 100%;
    margin: 10px auto;
    text-align: center;
  }
  #gnavi .login ul {
    width: 100%;
    padding: 0 10px;
  }
  #header .globalmenu {
    background-image: url('../images/common/sp/main.jpg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    padding-top: 28.571428571428571%;
    margin-top: 43px;
  }
  .menu-item a .menu-image-title {
    display: block !important;
  }
  .menu-item {
    margin-bottom: 0.4em;
    border-bottom: 1px solid #aaa;
    padding-bottom: 0.4em;
  }
  .menu-item a img {
    display: none;
  }

  /* #content > .rightbox */
  #content .rightbox {
    width: 100%;
    float: none;
    margin-top: 25px;
  }
  #content .group {
    background-image: none;
    padding: 0 0 10px 0;
    margin: 0 0 30px 0;
  }
  #content .group > ul {
    display: block;
    width: 100%;
    background-color: #3a8a27;
    margin: 0;
    padding: 1em 1.5em;
  }

  /* rightBox */
  #footer .subnavi {
    margin: -10px 0 30px 0;
  }
  #content .subnavi a {
    color: #000;
    text-decoration: underline;
  }
  #content .subnavi li {
    margin: 0 0 5px 0;
  }
  #content .subnavi li.ar {
    margin-bottom: 20px;
  }

  /* footer */
  #footer {
    text-align: right;
    padding: 0 10px;
  }
  #footer .copyright {
    color: #3B8A28;
    display: inline-block !important;
    vertical-align: bottom;
  }
  #footer .pagetop {
    display: inline-block;
    vertical-align: bottom;
  }
  #footer .pagetop a {
    background-color: #3B8A28;
    color: #fff;
    text-align: center;
    display: inline-block;
    vertical-align: bottom;
    padding: 0.2em 0.6em;
    margin-left: 1em;
    font-size: 80%;
  }
  #footer .pagetop a:before {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0.7em 1em 0.7em;
    border-color: transparent transparent #fff transparent;
    line-height: 1;
  }
  #footer .pagetop a:after {
    content: 'TOP';
    display: block;
    line-height: 1;
  }
  #footer .pagetop a img {
    display: none;
  }

  /* top */
  #content .leftbox {
    width: 100%;
    float: none;
  }
  #content h2 ,
  #content .group h2 ,
  #content .leftbox .whatsnew h2 {
    margin-bottom: 0.4em;
    color: #6aa65c;
    color: #6aa65c !important;
    line-height: 1;
    font-weight: 100;
    font-size: 1.8rem;
    margin-top: 20px;
  }
  #content h2 > span ,
  #content h2[data-before]:before {
    content: attr(data-before);
    display: inline-block;
    border-bottom: 1px solid #6aa65c;
    padding-bottom: 0.2em;
  }
  #content h2 > span.en {
    border: none;
  }
  #content .leftbox .whatsnew h2 img {
    width: 0;
    height: 0;
    overflow: hidden;
  }
  #content h2 img {
    width: 0;
    height: 0;
    overflow: hidden;
  }
  #content h2 img:before {
    content: attr(alt);
  }
  #content .leftbox .article {
    border: 1px solid;
    padding: 1em;
  }
  #content .leftbox .article dl {
    margin: 0 0 1.5em 0;
    padding: 0 0 1.5em 0;
  }
  #content .leftbox .article dt {
    float: none;
    width: auto;
  }
  #content .leftbox .article dd {
    float: none;
    width: 100%;
    padding: 0;
  }
  .about-web .about-web-inner {
    width: 100%;
  }
  .about-web .about-web-inner dt {
    width: auto;
    max-width: none;
  }
  .about-web .about-web-inner dt span {
    padding-top: 5px;
  }
  #content .bnr-area .flex.space-between .col {
    width: 48%;
  }
  #content .bnr-area .flex.space-between .col a ,
  #content .bnr-area .flex.space-between .col img {
    width: 100%;
    height: auto;
    display: block;
  }

  /* お問い合わせ */
  div#mailform table td ,
  div#mailform table th ,
  div#mailform table tr ,
  div#mailform table tbody ,
  div#mailform table {
    display: block;
    background-color: #fff;
    width: 100% !important;
  }
  div#mailform table th {
    background: #fff;
    border-right: none;
    border-bottom: solid 2px #3B8A28;
  }
  div#mailform table tr + tr {
    margin-top: 1em;
  }
  div#mailform table textarea ,
  div#mailform table input {
    width: 100%;
    font-size: 1.6rem;
    margin: 0.4em 0;
    border: 1px solid #aaa;
  }

  /* アーカイブ */
  div.infobox table td ,
  div.infobox table th ,
  div.infobox table tr ,
  div.infobox table tbody ,
  div.infobox table {
    display: block;
    background-color: #fff;
    width: 100% !important;
  }
  div.infobox table tr {
    letter-spacing: -0.4em;
  }
  div.infobox table tr > * {
    letter-spacing: normal;
  }
  div.infobox table th {
    display: inline-block;
    width: 50% !important;
    display: none;
  }
  div.infobox table tr:first-child {
    display: none;
  }
  div.infobox table td:first-child {
    text-align: left;
  }
  div.infobox table td:first-child:before {
    content: '日付：';
  }
  div.infobox table tr:nth-child(n + 3) {
    margin-top: 0.5em;
    border-top: 1px solid #aaa;
    padding-top: 0.5em;
  }

  /* スケジュール */
  div.infobox table.shedule_list td:first-child:before {
    content: '';
  }
  div.infobox table.shedule_list td:nth-child(1) ,
  div.infobox table.shedule_list td:nth-child(2) {
    display: inline-block;
    width: auto !important;
  }
  div.infobox table.shedule_list td:nth-child(3) {
    padding-left: 1em;
  }
  div.infobox table.shedule_list td:nth-child(3) p + p {
    margin-top: 0.8em;
  }

  /* その他 */
  p.img_r img ,
  p.img_l img {
    float: none;
    display: block;
    margin: 0 auto 20px;
  }
  p.img_r img + br ,
  p.img_l img + br {
    display: none;
  }
  div.column2_bg ,
  div.column2 {
    width: 100%;
    margin-bottom: 20px;
    overflow: hidden;
  }
  div.column2_bg > * ,
  div.column2 > * {
    width: 100%;
  }
  div.column2_bg > * + * ,
  div.column2 > * + * {
    margin-top: 20px;
  }
  div.school_song_l ul li {
    display: block;
    width: 100%;
    padding-bottom: 10px;
    float: none;
    clear: both;
  }
  div.school_song_l ul li:nth-child(even) {
    float: right !important;
    width: auto;
  }
  div.school_song_r {
    width: 240px;
    float: none;
    clear: both;
    padding-top: 20px;
    margin: 0 auto 0;
  }
  
  div#olivemap_l ul li.left {
    width: 50%;
    float: left;
    font-size: 90%;
  }
  div#olivemap_l ul li.right {
    width: 50%;
    float: right;
    font-size: 90%;
  }
  p#olivemap_r {
    padding-top: 20px;
    clear: both;
    width: 100%;
    float: none;
    text-align: center;
  }
}


































