@charset "UTF-8";


/*メモ*/

/*メディアクエリは768pxはスマホ769pxはPC*/
/*PCはhover、スマホはactive*/


html {
  font-size: 100%;
  scroll-behavior: smooth;
}
body {
  background-color: white;
  background-size: cover;
  font-family: "Playfair Display", "Hina Mincho", serif;
  font-size: 0.9em;
  letter-spacing: 0.1em;
  color: black;
  margin: 0;
  padding: 0;
}
h1 {
  margin-bottom: 0.5em;
  /* text-align: right; */
  text-indent: 18%;
  font-size: 1.3em;
}
h1 a {
  color: black;
}

section {
  margin-top: 100px;
}
main {
  margin-bottom: 50px;
}
p {
  padding-bottom: 1em;
}
a {
  text-decoration: none;
}
img {
  max-width: 100%;
}
li {
  list-style: none;
}
.sp {
  display: none;
}

.flex-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.item {
  width: 48%;
  text-align: left;
}
.item img {
  width: 100%;
}


/* ページのトップへ */
.pagetop {
  height: 50px;
  width: 50px;
  position: fixed;
  right: 30px;
  bottom: 30px;
  background: #ffffff;
  border: solid 2px #1171ba;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}
.pagetop_arrow {
  height: 15px;
  width: 15px;
  border-top: 3px solid #1171ba;
  border-right: 3px solid #1171ba;
  transform: translateY(20%) rotate(-45deg);
}

/* ハンバーガーメニュー */
.hamburger {
  visibility: hidden;
  display: none;
  z-index: 10;
}

/* グーグルマップ */
iframe {
  width: 100%;
  aspect-ratio: 16/9;
}

/*
中身のコンテンツの最大幅を設定し、共通で使用
*/
.wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}
.sec-title {
  margin-bottom: 20px;
  font-size: 1.5rem;
  text-align: center;
}

/*-------------------------------------------
ヘッダー
-------------------------------------------*/
/*
height: 100vh;
メインビジュアルを画面の高さにあわせる
*/
#header {
  /* height: 100vh; */
  max-width: 1200px;
  margin: 0 auto;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  padding-top: 0;
  margin-bottom: 50px;
  position: relative; 
}
ul.gnav{
  display: block;
  background: #1171ba;
  padding: 0;
  text-align: center;
  }
ul.gnav li{
  display: inline-block;
}
ul.gnav li a{
  display: block;
  padding: 1em;
  color: #fff;
  text-decoration: none;
}
ul.gnav a::first-line{
  font-size: 20px;
  font-weight: bold;
}
ul.gnav li:hover{
  background: #9b9b11;
}

/*-------------------------------------------
画像切り替え用アニメーション
-------------------------------------------*/
.container{
  margin: 0;
  height: 100vh;
  width: 100%;
  position: relative;
}
.image {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  opacity: 0;
  background-size: cover;
  background-position: center center;
  animation: image-switch-animation 75s infinite;
  animation-iteration-count:infinite; 
}
.src1 {
  background-image: url(../img/photo_1.jpg);
  background-size:contain;
}
.src2 {
  background-image: url(../img/photo_2.jpg);
  background-size:contain;
}
.src3 {
  background-image: url(../img/photo_3.jpg);
  background-size:contain;
}
.src4 {
  background-image: url(../img/photo_4.jpg);
}
.src5 {
  background-image: url(../img/photo_5.jpg);
}
.image:nth-of-type(1) {
  animation-delay: 0s;
}
.image:nth-of-type(2) {
  animation-delay: 5s;
}
.image:nth-of-type(3) {
  animation-delay: 10s;
}
.image:nth-of-type(4) {
  animation-delay: 15s;
}
.image:nth-of-type(5) {
  animation-delay: 20s;
}

@keyframes image-switch-animation {
  0%{ opacity: 0;}
  5%{ opacity: 1;}
  25%{ opacity: 1;}
  30%{ opacity: 0;}
  100%{ opacity: 0;}
}

/*-------------------------------------------
ロゴ部分
-------------------------------------------*/

.logo {
  position: absolute;
  top: 0;
  right: 0;
}

