/* IMPORT CSS */
@import url("grid.css");

img {
  max-width: 100%;
  height: auto;
  /*高さ自動*/
}

a {
  /*display:block;*/
  color: #00796B;
  text-decoration-line: none;
}

a:hover {
  color: #AFB42B;
}

a img:hover {
  opacity: 0.8;
}

.underline {
  border-bottom: 3px solid #000;
  padding-bottom: 0.5rem;
}

/*ヘッダー
-------------------------------------*/
.head {
  display: flex;
  flex-direction: column;
  padding: 1rem 0 0 0;
  text-align: center;
  margin-bottom: 0.5rem;
}

.head h1 {
  padding: 1rem 0;
}

.telbox {
  margin-left: auto;
  font-size: 3.0rem;
  padding: 1rem 0 0 0;
}

nav ul {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  list-style: none;
  margin-bottom: 1rem;
}

nav li {
  display: block;
  flex: 1 0 auto;
  padding: 0 0.2rem;
  line-height: 1.3;
}

nav li a {
  text-decoration: none;
  text-align: center;
  border-bottom: 1px solid #CDDC39;
  display: block;
}

nav a:hover {
  background-color: #8BC34A;
  color: #fff
}

nav a {
  padding: 1rem;
  font-size: 12px;
}

nav li a:hover {
  border-bottom: 1px solid #8BC34A;
}

@media screen and (min-width: 768px) {

  /* PC時はMENUボタンを非表示 */
  #open,
  #close {
    display: none !important;
  }

  #navi {
    display: block !important;
  }
}

@media screen and (max-width: 768px) {
  .head {
    flex-direction: column;
    text-align: center;
    margin-bottom: 20px;
  }

  .telbox {
    margin-left: 0;
    text-align: center;
  }

  .head #open,
  #close {
    position: absolute;
    top: 28px;
    right: 12px;
  }

  nav ul {
    flex-direction: column;
  }

  nav li {
    padding-top: 0;
    /*border-bottom: 1px solid #ccc;*/
    margin-bottom: 0;
  }

  nav li br {
    display: none;
  }

  .side_nav {
    text-align: center;
  }

  /* スマホ時はMENUボタンを表示 */
  #open,
  #close {
    display: block;
    width: 50px;
    border: none;
    position: absolute;
    top: 20px;
    right: 12px;
  }

  /* スマホ時はメニューを非表示 */
  #navi {
    display: none;
  }
}

/*メイン画像
-------------------------------------*/
.mainimg{
  text-align: center;
}
.mainimg img {
  max-width: 800px;
  width: 100%;
}

/*メインコンテンツ
-------------------------------------*/
main {
  margin: 0 0 3rem 0;
}

/*新着情報
-------------------------------------*/
.news h2 {
  /*   border-bottom: 3px solid #aaa;
*/
  padding-bottom: 0.5rem;
}

.news li {
  list-style-type: none;
  border-bottom: 1px solid #ccc;
  padding: 0.5rem 0;
}

/*フッター
-------------------------------------*/
footer {
  background-color: #f7f7f7;
  padding: 2rem 0;
}

footer h5 {
  border-bottom: 3px solid #ccc;
}

footer p {
  font-size: 14px;
  color: #666;
  margin: 0.5rem;
}

/*コピーライト
-------------------------------------*/
.copyright {
  text-align: center;
  padding: 1rem 0;
  background-color: #fff;
}

.copyright a {
  color: #000;
  text-decoration: none;
  display: inline-block;
}

/*ページトップへ戻るボタン
-------------------------------------*/
#pagetop {
  position: fixed;
  bottom: 15px;
  right: 15px;
}

#pagetop a {
  display: block;
  background: #666;
  color: #fff;
  width: 50px;
  padding: 10px 5px;
  text-align: center;
}

#pagetop a:hover {
  background: #aaa;
}

/*パンくずリスト
-----------------------------------*/
.breadcrumb {
  margin: 0 0 1em 0;
  padding: 0;
  font-size: 12px;
}

.breadcrumb li {
  list-style-type: none;
}

