/* /////////////////////////////////////////////////////////////////////////////////////////////////////////


---  max-width1300


///////////////////////////////////////////////////////////////////////////////////////////////////////// */
@media screen and (max-width: 1300px) {

  /* 追従ボタン
----------------------------------------------------------------------------------------------- */
  .btn-stiky a {
    width: 130px;
    height: 130px;
  }

  .btn-stiky a p {
    font-size: 20px;
    font-size: 2rem;
  }

  .btn-stiky a p::before {
    height: 35px;
    margin: 0 0 5px;
  }

  .btn-stiky a p span {
    font-size: 14px;
    font-size: 1.4rem;
  }


  /*==============================================================================================

    TOP

===============================================================================================*/
  /* background
----------------------------------------------------------------------------------------------- */

  .background-wrap {
    padding: 0 140px;
  }

  .background-inner p {
    margin: 0 0 60px;
  }

  .background-inner h2 {
    font-size: 2rem;
  }
}










/* /////////////////////////////////////////////////////////////////////////////////////////////////////////


---  max-width1200


///////////////////////////////////////////////////////////////////////////////////////////////////////// */
@media screen and (max-width: 1200px) {

  #page-top .container {
    max-width: 1000px;
  }

  /*==============================================================================================

    TOP

===============================================================================================*/
.title-b strong {
    font-size: 45px;
    font-size: 4.5rem;
}
  .top-thoughts .flex-block .right,
  .top-program .flex-block .left,
  .top-staff .flex-block .right,
  .top-facility .flex-block .left {
    margin: 40px 0 0 0;
  }


  /*
footer .inner .sche_link {
    left: 70%;
    position: absolute;
}
footer .inner .sche_link a img {
    width: 84%;
}
*/

}




/* /////////////////////////////////////////////////////////////////////////////////////////////////////////


--- max-width1024(タブレット)


///////////////////////////////////////////////////////////////////////////////////////////////////////// */
@media screen and (max-width: 1023px) {


  /*==============================================================================================

    TOP

===============================================================================================*/
.title-b strong{
  font-size: 45px;
  font-size: 4.5rem;
}
  /* background
----------------------------------------------------------------------------------------------- */
  #background {
    padding-top: calc(100% * 450 / 768);
    background-position: left -50px center;
  }

  .background-wrap {
    padding: 0 80px;
  }

  .background-inner p strong {
    font-size: 5.6rem;
  }

  .background-inner p span {
    font-size: 2.2rem;
  }


  /* info
----------------------------------------------------------------------------------------------- */
  .top-info .flex-block {
    flex-wrap: wrap;
    justify-content: center;
  }

  .top-info .flex-block .left,
  .top-info .flex-block .right {
    width: 100%;
  }

  .top-info .flex-block .right {
    margin: 60px 0 0;
  }

  footer .inner {
    display: block;
    /* justify-content: center; */
  }

  footer .name-block {
    padding: 20px 0;
    text-align: center;
    margin: 0;
  }

  footer .inner .sche_link {
    margin: 0 auto 20px;
    display: block;
    padding: 0;
  }

  /*
footer .inner .sche_link {
    left: 73%;
    bottom: 0%;
    top: 12%;
    position: absolute;
}
footer .inner .sche_link a img {
    width: 84%;
}
*/


}







