/* css構造説明

★★カラムはflexboxを使用

■CSS構造
    共通部A,E（767px以下）
    共通部A,E（768-991px）
    共通部A,E（992px以上）

    トップページB（767px以下）
    トップページB（768-991px）
    トップページB（992px以上）

    トップページC（767px以下）
    トップページC（768-991px）
    トップページC（992px以上）

    トップページD（767px以下）
    トップページD（768-991px）
    トップページD（992px以上）

■ブロック説明
    A:ヘッダー
    B:グローバルナビゲーション
    C:カルーセル
    D:コンテンツ（main、sub）
    E:フッター

■htmlルール
・要素は全てdivを使用すること
・/divの最後はdiv名を記載すること　<!-->
*/


/* 共通部A,E（767px以下） */
* {
    box-sizing: border-box;
}

h1 {
  
}

h2 {
  font-size: 32px;
  font-weight: normal;
}

h3 {
  font-size: 20px;
  font-weight: normal;
}

h4 {
  font-size: 28px;
  font-weight: normal;
}

.container {
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
}

.header01 {
    margin: 10px 0 10px 0;
    display: flex;
    justify-content: space-around;
}

.header01 .header-logo img {
    width: 50%;
}

.header01 .header-list li {
    display: inline-block;
    margin-right: 10px;
}

.header01 .header-list li a {
    text-decoration: none;
    color: #aaa;
}

.footer01 {
    border-top: 1px solid #aaa;
    padding: 30px 0 ;
}


/* 共通部A,E（768-991px） */
@media screen and (min-width:768px)  and (max-width:991px) {
    .header01 .header-logo img {
        width: 50%;
    }
    
    .header01 .header-list li a {
        text-decoration: none;
        color: #aaa;
    }            
}

/* 共通部A,E（992px以上） */
@media screen and (min-width:992px) {
    .header01 .header-logo img {
        width: 50%;
    }
    
    .header01 .header-list li a {
        text-decoration: none;
        color: #aaa;
    }    
}


/* トップページB（767px以下） */
.header-list {
    display: none;
}

.global-nav {
    display: none;
}

 /*　ハンバーガーボタン　*/
.hamburger {
    display : block;
    position: fixed;
    z-index : 3;
    right : 13px;
    top   : 1px;
    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.7);
    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: 12px;
  }
  
  /* このクラスを、jQueryで付与・削除する */
  nav.globalMenuSp.active {
    opacity: 100;
  }


/* トップページB（768-991px） */
@media screen and (min-width:768px)  and (max-width:991px) {
    .hamburger {
        display: none;
    }

    .globalMenuSp {
        display: none;
    }

    .header-list {
        display: block;
    }
    
    .global-nav {
        display: block;
    }

    .global-nav {
        background-image: linear-gradient(to bottom,#fff 0%,#f3f3f3 50%,#ededed 51%,#fff 100%);
    }
    
    .global-nav ul li a:hover {
        background-image: linear-gradient(to bottom,#fff 0%,#fff 91%,#ed1e79 92%,#ed1e79 100%);
      }

    .global-nav ul {
        display: flex;
        justify-content: center;
    }
    
    .global-nav ul li {
        list-style: none;
        text-align: center;
        border: 1px solid #aaa;
        width: 25%;
        border-right: none;
        padding: 20px 0 0px 0;
    }

    .global-nav ul li:last-child {
        border-right: 1px solid #aaa;
    }
    
    .global-nav ul li a {
        text-decoration: none;
        display: block;
        padding-bottom: 20px;
        color: #000;
    }
    
    .global-nav ul li a span {
        display: block;
        font-size: 10px;
    }
    
}

/* トップページB（992px以上） */
@media screen and (min-width:992px) {
    .hamburger {
        display: none;
    }

    .globalMenuSp {
        display: none;
    }

    .header-list {
        display: block;
    }
    
    .global-nav {
        display: block;
    }

    .global-nav {
        background-image: linear-gradient(to bottom,#fff 0%,#f3f3f3 50%,#ededed 51%,#fff 100%);
    }
    
    .global-nav ul li a:hover {
        background-image: linear-gradient(to bottom,#fff 0%,#fff 91%,#ed1e79 92%,#ed1e79 100%);
      }

    .global-nav ul {
        display: flex;
        justify-content: center;
    }
    
    .global-nav ul li {
        list-style: none;
        text-align: center;
        border: 1px solid #aaa;
        width: 25%;
        border-right: none;
        padding: 10px 0 0px 0;
    }

    .global-nav ul li:last-child {
        border-right: 1px solid #aaa;
    }
    
    .global-nav ul li a {
        text-decoration: none;
        display: block;
        padding-bottom: 10px;
        color: #000;
    }
    
    .global-nav ul li a span {
        display: block;
        font-size: 10px;
        color: #aaa;
    }
}


/* トップページC（767px以下） */
.carousel {
    margin-bottom: 30px;
}

.carousel-caption {
    left: 15%;
    bottom: 40px;
    text-align: left;
}

.carousel-caption h3 {
    font-size: 20px;
}

.carousel-caption p {
    font-size: 12px;
}

.carousel-indicators li {
    border-radius: 10px;
    display: inline-block;
}

.carousel-inner>.carousel-item>img {
    min-width: 500px;
    display: block;
    max-width: 100%;
    height: auto;
}

.carousel-control-prev,
.carousel-control-next {
        width: 20px;
    }

/* トップページC（768-991px） */
@media screen and (min-width:768px)  and (max-width:991px){
    .carousel {
        margin-bottom: 30px;
    }
    
    .carousel-caption {
        left: 15%;
        bottom: 40px;
        text-align: left;
    }
    
    .carousel-caption h3 {
        font-size: 42px;
    }
    
    .carousel-indicators li {
        border-radius: 10px;
        display: inline-block;
    }
    
    .carousel-inner>.carousel-item>img {
        min-width: 500px;
        display: block;
        max-width: 100%;
        height: auto;
    }
}

/* トップページC（992px以上） */
@media screen and (min-width:992px) {
    .carousel {
        margin-bottom: 30px;
    }
    
    .carousel-caption {
        left: 15%;
        bottom: 40px;
        text-align: left;
    }
    
    .carousel-caption h3 {
        font-size: 42px;
    }
    
    .carousel-indicators li {
        border-radius: 10px;
        display: inline-block;
    }
    
    .carousel-inner>.carousel-item>img {
        min-width: 500px;
        display: block;
        max-width: 100%;
        height: auto;
    }
}

/* トップページD（767px以下） */
.main-menu {
    margin-bottom: 30px;
}

.main-info {
    margin-bottom: 30px;
}

.main-info h3 {
    background-color: #6d0e38;
    color: #fff;
    padding: 10px 5px 10px 5px;
    margin-bottom: 10px;
    position: relative;
}

.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;
}

.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;
}

.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:768px)  and (max-width:991px) {
    .main-menu {
        
    }

    .submenu {
        
    }
}

/* トップページD（992px以上） */
@media screen and (min-width:992px) {

}