@charset "UTF-8";


/*メモ*/

/*メディアクエリは768pxはスマホ769pxはPC*/
/*PCはhover、スマホはactive*/


html {
  font-size: 100%;
  scroll-behavior: smooth;
}
body {
  background-image: url(../img/haikei.png);
  background-size: cover;
  font-family: "Playfair Display", "Hina Mincho", serif;
  font-size: 0.9em;
  letter-spacing: 0.1em;
  color: white;
  margin: 0;
  padding: 0;

}
main {
  margin-bottom: 50px;
}
a {
  text-decoration: none;
}
img {
  max-width: 100%;
}
li {
  list-style: none;
}
.sp {
  display: none;
}


/* ページのトップへ */
.pagetop {
  height: 50px;
  width: 50px;
  position: fixed;
  right: 30px;
  bottom: 30px;
  background: #fff;
  /* border: solid 2px #9b9b11; */
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}
.pagetop_arrow {
  height: 15px;
  width: 15px;
  border-top: 3px solid #9b9b11;
  border-right: 3px solid #9b9b11;
  transform: translateY(20%) rotate(-45deg);
}

/* ハンバーガーメニュー */
.hamburger {
  visibility: hidden;
  display: none;
}

/* video */
/* .video_wrapper {
	position: absolute;
	text-align:center;
	color: #000000;
	top:0; 
	width: 100%; 
} 
.video_wrapper video {
	width: 100vw;
	height: 100vh;
} */
/* グーグルマップ */
iframe {
  width: 100%;
  aspect-ratio: 16/9;
}

/*
中身のコンテンツの最大幅を設定し、共通で使用
*/
.wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}
.sec-title {
  font-size: 1.5rem;
}

/*-------------------------------------------
ヘッダー
-------------------------------------------*/
/*
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{
  visibility: visible;
  background: black;
  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);
}
.src2 {
  background-image: url(../img/photo_2.jpg);
}
.src3 {
  background-image: url(../img/photo_3.jpg);
}
.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;}
}





/*-------------------------------------------
Magazine
-------------------------------------------*/
#magazine {
  text-align: center;
  margin-top: 120px;
  margin-bottom: 50px;
}
.text {
  font-size: 1.5rem;
}


/*-------------------------------------------
News
-------------------------------------------*/
#news {
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  text-align: center;
  padding-top: 40px;
  margin-bottom: 100px;
}
.news-list{
  list-style: none outside;
  margin-top: 20px;
  padding: 20px auto;
}
.news-list .item {
  display: flex;
  flex-wrap: wrap;
  flex-wrap: nowrap;
  text-decoration: none;
  color: white;
  border-bottom: 0.1rem solid #9b9b11;
  padding: 20px 20px;
}
.news-list .item a{
  color: white;
}
.news-list .item:first-child {
  border-top: 0.3rem double #9b9b11;
}
.news-list .item .date{
  margin: 0;
  min-width: 120px;
  vertical-align: auto;
  font-size: 16px;
  color: white;
  padding: 0 20px 0 0;
}
.news-list .item .title{
  margin: 0;
  width: 100%;
  vertical-align: auto;
}

/* 装飾 */

*{
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}
a{
  text-decoration: none;
}
body{
  margin: 20px;
}
/*-------------------------------------------
Information
-------------------------------------------*/
.information {
  background-color: #151f94;
  color: white;
  padding: 20px 0;
}
.information .sec-title {
  text-align: center;
  margin-bottom: 20px;
}
.information .flex-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.information .item {
  width: 48%;
  text-align: center;
}
.information .item img {
  width: 100%;
}
.information .item p {
  margin-bottom: 30px;
  text-align: left;
}
.i-table tbody th, .i-table tbody td {
  padding: 1rem 1.5rem;
  border-bottom: 0.1rem solid #9b9b11;
  color: white;
}
.i-sns {
  margin-top: 20px;
  margin-bottom: 20px;
  font-size: 2rem;
  text-align: center;
}
#information .tel-number a {
  color:white;
  text-decoration:none;
}

/*-------------------------------------------
Access
-------------------------------------------*/
#access {
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  text-align: center;
  padding-top: 60px;
  margin-bottom: 80px;
}
#access .wrapper h2, #access .wrapper p {
  margin-bottom: 20px;
}

