@charset "utf-8";

/*
 * "Fredericka" is lisenced under the SIL Open Font License 1.1
 * http://fonts.googleapis.com
 * https://www.google.com/fonts/attribution
 * http://scripts.sil.org/OFL
 */

/* *****共通設定***** */

a {
  color: #696969;
}

a:hover {
  color: #a9a9a9;
}

.bg-primary,
.btn-primary {
  background-color: #00008b !important;
}

.border-primary {
  border-color: #00008b !important;
}

.bg-maincolor {
  background-color: #f0f8ff !important;
}

.btn-warning:hover {
  color: #212529;
  background-color: #ffa500;
  border-color: #ffa500;
}

.bg-yl-color {
  background-color: #fffaf0 !important;
}

.text-shadow {
  text-shadow: 1px 1px 3px #000;
}

.font-patrick {
  font-family: 'Fredericka the Great', cursive;
}

.top-page > .sec1 > .container > .row > .col-md-3 > .w-50{
  width:100% !important;
  height:50%
}

.top-page > .sec3 > .container > .row > .col-md-3 > .w-50,
.staff > .index3 > .sec1 > .container > .row > .col-md-3 > .mb-3,
.staff > .index3 > .sec2 > .container > .row > .col-md-3 > .mb-3,
.staff > .index3 > .sec3 > .container > .row > .col-md-3 > .mb-3,
.staff > .index3 > .sec4 > .container > .row > .col-md-3 > .mb-3,
.staff > .index3 > .sec5 > .container > .row > .col-md-3 > .mb-3
{
  width:100% !important;
  height:70%;
  text-align: center;
}

.staff > .index3 > .sec1 > .container > .py-3,
.staff > .index3 > .sec2 > .container > .py-3,
.staff > .index3 > .sec3 > .container > .py-3,
.staff > .index3 > .sec4 > .container > .py-3,
.staff > .index3 > .sec5 > .container > .py-3
{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around; 
  /* grid-template-columns: repeat(4, 1fr); */
  gap:10%;
  padding-left: 10%;
  padding-right: 10%;
  height: 20%;
}

.staff > .index3 > .sec1 > .py-3 > .display-5,
.staff > .index3 > .sec1 > .container > .py-3 > .col-md-3,
.staff > .index3 > .sec2 > .py-3 > .display-5,
.staff > .index3 > .sec2 > .container > .py-3 > .col-md-3,
.staff > .index3 > .sec3 > .py-3 > .display-5,
.staff > .index3 > .sec3 > .container > .py-3 > .col-md-3,
.staff > .index3 > .sec4 > .py-3 > .display-5,
.staff > .index3 > .sec4 > .container > .py-3 > .col-md-3,
.staff > .index3 > .sec5 > .py-3 > .display-5,
.staff > .index3 > .sec5 > .container > .py-3 > .col-md-3
{
    width: 100%;
    text-align: center;
    padding-left: 0%;
    padding-right: 0%;
}

.top-page > .sec1 > .container > .row > .col-md-3 > .detail
{
  word-break: break-all;
  margin-bottom: 5%;
}

.text-center{
  word-break: keep-all;
}

.col-md-3,
.pb-5
{
  text-align: center;
}

.col-lg-6,
.col-lg-6 > .text-center,
.py-5 > .col-lg-6 {
  max-width:100%;
}

.col-lg-6 > .text-center,
.py-5 > .col-lg-6 > .text-center{
  margin-left: 20%;
  margin-right: 20%;
}

.p1,
.small.mb-3{
  word-break:break-word;
}

section.py-5.border-bottom{
  margin-left:15%;
  margin-right:15%;
  word-break:keep-all;
}

.pic-1{
  margin-top:10%;
}

.pic-2{
  margin-top:5%;
}

.col-lg-2.col-md-4.col-12.mb-5{
  max-width:20%;
  padding-right: 0px;
}

ul{
  list-style: none;
}