.breadcrumb li a {
  display: inline-block;
  color: #959fa5;
}

/*見出し
----------------------------------*/
h1 {
  line-height: 1.4;
  padding: 0.25em 0.5em;
  background-color: #D7CCC8;
  display: block;
  margin: 0 0 0.8em 0;
  border-bottom: 3px solid #CDDC39;
}

h2 {
  line-height: 1.4;
  padding: 0.25em 0.5em;
  background-color: #AFB42B;
  display: block;
  margin: 0.8em 0;
  color: #fff;
}

h3 {
  line-height: 1.4;
  padding: 0.25em 0.5em;
  border-bottom: 3px solid #CDDC39;
  margin: 0.8em 0;
}

h4 {
  line-height: 1.4;
  padding: 0.25em 0.5em;
  border-bottom: 3px dashed #AFB42B;
  margin: 0.8em 0;
}

/*リンクアイコン*/
a[target=_blank] {
  padding-right: 20px;
  background: url(../img/icon_blank.png)right center/15px auto no-repeat;
  background-color: #FFF9C4;
}

.link a {
  padding-right: 20px;
  background: url(../img/icon_link.png)right center/15px auto no-repeat;
}


/*目次装飾*/
.mokuzi ul {
  list-style: none inside;
}

.mokuzi ul li:before {
  content: "";
  width: 10px;
  height: 10px;
  display: inline-block;
  background-color: #795548;
  border-radius: 50%;
  margin-right: 0.5em;
  padding-top: -1px;
}

/*目次*/
.table-of-contents {
  display: none;
}

.show-area {
  display: inline-block;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
  margin-bottom: 0;
  color: #CDDC39;
}

.table-of-contents .mokuxi_2 {
  padding-left: 2rem;
}

.table-of-contents .mokuxi_3 {
  padding-left: 3rem;
}

.table-of-contents li::before {
  content: "";
  width: 10px;
  height: 10px;
  display: inline-block;
  background-color: #8BC34A;
  border-radius: 50%;
  margin-right: 0.5em;
  padding-top: -1px;
}

.col span-8 ul {
  list-style: none inside;
}

.col span-8 ul li:before {
  content: "";
  width: 10px;
  height: 10px;
  display: inline-block;
  background-color: #795548;
  border-radius: 50%;
  margin-right: 0.5em;
  padding-top: -1px;
}

ul.table-of-contents {
  border-radius: 0px;
  border: 1px solid #dcdcdc;
  padding-top: 0;
}

ul.table-of-contents {
  /*list-style-type: decimal;*/
  padding: 20px 10px 20px 40px;
  padding-top: 20px;
  border: 1px solid #e4e4e4;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  font-size: 90%;
}

.entry-content {
  color: #444;
  font-size: 16px;
}

ul.table-of-contents {
  /* list-style-type: decimal;*/
  list-style-type: none;
  font-size: 90%;
}
.container ul.table-of-contents li{
    list-style:none; 
}

.entry-content ul {
  margin: 16px 0;
  padding: 0 0 0 40px;
}

/*テキスト装飾*/
.marker {
  background: linear-gradient(transparent 70%, #e5e5e5 70%);
  padding-left: 0.5em;
}

.txt_red {
  color: #ED4145;
}

.txt_blue {
  color: #AFB42B;
}

.cap {
  color: #666;
  font-size: 0.9em;
}

/*運営者情報*/
.privacy {
  clear: both;
  margin-bottom: 2rem;
  font-size: 1.3rem;
}

.privacy th,
td {
  border-bottom: none;
  padding: 0.3em 0;
}

.privacy th {
  width: 10em;
  vertical-align: top;
}

.privacy td {
  vertical-align: top;
}

/*リスト*/
.main_list li {
  margin-left: 0.5em;
  font-size: 0.9em;
}

.main_list li::before {
  content: "";
  width: 10px;
  height: 10px;
  display: inline-block;
  background-color: #8BC34A;
  border-radius: 50%;
  margin-right: 0.25em;
  padding-top: -1px;

}
