@charset "utf-8";
/* -------------------------------------
     sp CSS
 (c) Copyright 2020 Sketches of Design
     version 2020-12-26
------------------------------------- */

/* 1280
--------------------------------------*/
@media screen and (max-width: 1280px) {


  body#contact-idx #contactarea{
    width: 100%;
  }

}
/*  1024
--------------------------------------*/
@media screen and (max-width: 1024px) {

  body#home #menu .trouble,
  #news .clock,
  body#home aside{
    display: none;
  }
  header .sns{
    display: block;
  }
  body {
    overflow: auto;
  }
  aside,
  main,
  #news {
    height: auto;
    overflow: visible;
    position: static;
  }
  aside{
    position: relative;
  }
  .aside-scroll-down {
    display: none;
  }
  #news .contact{
    position: static;
  }

  #wrapper{
  flex-direction: column;

  }
  
main {
  order: 1;
}
aside{
  order: 3;
}
#news {
  order: 4;
}
footer{
  margin-top: 40px;
  order: 2;
}

  /**/
  h1{
    font-size: 3.6rem;
  }
  #newsarea h2,
  h2{
    font-size: 2.0rem;
  }
  #pagenation p,
  h3{
    font-size: 1.6rem;
  }
  body#home #menu p{
    font-size: 1.9rem;
  }
  body#home #menu .trouble p{
    font-size: 2.2rem;
  }
  header .sns .lesson a,
  aside,
  #newsarea p,
  h4,
  #note p,
  #news .contact .balloon{
    font-size: 1.3rem;
  }
  #news{
    border: none;
    padding: 0 5%;
  }
  #news .slider-wrap{
    margin: 0 auto;
    max-width: 400px;
  }
  #news .contact{
    margin-top: 30px;
    padding-right: 0;
    justify-content: flex-end;
  }
  #news .contact img {
    flex: none;
    width: 100px;
  }
  #news .contact a{
    flex: none;
  }

  header,
  footer{
    position: static;
    width: 100%;
  }
  #b-logo{
    width: 100%;
  }
  body#home #c-logo,
  #c-logo{
    margin: 0;
    padding: 0;
    max-width: 100%;
    text-align: left;
  }
  #c-logo{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }
  #c-logo img{
    vertical-align: top;
    display: block;
  }
  #c-logo a{
    pointer-events: auto;
  }
  header .inner{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    margin: 0 5%;
    padding: 30px 0 10px 0 !important;
  }
  body:not(#home) header #b-logo img{
    height: auto;
  }
  header .sns,
  header .sns li{
    margin: 0;
    padding: 0;
    list-style: none;
  }
  header .sns{
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    margin: 20px 0;
  }
  header .sns li{
    margin: 0 0 0 10px;
  }
  header .sns li img{
    margin: 0;
  }
  header .sns .lesson{
  }
  header .sns .lesson a{
    background: #6cb741;
    padding: 0 10px;
    box-shadow: 1px 1px 0 1px rgba(0, 0, 0, 1);
    text-decoration: none;
    color: #fff;
    line-height: 24px;
  }
  body:not(#home) header{
    height: auto;
  }
  aside{
    margin: 20px 0;
    padding: 0;
  }
  #pagenation{
    margin: 0;
    padding: 20px 5%;
  }
  #aside-inner nav li a{
    padding: 15px;
  }

  body#contact-idx #link .qr{
    width: 50px;
    height: 50px;
  }
  body#contact-idx #contactarea p{
    font-size: 1.6rem;
  }
  body#contact-idx #tel em {
    font-size: 2.6rem;
  }
  body#contact-idx #link li{
    width: 100%;
  }
  body#contact-idx #link a{
    pointer-events: auto;
  }
  body#contact-idx #tel a[href*="tel:"] {
    pointer-events: auto;
    cursor: pointer;
  }


}

/*  960
--------------------------------------*/
@media screen and (max-width: 960px) {





}
/*  768
--------------------------------------*/
@media screen and (max-width: 768px) {

h1{
  font-size: 3.0rem;
}

/**/
  body#contact-idx #tel p,
  body#contact-idx #tel h2{
    width: 100%;
  }
  body#contact-idx #tel br{
    display: block;
  }

body.event #content .entry-content p.pic,
body.event #content .entry-content .text,
#content .col2 > div > :first-child{
  margin-right: 0;
  width: 100%;
}
body.event #content .entry-content p.pic{
  margin-bottom: 20px;
}


}
/*  667
--------------------------------------*/
@media screen and (max-width: 667px) {

  body#contact-idx #contactarea #robo{
    width: 70px;
  }
  body#contact-idx .balloon{
    margin: 0 0 10px auto;
    width: calc(100% - 90px);
  }
  body#contact-idx #link .qr{
    display: none;
  }



}
/*  480
--------------------------------------*/
@media screen and (max-width: 480px) {

  body#home #menu{
    gap: 20px;
  }
  body#home #menu div:not(.trouble){
    width: calc(50% - 10px);
  }
  body#home #menu p {
    font-size: 1.6rem;
  }
  body#home #menu a{
    padding: 10px;
  }
  body#contact-idx #contactarea p {
    font-size: 1.4rem;
  }
  body#contact-idx .balloon{
    padding: 10px;
  }
  body#contact-idx #link li {
    margin: 0 0 10px 0;
  }
  body#contact-idx #tel h2{
    margin: 0 0 10px 0;
    background-size: 20px;
    padding: 0 0 0 30px;
    font-size: 2.0rem;
  }
  body.trouble #trouble-list::after{
    display: none;
  }
  body.trouble #trouble-list li{
    margin-bottom: 20px;
    width: calc(50% - 15px);
  }


}


/*  375
--------------------------------------*/
@media screen and (max-width: 375px) {

  body#contact-idx #link .title{
    width: 100%;
  }
  body#contact-idx #link .qr{
    margin: 10px auto 0 auto;
  }
  body#contact-idx #tel em {
    font-size: 1.9rem;
  }

}