/*-------------------------------------------
フッター
-------------------------------------------*/
#footer {
  margin: 0 auto;
  background-color: black;
  font-family: 'Courier New', Courier, monospace,serif;
  font-size: 0.750rem;
  text-align: center;
}
#footer .flex-item {
  /* display: flex; */
  /* justify-content: space-between; */
  color: #fff;
  padding-top: 20px;
  padding-bottom: 20px;
}
#footer h3 {
  margin-top: 20px;
  margin-bottom: 10px;
}
#footer p {
  line-height: 2em;
}
#footer .copyright {
  text-align: center;
  padding: 20px 0;
}
#footer .tel-number a {
  color:white;
  text-decoration:none;
}
/*-------------------------------------------
about.html
-------------------------------------------*/
#about .sec-title {
  text-align: center;
  margin-bottom: 20px;
}
#about .flex-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#about .item {
  width: 48%;
  text-align: left;
}
#about .item img {
  width: 100%;
}

/*-------------------------------------------
menu.html
-------------------------------------------*/
#menu .sec-title {
  text-align: center;
  margin-bottom: 20px;
}
#menu .flex-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#menu .item {
  width: 48%;
  text-align: left;
}
#menu .item img {
  width: 100%;
}
#menu .item p {
  text-align: center;
  margin-bottom: 10px;
}

/*-------------------------------------------
reserve.html
-------------------------------------------*/
#reserve .sec-title {
  text-align: center;
  margin-bottom: 20px;
}
#reserve .item p {
  text-align: center;
}
.reserve {
  margin-bottom: 50px;
}
.tel a{
	margin: 30px 24px;
	color: white;
	font-family: "Playfair Display", serif;
	font-optical-sizing: auto;
	font-size: 2.5em;
	text-decoration: none;
}


/*-------------------------------------------
SP
-------------------------------------------*/
@media screen and (max-width: 767px) {
  .body {
    background-size: 100%;
  }
  .hamburger {
    visibility: visible;
    display: contents;
  }
  .hamburger img {
    margin-top: 20px;
    margin-bottom: 10px;
  }

  /* .video_wrapper video {
    width: 100%;
    height: 100%;
  } */
  ul.gnav{
    visibility: hidden;
  }
  .news-list .item a{
    flex-wrap: wrap;
    text-align: left;
  }
  .news-list .item .date{
    min-width: 100px;
  }

/*-------------------------------------------
画像切り替え用アニメーション
-------------------------------------------*/
  .container{
    max-height: 380px;
    max-width: 720px;
  }

  /*-------------------------------------------
  index.htmlのMagazine
  -------------------------------------------*/
  #magazine {
    margin-top: -250px;
    padding-bottom: 20px;
  }  
  .text {
    font-size: 0.9rem;
  }

  /*-------------------------------------------
  News
  -------------------------------------------*/
  #news {
    padding-top: 0;
    margin-bottom: 50px;
  }
  .news-list .item .title{
    text-align: left;
  }
  .news-list .item .title:first-child{
    text-align: center;
  }


  /*-------------------------------------------
  Information
  -------------------------------------------*/
  .information .flex-item {
    display: block;
  }
  .information .item {
    width: 100%;
    text-align: center;
  }
  .information .item img {
    width: 100%;
  }
  .information .item p {
    margin-bottom: 30px;
    text-align: left;
  }
  .information .item p:last-child {
    margin-bottom: 20px;
  }
  .i-table  {
    width: 100%;
  }
  .i-table tbody th {
    display: block;
    border-top: 0.1rem solid #9b9b11;
    border-bottom: none;
  }
  .i-table tbody td {
    display: block;
    border-bottom: none;
  }
  .i-sns {
    margin-top: 20px;
  }

  /*-------------------------------------------
  Access
  -------------------------------------------*/
  #access {
    padding-top: 30px;
    margin-bottom: 40px;
  }


    /*-------------------------------------------
  about.htmlとmenu.htmlとreserve.htmlの共通設定
  -------------------------------------------*/
  #about, #menu, #reserve  {
    margin-top: -250px;
  }
  #about .flex-item, 
  #menu .flex-item {
    display: block;
  }
  #about .item,
  #menu .item {
    width: 100%;
    text-align: center;
  }
  #about .item img, 
  #menu .item img {
    width: 100%;
  }
  #about .item p {
    margin-bottom: 30px;
    text-align: left;
  }
  #menu .item p {
    margin-bottom: 30px;
    text-align: center;
  }

  /*-------------------------------------------
  reserve.html
  -------------------------------------------*/
  .tel {
    font-size: 2em;
  }

    /*-------------------------------------------
  強制改行
  -------------------------------------------*/
  .sp {
    display: block;
    }
}