/* /////////////////////////////////////////////////////////////////////////////////////////////////////////


--- max-width992(タブレット)


///////////////////////////////////////////////////////////////////////////////////////////////////////// */
@media only screen and (max-width: 991px) {

  /*==============================================================================================

    common

===============================================================================================*/

  #page-top section {
    padding: 30px 0;
  }

  #page-top section:first-of-type {
    padding: 40px 0 30px;
  }

  .title-b {
    margin: 0 auto 60px;
  }

  .btn {
    padding: 12px 40px 10px;
    font-size: 2rem;
  }

  /*==============================================================================================

    TOP

===============================================================================================*/
  .top-thoughts .flex-block,
  .top-program .flex-block,
  .top-staff .flex-block,
  .top-facility .flex-block {
    align-items: flex-start;
  }

  .top-thoughts .flex-block .left {
    width: 60%;
  }

  .top-thoughts .flex-block .right {
    width: 35%;
  }

  .top-program .flex-block .right,
  .top-staff .flex-block .left,
  .top-facility .flex-block .right {
    width: 51%;
  }

  .top-program .flex-block .left,
  .top-staff .flex-block .right,
  .top-facility .flex-block .left {
    width: 45%;
  }

  .top-thoughts .flex-block .left p,
  .top-program .flex-block .right p,
  .top-staff .flex-block .left p,
  .top-facility .flex-block .right p {
    margin: 0 0 30px;
    font-size: 1.6rem;
  }

  .top-facility .flex-block .right {
    margin: 0 0 40px;
  }

  .btn-contact {
    width: 100%;
    text-align: center;
  }
}











