@charset "utf-8";

body{
  font-family: "Dancing Script",cursive;
  font-weight: bold;
}

.slideBox {
    height: 500px;
    overflow: hidden;
    position: relative;
  }
  
  /* テキストがあるバージョン */
  .title {
    color: #fff;
    z-index: 11;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    
  }

  .title img{
    width: 100%;
    height: auto;
  }
  
  .item2 {
    z-index: 10;
    opacity: 0;
    width: 100%;
    height: 500px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    left: 0;
    top: 0;
    -webkit-animation: anime 30s 0s infinite;
    animation: anime 30s 0s infinite;
  }
  
  .item2:nth-of-type(2) {
    -webkit-animation-delay: 10s;
    animation-delay: 10s;
  }
  
  .item2:nth-of-type(3) {
    -webkit-animation-delay: 20s;
    animation-delay: 20s;
  }
  
  /* ふわっとアニメーション */
  @keyframes anime {
    0% {
      opacity: 0;
    }
    30% {
      opacity: 1;
    }
    35% {
      opacity: 1;
    }
    50% {
      opacity: 0;
      z-index: 9;
    }
    100% {
      opacity: 0;
    }
  }
  
  @-webkit-keyframes anime {
    0% {
      opacity: 0;
    }
    30% {
      opacity: 1;
    }
    35% {
      opacity: 1;
    }
    50% {
      opacity: 0;
      z-index: 9;
    }
    100% {
      opacity: 0;
    }
  }

  /*メディアクエリによる表示・非表示*/

.pc{
  display: block;
}

.sp{
  display: none;
}

@media (max-width: 768px) {
  .pc{
      display: none;
  }
  .sp{
      display: block;
  }
  .title img{
    width: 100%;
    height: auto;
  }
  .flex{
    flex-direction: column;
  }
  .news-article__eyecatch img, figure img{
    width: 100%;
    height: auto;
  }
}

/*レイアウト*/

.l-width{
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  max-width: 1140px;
}

.l-width-1c{
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  max-width: 700px;
}

.l-padding{
  padding-top: 20px;
  padding-bottom: 20px;
}


/*ヘッダー*/
.header{
  height: 70px;
  padding: 20px 0;
  position: relative;
  z-index: 12;
  background-color: rgba(0, 0, 0, .666);
}

.header__inner{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin: 0 auto;
}

.header h1.header__logo {
  margin: 0;
  line-height: 1;
}

.header .header__logo img{
  width: 81px;
}

/*ボタン*/

.header__btn{
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  right: 0;
  border: none;
  height: 75px;
  width: 75px;
  background-color: transparent;
  z-index: 2;
}

/*ハンバーガーアイコン*/

.header__btn .icon{
  display: block;
  position: relative;
  top: 0;
  margin: 0 auto;
  width: 24px;
  height: 2px;
  background-color: #ccc;
  transition: 0.3s ease;
}

.header__btn .icon::before,
.header__btn .icon::after{
  content: '';
  display: block;
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  transition: all 0.3s;
  background-color: #ccc;
}

.header__btn .icon::before{
  top: -8px;
}

.header__btn .icon::after{
  top: 8px;
}

/*ナビゲーション*/

.header__navigation{
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  text-align: center;
  transition: 0.3s ease;
  transform: translateX(100%);
}

.header__navigation ul{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin: 0;
  padding: 0;
  height: 100%;
  list-style-type: none;
}

.header__navigation a{
  display: block;
  padding: 0.8em;
  color: #333;
  letter-spacing: 0.8em;
  font-weight: bold;
  font-size: 1.25em;
  text-decoration: none;
}

/*open*/

.open .header__btn .icon{
  background-color: transparent;
}

.open .header__btn .icon::before,
.open .header__btn .icon::after{
  top: 0;
  background-color: #333;
}

.open .header__btn .icon::before{
  transform: rotate(45deg);
}

.open .header__btn .icon::after{
  transform: rotate(-45deg);
}

.open .header__navigation{
  transform: translateX(0);
}

@media screen and (min-width:768px) {
  .header{
      height: 90px;
      background-color: rgba(0,0,0,666);
  }
  .header__inner{
      align-items: center;
  }
  .header__btn{
      display: none;
  }
  .header__navigation{
      position: relative;
      margin-right: -0.8em;
      background: none;
      transform: translateX(0);
  }
  .header__navigation ul{
      flex-direction: row;
      justify-content: flex-end;
  }
  .header__navigation a{
      color: #fff;
      font-weight: normal;
      font-size: 1em;
  }
}

@media screen and (min-width:992px) {
  header{
      padding-top: 30px;
  }
  header .header__logo{
      flex: none;
  }
  header .header__logo img{
      width: 115px;
  }
}

/*ニュースページ*/

.news-article__eyecatch {
  text-align: center;
  margin-bottom: 2em;
}

.news-article h2 {
  font-size: 1.5em;
  line-height: 1.4;
  margin-bottom: 0.5em;
}

.news-article time {
  font-size: 0.8em;
}

.news-article h3,
.news-article h4 {
  margin-top: 2em;
  margin-bottom: 0.5em;
}

.news-article h3 {
  font-size: 1.25em;
}

.news-article h4 {
  font-size: 1.1em;
}

.news-article figure {
  max-width: 75%;
  text-align: center;
  margin: 2em auto;
}

.news-article figcaption {
  margin-top: 1em;
  font-size: 0.9em;
}

.news-article blockquote {
  border-left: 5px solid #c19e70;
  margin-left: 0;
  padding: 1em;
}

.news-article ul,
.news-article ol {
  padding-left: 1.5em;
}

/*gallery*/

h2{
  text-align: center;
}

.img{
  height: 200px;
  width: 323.6px;
  object-fit: cover;
}

.flex {
  display: flex;
  justify-content: center;
  text-align: center;
}

.contents {
  align-items: center;
  margin: 20px 20px;
  list-style: none;
}

.content {
  margin-top: 20px;
}

/*フッター*/

.footer {
  padding: 20px 0;
  text-align: center;
  background-color: black;
}

.footer small {
  color: #fff
}

/*QとAを表示*/

h3.faq__q,
.faq__a {
  position: relative;
  margin-left: 30px;
}

h3.faq__q::before,
.faq__a::before {
  font-size: 25px;
  font-weight: bold;
  line-height: 1;
  position: absolute;
  left: -30px;
}

h3.faq__q::before {
  content: "Q";
}

.faq__a::before {
  content: "A";
  color: #900;
}

/*-------------------------------------------
　アクセス
-------------------------------------------*/

.access {
  padding-bottom: 0;
}

.access__img > img {
  display: block;
  max-width: 280px;
  max-height: 280px;
  border-radius: 50%;
  margin: 10px auto 30px;
}

/*埋め込み地図*/

.access__maparea {
  position: relative;
  padding-top: 100%;
}

.access__map {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

@media screen and (min-width:768px) {
  .access__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .access__img {
    margin-right: 0;
  }

  .access__maparea {
    padding-top: 30%;
  }
}