/* css構造説明

★★カラムはflexboxを使用

■CSS構造
    共通部

    トップページA（767px以下）
    トップページA（768-991px）
    トップページA（992px以上）

    トップページB（767px以下）
    トップページB（768-991px）
    トップページB（992px以上）

    トップページC（767px以下）
    トップページC（768-991px）
    トップページC（992px以上）

    トップページD（767px以下）
    トップページD（768-991px）
    トップページD（992px以上）

    トップページE（767px以下）
    トップページE（768-991px）
    トップページE（992px以上）

■ブロック説明
    共通：体裁関連（全ページ共通）
    A:ヘッダー
    B:グローバルメニュー
    C:カルーセル
    D:コンテンツ
    E:フッター

■htmlルール
・要素は全てdivを使用すること
・/divの最後はdiv名を記載すること　<!-->
*/


/* 共通部 */
* {
    box-sizing: border-box;
}

.wrapper {
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
}


/* トップページA（767px以下） */
#global-navi {
    background:#333;
    position: fixed;
    top: 0;
    right: 0px;
    width: 100%;
}
#wrapper nav ul li{
display:inline-block;
font-size: 16px;
padding:  30px 20px 25px 28px;
}
#wrapper nav ul li a{
color: #ddd
}
/*スマホ画面で例１のハンバーガーメニューの形にする*/
/*　ハンバーガーボタン　*/
.hamburger {
    display : block;
    position: fixed;
    z-index : 3;
    right : 13px;
    top   : 12px;
    width : 42px;
    height: 42px;
    cursor: pointer;
    text-align: center;
  }
  .hamburger span {
    display : block;
    position: absolute;
    width   : 30px;
    height  : 2px ;
    left    : 6px;
    background : #555;
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition   : 0.3s ease-in-out;
    transition        : 0.3s ease-in-out;
  }
  .hamburger span:nth-child(1) {
    top: 10px;
  }
  .hamburger span:nth-child(2) {
    top: 20px;
  }
  .hamburger span:nth-child(3) {
    top: 30px;
  }
  
  /* ナビ開いてる時のボタン */
  .hamburger.active span:nth-child(1) {
    top : 16px;
    left: 6px;
    background :#fff;
    -webkit-transform: rotate(-45deg);
    -moz-transform   : rotate(-45deg);
    transform        : rotate(-45deg);
  }
  
  .hamburger.active span:nth-child(2),
  .hamburger.active span:nth-child(3) {
    top: 16px;
    background :#fff;
    -webkit-transform: rotate(45deg);
    -moz-transform   : rotate(45deg);
    transform        : rotate(45deg);
  }
  
  nav.globalMenuSp {
    position: fixed;
    z-index : 2;
    top  : 0;
    left : 0;
    color: #fff;
    background: rgba(0,0,0,0.9);
    text-align: center;
    width: 100%;
    opacity: 0;
    transition: opacity .6s ease, visibility .6s ease;
  }
  
  nav.globalMenuSp ul {
    margin: 0 auto;
    padding: 0;
    width: 100%;
  }
  
  nav.globalMenuSp ul li {
    list-style-type: none;
    padding: 0;
    width: 100%;
    transition: .4s all;
  }
  nav.globalMenuSp ul li:last-child {
    padding-bottom: 0;
  }
  nav.globalMenuSp ul li:hover{
    background :#ddd;
  }
  
  nav.globalMenuSp ul li a {
    display: block;
    color: #fff;
    padding: 1em 0;
    text-decoration :none;
  }

  nav.globalMenuSp ul li a span {
    display: block;
    font-size: 10px;
  }
  
  /* このクラスを、jQueryで付与・削除する */
  nav.globalMenuSp.active {
    opacity: 100;
  
  }

  .slider{
    margin: 0px auto 0px auto;
    width: 80%;
    }
    .slider img{
        height: auto;
        width: 100%;
    }
    /*slick setting*/
    .slick-prev:before,
    .slick-next:before {
        color: #000;
    }

    .header-top {
      margin: 0 0 10px 0;
      display: flex;
      justify-content: space-between;
  }

    .header-top .header-logo img {
      width: 30%;
  }

@media screen and (max-width:767px) {
    .header-list {
        display: none;
    }
}

/* トップページA（768-991px） */
@media screen and (min-width:767px) and (max-width:991px) {

  .header-top .header-list li {
    display: inline-block;
    margin-right: 10px;
}

  .header-top .header-list li a {
    text-decoration: none;
    color: #aaa;
    font-size: 14px;
}

  .header-list {
    padding: 15px 0 0px 0;
  }
}

/* トップページA（992px以上） */
@media screen and (min-width:992px) {
    .header-top .header-list li {
      display: inline-block;
      margin-right: 10px;
  }

    .header-top .header-list li a {
      text-decoration: none;
      color: #aaa;
      font-size: 14px;
  }

    .header-list {
      padding: 15px 0 0px 0;
    }
}


/* トップページB（767px以下） */
@media screen and (max-width:767px) {
  
}

