/* === 共通・リセット === */
html, body {
  margin: 0;
  padding: 0;
  font-family: 'Kosugi Maru', sans-serif;
  background-color: #FAF8F2;
  color: #333;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* === 映像トップ === */
.hero-wrapper {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  transition: opacity 0.5s ease;
}

.hero-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logo:hover {
  transform: scale(1.05);
}
.logo.menu-open {
  background-color: #836953;
  box-shadow: none;
}

.clear {
  clear:both;
}

/* === 写真雑誌風セクション === */
.section-photo-magazine {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  padding: 3rem 0;
}
.photo-section {
  width: 100%;
}
.photo-section img {
  width: 100%;
  height: auto;
  display: block;
}
.caption {
  padding: 1rem 1.5rem;
  color: #333;
}
.caption h2 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}
.caption p {
  font-size: 1rem;
  line-height: 1.7;
}

.nav-menu.show {
  transform: translateX(0);
  opacity: 1;
}
.nav-menu button {
  width: 100px;
  height: 100px;
  background-color: #D07C49;
  color: white;
  font-size: 0.9rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.5rem;
}
.nav-menu button:hover {
  background-color: #A55E32;
}
.nav-menu .close-btn {
  width: 100%;
  height: 40px;
  font-size: 1rem;
  flex-basis: 100%;
  margin-bottom: 8px;
  background-color: #ffd027;
  border-radius: 8px;
  grid-column: 1 / -1;
  justify-self: center;
  color:#000;
}
.nav-menu .close-btn:hover {
  background-color: #A55E32;
}

/* === メインコンテンツ === */
.main-container {
  padding-left: 0;
  display: none;
  flex-direction: column;
  transition: opacity 0.5s ease;
}
.main-container.show {
  display: flex;
  opacity: 1;
}

/* === モーダル === */
body.modal-open {
  overflow: hidden;
}
.modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.modal-overlay.show {
  display: flex;
  animation: fadeIn 0.3s ease;
}

.modal-close:hover {
  color: #D07C49;
}
.modal-content.hide {
  animation: modalFadeOut 0.4s ease-out forwards;
}

/* 表示アニメーション */
@keyframes modalFadeIn {
  0% {
    opacity: 0;
    transform: scale(0.95) translateY(20px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* 非表示アニメーション */
@keyframes modalFadeOut {
  0% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
  100% {
    opacity: 0;
    transform: scale(0.95) translateY(20px);
  }
}

/* === 情報エリアグリッド === */
.info-grid {
  display: grid;
  grid-template-columns: 7em 1fr;
  gap: 0.5em 1em;
  margin-bottom: 2rem;
}
.info-grid .label {
  font-weight: bold;
  text-align: left;
}
.info-grid .value {
  text-align: left;
  word-break: break-word;
}

/* === 画像行表示 === */
.image-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.image-row img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* === モーダル開くボタン（例示用） === */
.open-modal-btn {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: #D07C49;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  margin: 2rem;
}
.open-modal-btn:hover {
  background-color: #A55E32;
}

/* テーブル（料金） */
.modal-content table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 1em;
}
.modal-content th {
  background-color: #f4f4f4;
  color: #000;
  font-weight: bold;
}
.modal-content td, .modal-content th {
  border: 1px solid #ccc;
  padding: 8px 12px;
}
.modal-content tbody tr:nth-child(even) {
  background-color: #fafafa;
}

/* リスト */
.modal-content ul {
  padding-left: 1.4em;
  line-height: 1.6;
}
.modal-content li {
  margin-bottom: 0.5em;
}
.modal-content li::marker {
  color: #a52a2a;
}

/* リンク・強調 */
.modal-content a {
  color: #0077cc;
  text-decoration: underline;
}
.modal-content a:hover {
  text-decoration: none;
}

.close-calendar {
  float: right;
  font-size: 1.5em;
  background: transparent;
  border: none;
  cursor: pointer;
}