/* /////////////////////////////////////////////////////////////////////////////////////////////////////////


--- max-width768(スマホ)


///////////////////////////////////////////////////////////////////////////////////////////////////////// */
@media only screen and (max-width: 767px) {

  p {
    line-height: 2;
    font-size: 14px;
    font-size: 1.4rem;
  }

  [id^="page-"],
  [id^="news-"] {
    margin-top: -80px !important;
    padding-top: 80px !important;
  }

  /* flex
----------------------------------------------------------------------------------------------- */
  .flex-block {
    flex-wrap: wrap;
  }

  .flex-block .left,
  .flex-block .right {
    max-width: inherit;
  }

  /* common
----------------------------------------------------------------------------------------------- */

  .heading {
    font-size: 20px;
    font-size: 2rem;
  }

  .comment {
    margin: 0 0 40px;
  }

  /*title*/
  .title-n {
    margin: 0 auto 20px;
    font-size: 22px;
    font-size: 2.2rem;
  }

  .title-b {
    margin: 0 0 40px;
    font-size: 20px;
    font-size: 2rem;
  }

  .title-b::after {
    bottom: -23px;
    width: 80px;
  }

  .title-b strong {
    margin: 0 0 10px -2px;
    font-size: 40px;
    font-size: 4rem;
  }


  /*bg*/
  .bg_gray {
    padding: 40px 0 !important;
  }

  .bg_stripe {
    margin: 40px 0 0 !important;
    padding: 40px 0 !important;
  }


  /*btn*/
  .btn {
    padding: 15px 40px 13px;
    font-size: 16px;
    font-size: 1.6rem;
    font-weight: 600;
  }

  #page-top .btn {
    min-width: 60%;
    margin: 0 auto;
  }

  /* 各ページ背景*/
  #back {
    margin: 0 0 40px;
  }

  #back .back-inner {
    height: 60px;
  }

  #back .back-inner h2 {
    font-size: 1.8rem;
  }

  /*breadcrumb*/
  .breadcrumb {
    display: none;
  }

  /* 各ページsection
----------------------------------------------------------------------------------------------- */
  body:not(#page-top) section:first-of-type {
    margin: 0;
    padding: 0 0 40px;
  }

  body:not(#page-top) section {
    margin: 0;
    padding: 0px 0 40px;
  }

  #page-top section {
    padding: 30px 0;
  }

  #page-top section:first-of-type {
    padding: 40px 0 30px;
  }

  /* wrap
-------------------------------------------------------------------------------- */
  .wrap {
    padding: 0 15px 0;
  }


  /* 表示非表示切り替え設定
----------------------------------------------------------------------------------------------- */
  .pc-view {
    display: none;
  }

  .sp-tab-view,
  .sp-view {
    display: block !important;
  }


  /* #toTop設定
----------------------------------------------------------------------------------------------- */
  #toTop {
    right: 10px;
    bottom: 60px;
    width: 50px;
    height: 40px;
  }


  /* #nav
----------------------------------------------------------------------------------------------- */
  .navbar {
    height: 55px;
    padding: 5px;
  }

  .navbar-right {
    right: 5px;
  }

  .nav-btn li {
    margin: 0 0 0 5px;
  }

  .nav-btn li a {
    width: 45px;
    height: 45px;
  }

  .nav-btn li a img {
    width: 65%;
    height: auto;
  }

  /* .nav-btn .contact {
    display: none;
  } */

  /*----- nav menu -----*/
  .menu-trigger {
    top: 12px;
    width: 25px;
    height: 20px;
  }

  .menu-trigger span {
    height: 3px;
  }

  .menu-trigger span:nth-of-type(2) {
    top: 8px;
  }

  .nav-btn .menu a.active .menu-trigger span:nth-of-type(1) {
    transform: translateY(9px) rotate(-45deg);
  }

  .nav-btn .menu a.active .menu-trigger span:nth-of-type(3) {
    transform: translateY(-8px) rotate(45deg);
  }

  /*----- nav brand -----*/

  .navbar-header {
    width: 60%;
  }

  .navbar-brand .logo img {
    width: auto;
    max-width: inherit;
    height: 100%;
  }

  /* ドロワーメニュー
----------------------------------------------------------------------------------------------- */
  .drawer_menu {
    width: 100%;
    transform: translate(100%);
  }


  /* 追従ボタン
----------------------------------------------------------------------------------------------- */
  .btn-stiky {
    bottom: 0;
    justify-content: center;
    padding: 5px 5px 3px;
    margin: 40px 0 0;
  }

  .btn-stiky a {
    width: 100%;
    height: 45px;
    background-image: none;
    background-color: #8fb4cc;
    opacity: unset;
  }

  .btn-stiky a p {
    display: flex;
    align-items: center;
  }

  .btn-stiky a p::before {
    width: 40px;
    height: 30px;
    margin: 0 10px 0 0;
  }

  .btn-stiky a p span {
    flex-shrink: 0;
    margin: 0 0 0 10px;
  }

  /*==============================================================================================

    Foot

===============================================================================================*/
  /* sitemap_area
----------------------------------------------------------------------------------------------- */
  .sitemap_area {
    display: none;
  }



  /* footer
----------------------------------------------------------------------------------------------- */
  footer .name-block {
    padding: 20px 0;
  }




  /*==============================================================================================

    TOP

===============================================================================================*/

  /* background
----------------------------------------------------------------------------------------------- */
  #background {
    padding-top: 500px;
    background: url(../images/top/main_sp.jpg) no-repeat center;
    background-size: cover;
  }

  .background-wrap {
    align-items: center;
    padding: 0;
  }

  .background-inner p {
    margin: 0 0 40px;
  }

  .background-inner p span {
    margin: 30px 0 0;
  }

  /* thoughts
----------------------------------------------------------------------------------------------- */
  .top-thoughts .flex-block {
    margin: 0;
  }

  .top-thoughts .flex-block .left {
    width: 100%;
    margin: 0;
  }

  .top-thoughts .flex-block .left p {
    margin: 0 0 20px;
    font-size: 1.4rem;
  }

  .top-thoughts .flex-block .right {
    width: 100%;
    margin: 20px 0 0;
    z-index: -1;
  }


  /* program
----------------------------------------------------------------------------------------------- */
  .top-program .flex-block {
    margin: 0;
    flex-direction: column-reverse;
  }

  .top-program .flex-block .right p {
    margin: 0 0 20px;
    font-size: 1.4rem;
  }

  .top-program .flex-block .right .btn {
    margin: 0;
  }

  .top-program .flex-block .right {
    width: 100%;
  }

  .top-program .flex-block .left {
    width: 100%;
    margin: 20px 0 0;
    z-index: -1;
  }


  /* staff
----------------------------------------------------------------------------------------------- */
  .top-staff .flex-block {
    margin: 0;
  }

  .top-staff .flex-block .left {
    width: 100%;
    margin: 0;
  }

  .top-staff .flex-block .left p {
    margin: 0 0 20px;
    font-size: 1.4rem;
  }

  .top-staff .flex-block .right {
    width: 100%;
    margin: 20px 0 0;
    z-index: -1;
  }


  /* facility
----------------------------------------------------------------------------------------------- */
  .top-facility .flex-block {
    margin: 0;
    flex-direction: column-reverse;
  }

  .top-facility .flex-block .right {
    width: 100%;
    margin: 0;
  }

  .top-facility .flex-block .right .btn {
    margin: 0;
  }

  .top-facility .flex-block .right p {
    margin: 0 0 20px;
    font-size: 1.4rem;
  }

  .top-facility .flex-block .left {
    width: 100%;
    margin: 20px 0 0;
    z-index: -1;
  }

  .btn-contact {
    margin: 40px 0 0;
    text-align: center;
  }



  /* info
----------------------------------------------------------------------------------------------- */
  .top-info .title-b {
    margin: 0 0 20px;
  }

  .top-info .flex-block {
    margin: 0;
  }

  .top-info .flex-block .left,
  .top-info .flex-block .right {
    width: 100%;
  }

  .top-info .scrollbar {
    max-height: 60vh;
  }

  .top-info #news_block dl {
    padding: 10px 5px;
    font-size: 14px;
    font-size: 1.4rem;
  }

  .top-info #news_block dl dt,
  .top-info #news_block dl dd {
    display: block;
    width: 100%;
  }

  .top-info #news_block dl dd p {
    font-size: 14px;
    font-size: 1.4rem;
  }


  /* faq
----------------------------------------------------------------------------------------------- */
  #accordion .question {
    padding: 15px 40px 15px 45px;
  }

  #accordion .question:after {
    right: 12px;
    font-size: 16px;
    font-size: 1.6rem;
  }

  #accordion .question::before,
  #accordion .inner::before {
    left: 15px;
    font-size: 18px;
    font-size: 1.8rem;
  }

  #accordion .inner {
    padding: 15px 15px 15px 45px;

  }

  #accordion .inner p {
    font-size: 1.3rem;
  }

}














