@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
 */

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

html {
  overflow-y: scroll;
}

img {
  max-width:100%;
  height: auto;/*高さ自動*/
}

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;
}

/* ヘッダー(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;
}

/* 見出し */
.contents_title {
  font-size: 30px;
  text-align:center; 
  border-top: 3px double #53727d;
  border-bottom: 3px double #53727d;
  padding: 7px;
}

/* ボックス */
.box_01 {
  font-size: 23px;
  text-align:center; 
  border: solid 1px #53727d;
  background: #eaf5f9;
  margin: 20px auto;
  padding: 1em;
  width: 80%;
}

.box_02 {
  font-size: 20px;
  border: solid 1px #53727d;
  background: #eaf5f9;
  margin: 20px auto;
  padding: 1em;
  width: 80%;
}

/* ページTOPに戻る */
.pagetop{
  display: none;
  position: fixed;
  right: 18px;
  bottom: 25px;
}
.pagetop a{
  display: block;
  font-size: 0;
  width: 50px;
  height: 50px;
  text-align: center;
  background: #7db4e6;
  border-radius: 50%;
  line-height: 50px;
}
.pagetop a i{
  font-size: 20px;
  color:#fff;
  line-height: 50px;
}

/* pタグ装飾 */
.p_box {
  padding: 0 0 1em;
}

/* tdタグ背景色 */
td.intleft {
/* background-color: #ffff99; */
  background-color: #eaf5f9;
}

td.intright {
/* background-color: #ffff99; */
  background-color: #eaf5f9;
}

/* フッターメニュー */
.footer-menu {
  color: #808080;
  background: #fff;
  text-align: center;
  padding: 0 5px 15px;
}

.footer-menu a {
  color: #808080;
  text-decoration: none;
}

.footer-menu a:hover {
  text-decoration: underline;
}

.footer-menu .menu {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-menu .menu li {
  margin: 0;
  padding: 5px 15px;
  border-right: 1px #808080 solid;
}

.footer-menu .menu li:last-child {
  border: none;
}

/* 本文 */
.explanation {
  width: 85%;
  margin: 20px auto;
}

.explanation2 {
  width: 95%;
  margin: 20px auto;
}

/* フッター */
#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/top-image.jpg");
  background-repeat: no-repeat;
  background-size: cover;
}

/* *****下層ページ***** */
.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/subpage-headding.jpg") no-repeat center center;
  background-size: cover;
  border-radius: initial;
}

.sma_img{
  width: 70%;
}

/* PCでは無効（改行しない）*/
.sma{
  display: none;
}

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

 レスポンシブ

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

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

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

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

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

    /* フッターメニュー */
    .footer-menu .menu {
     justify-content: flex-start;
    }
    .footer-menu .menu li {
     width: 50%;
     box-sizing: border-box;
     border: none;
    }
    .footer-menu .menu li:nth-child(odd) {
     border-right: 1px #808080 solid;
    }

    /* スマートフォンでは有効（改行する）*/
    .sma{
     display: block;
    }

    .sma_img{
     width: 100%;
    }

  }
}
