body {
  margin: 0;
  font-family: fantasy;
  background-color: #663300;
  color: #fff;
  background-image: url(back.jpg);
}

#opening {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}


#image1,
#image2 {
  position: absolute;
  width: 360px;
  height: 450px;
  object-fit: cover;
  transition: opacity 1s ease;
  border-radius: 128px;
  border: 4px solid yellowgreen;
  box-shadow: 0 0 100px yellowgreen;
}


#image1 {
  opacity: 1;
}

#image2 {
  opacity: 0;
}


/* ヘッダー */
header {
  display: flex;
  align-items: center;
  padding: 0.3em;
  border-bottom: 1px solid #fff;
}

.logo {
  height: 40px;
  width: auto;
  background-image: url(back2.jpg);
  border-radius: 8px;
  padding: 5px;
  padding-top: 10px;
  padding-bottom: 8px;
}

h1 {
  color: #990000;
  font-size: 0.8em;
  margin-bottom: 0.5em;
  margin-left: 10px;
  padding: 10px;
  border-radius: 8px;
  background-image: url(back2.jpg);
}

/* メインビジュアル */
/* ギャラリー */
.gallery-container {
  display: flex;
  gap: 0em;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}

.gallery-container img {
  width: 300px;
  height: 200px;
  margin: 3px;
  object-fit: cover;
  border-radius: 8px;
  scroll-snap-align: center;
  animation: fadeSlide 1.5s ease-in-out;
  cursor: zoom-in;
  transition: transform 0.3s ease;
}

.modal{
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 8);
  justify-content: center;
  align-items: center;
}

.modal-content{
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
  animation: zoomIn 0.3s ease;
}

.overlay-text {
  color: white;
  font-size: 1.2em;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 0.5em;
  border-radius: 8px;
}

/* 共通セクション */
section {
  padding: 0.5em;
  border-bottom: 1px solid #fff;
}

.container {
  display: flex;          /* 横並びにする */
  align-items: center;    /* 縦位置を揃える */
  justify-content: space-between; /* 左右に配置 */
}
.text {
  margin-right: 20px;     /* 画像との間に余白 */
}
.image img {
  max-width: 200px;       /* 画像サイズを制御 */
  height: auto;
}




.info,.menu,.prof{
  text-align: center;
}

h2 {
  font-size: 1em;
  margin-bottom: 0.5em;
  color: #990000;
  border-radius: 8px;
  background-image: url(back2.jpg);
  text-align: center;  
  padding: 0.1em;
}

ul {
  list-style: none;
  font-size: 0.9em;
  padding: 0;
}

.menu{
  background-image: url(back3.png);
  background-size: cover;
}

.menu li {
  width: 10em;
  margin: 1em auto;
  padding: 0.3em;
  border-radius: 8px;
  font-weight: bold;
  border: 2px solid #fff;
  background-image: url(back.jpg);
}

.info{
  background-image: url(back4.png);
  background-repeat: repeat;
}

.info li{
  font-size: 1.2em;
  margin: 0.3em;
}

.info p{
  font-weight: bold;
}

.prof{
  background-image: url(back5.png);
  background-size: cover;
}

a{
  color: #fff;
}

@keyframes fadeSlide {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 地図 */
.map iframe {
  border-radius: 8px;
}

/* フッター */
footer {
  color: white;
  text-align: center;
  padding: 1em;
  font-size: 0.9em;
}