/*-------------------------------------------
News
-------------------------------------------*/
#news {
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  text-align: center;
  margin-bottom: 100px;
}
#news .news-list{
  list-style: none outside;
  margin-top: 20px;
  padding: 0;
  text-align: center;
}
#news .news-list .item {
  width: 100%;
  display: flex;
  flex-wrap: nowrap;
  text-decoration: none;
  color: black;
  border-bottom: 0.1rem solid #9b9b11;
  padding: 20px 20px;
}
#news .news-list .item:first-child {
  border-top: 0.3rem double #9b9b11;
}
#news .news-list .item .date{
  margin: 0;
  min-width: 120px;
  vertical-align: auto;  
  font-size: 16px;
  color: black;
  padding: 0 20px 0 0;
}
#news .news-list .item .title{
  vertical-align: auto;
  margin: 0;
  width: 100%;
}

/* 装飾 */

*{
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}
a{
  text-decoration: none;
}

/*-------------------------------------------
プロフィール
-------------------------------------------*/
#about .flex-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#about .item {
  width: 48%;
  text-align: left;
}
#about .item img {
  width: 100%;
}

/*-------------------------------------------
イベント情報
-------------------------------------------*/
#event .flex-item {
  display: block;
  align-items: center;
}
#event .item {
  width: 100%;
  text-align: center;
}
/*-------------------------------------------
お問い合わせ
-------------------------------------------*/
#contact {
  text-align: center;
}
#contact table th td {
  border-bottom: 1px solid black;
}

/*-------------------------------------------
フッター
-------------------------------------------*/
#footer {
  margin: 0 auto;
  padding-top: 20px;
  color: white;
  font-family: 'Courier New', Courier, monospace,serif;
  font-size: 0.750rem;
  text-align: center;
  background-color:#1171ba;
}
#footer .flex-item {
  flex-direction: column;
  padding-top: 30px;
  padding-bottom: 30px;
}
#footer .copyright {
  text-align: center;
  padding: 20px 0;
}
#footer .tel-number a {
  color:white;
  text-decoration:none;
}

/*-------------------------------------------
SP
-------------------------------------------*/
@media screen and (max-width: 767px) {
  body {
    margin: 0;
    background-size: 100%;
  }
  #header {
    margin-top: 0
  }
  .hamburger {
    visibility: visible;
    display: contents;
  }
  .hamburger img {
    margin-top: 20px;
    margin-bottom: 10px;
  }
  .flex-item {
    display: block;
  }
  .item {
    width: 100%;
    text-align: center;
  }
  .item img {
    width: 100%;
  }


  /* .video_wrapper video {
    width: 100%;
    height: 100%;
  } */
  nav .gnav{
    display: none;
  }

  section {
    margin-top: 20px;
  }
  
/*-------------------------------------------
画像切り替え用アニメーション
-------------------------------------------*/
  .container{
    top: 0;
    max-height: 550px;
    max-width: 720px;
  }

  /*-------------------------------------------
ロゴ部分
-------------------------------------------*/

.logo {
  position: absolute;
  max-height: 550px;
  max-width: 720px;
  top: 400px;
  right: -20%;
}
.logo img{
  width: 70%;
}

  /*-------------------------------------------
  ページのトップへ
  -------------------------------------------*/

.pagetop {
  right: 5%;
  bottom: 10%;
}

  /*-------------------------------------------
  News
  -------------------------------------------*/
  #news {
    padding-top: 0;
    margin-bottom: 50px;
  }
  .news-list .item {
    padding: 20px 10px 10px 10px;
  }
  .news-list .item a{
    flex-wrap: wrap;
    text-align: left;
  }
  .news-list .item .title {
    text-align: left;
  }
  .news-list .item .title:first-child {
    text-align: center;
  }
  .news-list .item .date{
    min-width: 100px;
  }
  #about .flex-item {
    display: block;
  }
  #about .item {
    width: 100%;
  }
  

  /*-------------------------------------------
  フッター
  -------------------------------------------*/
  #footer .flex-item {
    flex-direction: column;
    padding-top: 30px;
    padding-bottom: 30px;
  }
  #footer .item {
    width: 100%;
    margin-bottom: 30px;
  }
  #footer .item:first-child {
    text-align: center;
    padding: 0;
  }

  /*-------------------------------------------
  強制改行
  -------------------------------------------*/
  .sp {
    display: block;
    }
}