/* トップページB（768-991px） */
@media screen and (min-width:767px) and (max-width:991px) {
  .navgetion {
      background-image: linear-gradient(to bottom,#fff 0%,#f3f3f3 50%,#ededed 51%,#fff 100%);
  }

  .navgetion ul li a:hover {
      background-image: linear-gradient(to bottom,#fff 0%,#fff 91%,#ed1e79 92%,#ed1e79 100%);
    }

  .navgetion ul {
      display: flex;
      justify-content: space-between;
      margin-bottom: 0px;
  }

  .navgetion ul li {
      list-style: none;
      text-align: center;
      border: 1px solid #aaa;
      width: 25%;
      border-right: none;
      padding: 10px 0 0px 0;
  }

  .navgetion ul li:last-child {
      border-right: 1px solid #aaa;
  }

  .navgetion ul li a {
      text-decoration: none;
      display: block;
      padding-bottom: 10px;
      color: #000;
  }

  .navgetion ul li a span {
      display: block;
      font-size: 10px;
      color: #aaa;
  }
}

/* トップページB（992px以上） */
@media screen and (min-width:992px) {
  .navgetion {
      background-image: linear-gradient(to bottom,#fff 0%,#f3f3f3 50%,#ededed 51%,#fff 100%);
  }

  .navgetion ul li a:hover {
      background-image: linear-gradient(to bottom,#fff 0%,#fff 91%,#ed1e79 92%,#ed1e79 100%);
    }

  .navgetion ul {
      display: flex;
      justify-content: space-between;
      margin-bottom: 0px;
  }

  .navgetion ul li {
      list-style: none;
      text-align: center;
      border: 1px solid #aaa;
      width: 25%;
      border-right: none;
      padding: 10px 0 0px 0;
  }

  .navgetion ul li:last-child {
      border-right: 1px solid #aaa;
  }

  .navgetion ul li a {
      text-decoration: none;
      display: block;
      padding-bottom: 10px;
      color: #000;
  }

  .navgetion ul li a span {
      display: block;
      font-size: 10px;
      color: #aaa;
  }
}


/* トップページC（767px以下） */
/* トップページC（768-991px） */
/* トップページC（992px以上） */

/* トップページD（767px以下） */
.main-contents {
  margin-bottom: 30px;
  margin-top: 10px;
}

.main-info {
  margin-bottom: 30px;
}

.main-info h3 {
  background-color: #6d0e38;
  color: #fff;
  padding: 10px 5px 10px 5px;
  margin-bottom: 10px;
  position: relative;
  font-size: 20px;
}

.main-info h3::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 40px;
  height: 0;
  width: 0;
  border: 15px solid transparent;
  border-top-color: #6d0e38;
}

.main-info ul li {
  list-style: none;
  border-bottom: 1px solid #aaa;
  padding: 10px 5px 10px 5px;
}

.main-info ul li a {
  color: #000;
  display: flex;
  justify-content: flex-start;
  font-size: 14px;
}

.main-info ul li .timeinfo {
  margin-right: 20px;
}

.entry-contents {
  margin-bottom: 30px;
}

.entry-contents h3 {
  background-color: #6d0e38;
  color: #fff;
  padding: 10px 5px 10px 5px;
  position: relative;
  margin-bottom: 0px;
  font-size: 20px;
}

.entry-contents h3::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 40px;
  height: 0;
  width: 0;
  border: 15px solid transparent;
  border-top-color: #6d0e38;
}

.entry-contents img {
  max-width: 100%;
  margin-bottom: 10px;
}

.entry-contents p {
  line-height: 1.2;
  margin-bottom: 20px;
}

.entry-contents .button {
  text-decoration: none;
  color: #000;
  border: 1px solid #aaa;
  border-radius: 5px;
  padding: 5px;
}

.entry-contents .button {
  margin-bottom: 10px;
  font-size: 14px;
  padding: 10px 10px 10px 10px;
}

.entry-contents .button:hover {
  background-color: #6d0e38;
}

.entry-p {
  margin-bottom: 50px !important;
}

.submenu {
  margin-bottom: 30px;    
}

.submenu-box {
  border: 1px solid #aaa;
  margin-bottom: 20px;
  padding: 30px 15px;
}

.submenu-box a {
  text-decoration: none;
}

.submenu-box a h4 {
  color: #000;
  font-size: 18px;
}

.submenu-box a h4 span {
  color: #aaa;
  font-size: 14px;
  display: block;
}

.submenu-box a {
  display: flex;
  justify-content: flex-start;
}

.submenu-box a img {
  margin-right: 20px;
}

/* トップページD（768-991px） */
@media screen and (min-width:767px) and (max-width:991px) {

}

/* トップページD（992px以上） */
@media screen and (min-width:992px) {

}

/* トップページE（767px以下） */
.footer-top {
  border-top: 1px solid #aaa;
  padding: 10px 0 ;
}

.footer-top p {
  font-size: 14px;
  color: #aaa;
  margin-bottom: 0px;
}

/* トップページE（768-991px） */
@media screen and (min-width:767px) and (max-width:991px) {

}

/* トップページE（992px以上） */
@media screen and (min-width:992px) {

}