.no-gutters {
  height:100%;
}
.col-md-3 mb-5 > img {
  width:45%;
  height:auto;
}

.container > .lead > .row > .mb-3{
  margin-bottom: 0% !important;
}

.contact > .py-5 > .py-5 > .container > .row > .col-md-4 > .line-group > .line{
  padding-bottom:8%;
}

img.inst{
  padding-bottom:2.5%;
}

/* ヘッダー(navbar) */
#nav01 {
  border-bottom: 3px solid #00008b;
}

#nav02 .nav-fill {
  width: 100%;
}

#nav02 .nav-item {
  border-left: 1px solid #dee2e6;
}

#nav02 .last-list-md {
  border-right: 1px solid #dee2e6;
}

/* フッター */
#footer-sns img {
  height: 58px;
  width: auto;
  margin-right: 25px;
}

#footer-index ul ul {
  padding-left: 0.75rem;
  border-left: 1px solid #6c757d;
}

/* *****トップページ***** */
.jumbotron {
  background-image: url("../img/top2.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position-x: center;
}

/* *****下層ページ***** */
.breadcrumb-item + .breadcrumb-item:before {
  content: "\f054";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: small;
  color: #fff;
}

#page .jumbotron {
  background: #f1efff url("../img/背景.png") no-repeat center center;
  background-size: cover;
  border-radius: initial;
}

/* --------------------------------------------------

 レスポンシブ

--------------------------------------------------　*/

