/* ===== 共通スタイル ===== */
body {
  margin: 0;
  font-family: 'Lora', serif;
  background-color: #fffdf7;
  color: #444;
  line-height: 1.6;
}

main {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

main h2 {
  font-size: 1.6rem;
  color: #2a7b6f;
  margin-top: 2rem;
  border-bottom: 2px solid #d6eadd;
  padding-bottom: 0.3rem;
}

/* ===== ヘッダー関連 ===== */
header {
  background-color: #f2e6d9;
  padding: 1.5rem;
  text-align: center;
}

.top-header,
.header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.logo-area {
  margin-right: 10px;
}

.logo-mark {
  width: 50px;
  height: auto;
  margin-top: 10px;
}

.hero {
  text-align: center;
  padding: 1rem 1rem;
}

.hero-title {
  font-size: 2.4rem;
  margin: 0;
  color: #008833;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
  white-space: nowrap;
}

/* ===== メインタイトル統一 ===== */
.main-title {
  font-size: 1.8rem;
  text-align: center;
  margin-top: 2rem;
  color: #7d9771;
  display: block;
  position: relative;
  z-index: 10;
  background-color: transparent;
  padding: 1rem;
}
main h2 {
  color: #7d9771;
}
/* モバイル向け3行分割 */
@media screen and (max-width: 768px) {
  .main-title span {
    display: block;
    margin-bottom: 0.3em;
  }

  .main-title .line2 {
    font-size: 1.2em;
    line-height: 1;
    color: #a07f6f;
    font-weight: normal;
  }
}

/* ===== スライダー（ヒーロー） ===== */
.hero-slider {
  position: relative;
  width: 100%;
  height: 70vh;
  overflow: hidden;
}
.hero-slider::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(to bottom, #fffaf3, transparent);
  z-index: 1;
  pointer-events: none;
}

.slider-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

/* ===== キャッチテキスト（全ページ統一） ===== */
.catch-text {
  position: absolute;
  bottom: 30%;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.2);
  padding: 0.8em 1.2em;
  border-radius: 10px;
  text-align: center;
  z-index: 2;
}

.catch-text h1 {
  margin: 0;
  font-size: 2rem;
  color: white;
  font-family: 'Lora', serif;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

@media screen and (max-width: 768px) {
  .catch-text {
    bottom: 20%;
    padding: 0.6em 1em;
  }

  .catch-text h1 {
    font-size: 1.4rem;
  }
}

/* ===== ナビゲーション ===== */
nav {
  position: relative;
  z-index: 10;
  margin-bottom: 1rem;
}

nav ul {
  display: flex;
  justify-content: center;
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

nav a {
  display: inline-block;
  text-align: center;
  text-decoration: none;
  color: #444;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  line-height: 1.2;
}

nav a:hover {
  background-color: #e1f0e7;
  transform: translateY(-2px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

nav a .en {
  display: block;
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 0.3rem;
}

nav a .jp {
  display: block;
  font-size: 0.75rem;
  color: #444;
  line-height: 1;
  margin: 0;
  padding: 0;
}
/* ===== ハンバーガーメニュー（モバイル） ===== */
#menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8em;
  cursor: pointer;
  color: #444;
}

@media screen and (max-width: 768px) {
  #menu-toggle {
    display: block;
    color: #006600;
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 10000;
  }
  nav ul.menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 1.5rem;
    right: 1rem;
    background-color: rgba(216, 230, 222, 0.85);
    padding: 0.4em 0.6em;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 150px;
    max-width: 180px;
  }

  nav ul.menu.active {
    display: flex;
  }

  nav ul.menu li {
    margin-bottom: 0.4em;
  }

  nav ul.menu li:last-child {
    margin-bottom: 0;
  }

  nav ul.menu li a {
    font-size: 0.9em;
    padding: 0.4em 0.8em;
    color: #3f6044;
    background-color: rgba(216, 230, 222, 0.85);
    border-radius: 5px;
  }

  nav ul.menu li a:hover {
    background-color: #cfe0d6;
  }
}
/* ===== ヨガ講師紹介 ===== */
.instructor-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 2rem;
  margin-top: 1.5rem;
}

.instructor {
  width: 280px;
  text-align: center;
}

.instructor-photo {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 1rem;
}

.instructor h3 {
  margin: 0.5rem 0 0.3rem;
  font-size: 1.2rem;
  color: #3f6044;
}

.instructor p {
  font-size: 0.95rem;
  color: #333;
}

@media screen and (max-width: 768px) {
  .instructor-wrapper {
    flex-direction: column;
    align-items: center;
  }
}