/* /////////////////////////////////////////////////////////////////////////////////////////////////////////


--- max-width650(スマホ)


///////////////////////////////////////////////////////////////////////////////////////////////////////// */
@media only screen and (max-width: 650px) {}


/* /////////////////////////////////////////////////////////////////////////////////////////////////////////


--- max-width425(スマホ)


///////////////////////////////////////////////////////////////////////////////////////////////////////// */
@media only screen and (max-width: 425px) {
  .navbar-brand .logo {
    max-width: 170px;
    height: auto;
  }

  .navbar-header {
    width: 55%;
    align-items: center;
  }

  .nav-btn li a {
    width: 42px;
    height: 42px;
  }




  /*==============================================================================================

    TOP

===============================================================================================*/
  /* background
----------------------------------------------------------------------------------------------- */
  #background {
    padding-top: calc(100% * 450 / 375);
  }

  .background-inner p strong {
    font-size: 5rem;
    font-size: 13.33vw;
  }

  .background-inner p span {
    font-size: 2.2rem;
    font-size: 5.866vw;
  }

  .background-inner h2 {
    font-size: 1.8rem;
    font-size: 4.8vw;
  }




}





/* /////////////////////////////////////////////////////////////////////////////////////////////////////////


--- max-width374(スマホ)


///////////////////////////////////////////////////////////////////////////////////////////////////////// */
@media only screen and (max-width: 374px) {
  .navbar-brand .logo img {
    height: 85%;
  }

  footer .sougo_link > ul{
    width: 100%;
    flex-direction: column;
  }
  footer .sougo_link > ul > li{
    margin-bottom: 20px;
  }
  footer .sougo_link > ul > li:last-of-type{
    margin-bottom: 0;
  }
}