@media (max-width: 991.98px) {
  /* md タブレット・スマートフォン向け */

  #nav02 .nav-item {
    border-left: none;
    border-right: none;
    border-bottom: 1px solid #dee2e6;
    letter-spacing: 0.25rem;
  }

  .col-md-3 > img {
    width: 50%;
    height: 75%;
  }

  .col-md-3.mb-5 > img.rounded-circle{
    width:50% !important;
    height:50%;
  }

  .jumbotron {
    max-width: 100%;
  }

  .mr-4, .mx-4{
    margin-right: 0rem !important;
  }

  .mb-0, .my-0 {
      margin-top: 5%;
  }

  .col-md-3.mb-5 > h3.title.text-center{
    font-size: 1.75rem;
  }

  .col-md-3.mb-5 > .detail.text-center{
    font-size: 1.00rem;
  }

  .text-center > .p1{
    font-size: 0.9rem;
  }

  .index3 > .py-5.border-bottom{
    margin-left:10%;
    margin-right:10%;
    word-break:keep-all;
  }

  .top-page > .sec1 > .container > .row{
    display: flex;
    flex-wrap: wrap;
    height: 20%;
  }

  .top-page > .sec1 > .container > .row > .col-md-3
  {
    margin-top: 5%;
    word-break: break-all;
    margin-left: 5%;
    margin-right: 3%;
    padding-left: 0%;
    padding-right: 0%;
  }

  .top-page > .sec1 > .container > .row > .col-md-3 > .detail
  {
    word-break: break-all;
    margin-bottom: 1%;
  }

  .top-page > .sec1 > .container > .row > .col-md-3 > .text-center > .btn {
    margin-top: 5%;
  }

  .staff > .index3 > .sec1 > .container > .py-3 > .col-md-3 > img.img-thumbnail,
  .staff > .index3 > .sec2 > .container > .py-3 > .col-md-3 > img.img-thumbnail,
  .staff > .index3 > .sec3 > .container > .py-3 > .col-md-3 > img.img-thumbnail,
  .staff > .index3 > .sec4 > .container > .py-3 > .col-md-3 > img.img-thumbnail,
  .staff > .index3 > .sec5 > .container > .py-3 > .col-md-3 > img.img-thumbnail
  {
    width: 100%;
    height: 75%;
    padding-bottom: 15%;
  }

  .contact > .py-5 > .py-5 > .container > .row > .col-md-4 > .line-group > .card-body{
    padding-bottom:40%;
  }

  .contact > .py-5 > .py-5 > .container > .row > .col-md-4 > .insta-group > .card-body{
    padding-bottom:25%;
  }

  .staff > .index3 > .sec1 > .container,
  .staff > .index3 > .sec1 > .container > .py-3,
  .staff > .index3 > .sec2 > .container,
  .staff > .index3 > .sec2 > .container > .py-3,
  .staff > .index3 > .sec3 > .container,
  .staff > .index3 > .sec3 > .container > .py-3,
  .staff > .index3 > .sec4 > .container,
  .staff > .index3 > .sec4 > .container > .py-3,
  .staff > .index3 > .sec5 > .container,
  .staff > .index3 > .sec5 > .container > .py-3
  {
    max-width:100%;
    padding-left: 3%;
    padding-right: 3%;
  }

  @media (max-width: 575.98px) {
    /* xs スマートフォン向け */

    /* フッター */
    #footer-sns img {
      height: 29px;
      margin-right: 15px;
    }

    section.py-5.border-bottom{
      margin-left:5%;
      margin-right:5%;
      word-break:break-word;
    }

    ul.text-center{
      padding-left:0%;
    }

    .col-md-3.mb-5 > img {
      width:50% !important;
      height:75%;
    }

    .col-md-3.mb-5 > img.rounded-circle{
      width:70% !important;
      height:50%;
    }

    .col-md-3.mb-5 > .title.text-center{
      font-size: 1.2rem;
    }

    .text-center > .p1{
      font-size: 0.9rem;
    }

    .container > .lead > .row > .mb-3{
      margin-bottom: 0% !important;
    }

    .col-md-3 > img.img-thumbnail{
      width:100% !important;
      height:80% !important;
    }

    .index3 > .py-5.border-bottom{
      margin-left:10%;
      margin-right:10%;
      word-break:keep-all;
    }

    .top-page > .sec1 > .container > .row > .col-md-3 > .w-50{
      width:70% !important;
      height:50%
    }

    .top-page > .sec3 > .container > .row > .col-md-3 > .w-50,
    .staff > .index3 > .sec1 > .container > .row > .col-md-3 > .mb-3,
    .staff > .index3 > .sec2 > .container > .row > .col-md-3 > .mb-3,
    .staff > .index3 > .sec3 > .container > .row > .col-md-3 > .mb-3,
    .staff > .index3 > .sec4 > .container > .row > .col-md-3 > .mb-3,
    .staff > .index3 > .sec5 > .container > .row > .col-md-3 > .mb-3
    {
      width:100% !important;
      height:90%;
      text-align: center;
    }

    .text-center{
      word-break: break-all;
    }

    .staff > .index3 > .sec1 > .container,
    .staff > .index3 > .sec2 > .container,
    .staff > .index3 > .sec3 > .container,
    .staff > .index3 > .sec4 > .container,
    .staff > .index3 > .sec5 > .container
    {
      margin-left: 0%;
    }

    .staff > .index3 > .sec1 > .py-3 > .display-5,
    .staff > .index3 > .sec1 > .container > .py-3 > .col-md-3,
    .staff > .index3 > .sec2 > .py-3 > .display-5,
    .staff > .index3 > .sec2 > .container > .py-3 > .col-md-3,
    .staff > .index3 > .sec3 > .py-3 > .display-5,
    .staff > .index3 > .sec3 > .container > .py-3 > .col-md-3,
    .staff > .index3 > .sec4 > .py-3 > .display-5,
    .staff > .index3 > .sec4 > .container > .py-3 > .col-md-3,
    .staff > .index3 > .sec5 > .py-3 > .display-5,
    .staff > .index3 > .sec5 > .container > .py-3 > .col-md-3
    {
        width: 100%;
        text-align: center;
        padding-left: 0%;
        padding-right: 0%;
        padding-bottom: 10%;
    }
  }
}