/* ===== ボタン類 ===== */
.apply-button {
  display: inline-block;
  padding: 0.8em 2em;
  background-color: #6b8f71;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  text-align: center;
  margin: 2em auto;
}

.apply-button:hover {
  background-color: #5f7f63;
}
.apply-button-parent {
  text-align: center;
}
/* トップに戻るボタン */
.back-to-top {
  text-align: right;
  margin-top: 2em;
  margin-bottom:0;
  display: block;
  z-index: 10000;
  }
   .back-to-top a {
    display: inline-block;
    padding: 0.5em 1em;
    background-color: #e6f5ec;
    color: #006600;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1em;
  }

  .back-to-top a:hover {
    background-color: #ccedd8;
  }
@media screen and (max-width: 768px) {
  .back-to-top {
    display: block;
  }

  .back-to-top a {
    display: inline-block;
    padding: 0.5em 1em;
    background-color: #e6f5ec;
    color: #006600;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1em;
  }

  .back-to-top a:hover {
    background-color: #ccedd8;
  }
}
/*Marcheについて*/
#marche-vendors {
  margin-top: 3rem;
  padding: 0 1rem;
}

.vendor-list {
  list-style: none;
  padding-left: 0;
  margin-top: 1rem;
}

.vendor-list li {
  padding: 0.5em 0;
  border-bottom: 1px dashed #b8ccb8;
  font-size: 1rem;
}

.vendor-list li strong {
  color: #6b8f71;
}
/*お問合せページ*/
#contact-info {
  max-width: 800px;
  margin: 2em auto;
  padding: 1em;
  text-align: center;
}
.map-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9比率 */
  height: 0;
  overflow: hidden;
}
/*イベント詳細の地図配置*/
.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.map-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  margin-top: 1em;
}

/* ===== フッター ===== */
footer {
  background-color: #f2e6d9;/* ← ヘッダーと揃える！ */
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  margin-top: 2rem;
  color: #444;/* 優しいグレー文字で読みやすく */
  border-top: 1px solid #e5e5e5;
}

footer .sns-icons a {
  margin: 0 0.5rem;
  font-size: 1.8rem;
  text-decoration: none;
  transition: transform 0.3s;
}

footer .sns-icons a:hover {
  transform: scale(1.1);
}

footer .sns-icons a[aria-label="Instagram"] {
  color: #E1306C;
}

footer .sns-icons a[aria-label="Twitter"] {
  color: #000000;
}

footer .sns-icons a[aria-label="Facebook"] {
  color: #1877F2;
}
/* ===== FAQスタイル ===== */
.faq-container {
  max-width: 800px;
  margin: 2em auto;
  padding: 1em;
}

.question {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px dashed #cce3d5;
}

.question h2 {
  font-size: 1.3rem;
  color: #3f6044; /* ヨガ講師の見出しと近い色 */
  margin-bottom: 0.5rem;
}

.question p {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
}
/*gallery部分*/
#gallery {
  margin: 0;
  font-family: 'Helvetica Neue', sans-serif;
  background-color: #f9f8f6;
  color: #333;
}

.slide-big {
  position: relative;
  text-align: center;
  padding: 2rem;
  background-color: #eaeaea;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 2rem;
  box-sizing: border-box;
}

@media screen and (max-width: 768px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

.photo-grid img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  transition: transform 0.3s ease-in-out, opacity 0.3s;
  cursor: pointer;
}

.photo-grid img:hover {
  transform: scale(1.05);
  opacity: 0.9;
}
.photo-grid img.active {
  border: 3px solid #555;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.photo.large {
  grid-column: span 3;
}
main {
  max-width: 960px;
  margin: 0 auto;
}
.main-display {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem 0;
  background: #fff;
  max-width: 960px;
  margin: 0 auto;
}


.main-display img#mainImage {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,0,0,0.15);
}

#mainText {
  display: none; /* hidden by default */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2.5rem;
  color: white;
  background: rgba(0,0,0,0.4);
  padding: 0.5rem 1rem;
  border-radius: 8px;
}

@media screen and (max-width: 600px) {
  .hero h1,
  #mainText {
    font-size: 1.5rem;
    padding: 0.3rem 0.5rem;
  }

  .main-display img {
    max-width: 100%;
  }
  button {
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
  }
}
button {
  font-size: 1rem;
  padding: 0.5rem 1rem;
}

.notice-card {
  background-color: #f2e6d9;
  color: #3f6044;
  text-align: center;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  font-style: normal;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  border: 1px solid #e0d4c0;
}
#mainImage.fade {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

#mainImage.show {
  opacity: 1;
}