/* 全体のリセット */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Noto Sans JP', sans-serif;
}

body {
  background-color: #ffffff;
    font-family: "Noto Sans JP", sans-serif; /* 好きなフォントに変更OK */
    color: #333; /* 全体の文字色 */
}

/* ヘッダー */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* ロゴ */
.logo {
  width: 150px;
}

/* ナビゲーション */
.nav-menu {
  display: flex;
  gap: 20px;
}

.nav-menu a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  transition: 0.3s;
}

.nav-menu a:hover {
  color: #888;
}

/* ハンバーガーメニュー */
.menu-btn {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  color: black;
}

/* スマホ表示でメニュー非表示 */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 60px;
    right: 20px;
    background: white;
    flex-direction: column;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }

  .nav-menu a {
    padding: 10px;
    display: block;
    color: black;
  }

  .menu-btn {
    display: block;
    color: black;

  }
}

.nav-menu.active {
  display: flex; /* メニューを表示する */
}

/* 🌟 ファーストビュー全体 */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ddd; /* 背景色（画像がないときの予防） */
}

/* 🌟 テキストエリア（中央配置） */
.hero-content {
  position: absolute;
  bottom: 8%;
  left: 5%;
  color: white;
  text-align: left;
  z-index: 10;
}

.hero-content h1 {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 5px;
}

.hero-content p {
  font-size: 18px;
}

/* PC＆モバイル共通のスライドショー（デフォルトは表示） */
.hero-slider {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
}

/* スライドショーの画像 */
.hero-slider img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

/* 🌟 モバイル用の動画 */
.hero-video {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0; /* デフォルトは非表示 */
  transition: opacity 1s ease-in-out;
}

/* 🎞️ モバイル時の動画を表示（スライドショーを非表示） */
@media screen and (max-width: 768px) {
  .hero-slider {
      opacity: 0; 
  }

  .hero-video {
      opacity: 1 !important; 
  }
}



/* セクションスタイル */


/* Conceptセクション全体 */
#concept {
  text-align: center; /* 中央揃え */
  padding: 60px 20px; /* 余白をつける */
}

/* 見出し */
#concept h2 {
  font-size: 28px; /* 見出しを少し大きく */
  color: #76805D; /* 落ち着いたカラー */
  margin-bottom: 20px;
}

/* テキスト */
#concept p {
  font-size: 18px;
  line-height: 1.8;
  color: #333;
  max-width: 700px; /* 文章の横幅を制限して読みやすく */
  margin: 0 auto; /* 中央揃え */
}

/* 太字 */
#concept p strong {
  color: #5a624f; /* 少し濃いめの色で強調 */
  font-weight: bold;
  letter-spacing: 1px;
}

.br-sp {
  display: none;
}

/* 🌟 スマホ用（フォントサイズ調整 & 行間調整） */
@media screen and (max-width: 768px) {
  #concept h2 {
      font-size: 24px; /* スマホ時は少し小さく */
  }

  #concept p {
      font-size: 16px;
      line-height: 1.6;
  }

  .br-sp {
    display: block;
  }
}



/* セクションごとにヘアライン（細いボーダー）を入れる */
.section {
  padding: 50px 20px;
  border-bottom: 1px solid #C7D2AB; /* ヘアラインの色 */
  opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;

}

.section.show {
  opacity: 1;
  transform: translateY(0);
}


/* 最後のセクションのボーダーを消す */
.section:last-child {
  border-bottom: none;
}

/* 見出しのスタイル */
.section h2 {
  font-size: 28px; /* 見出しを少し大きめに */
  font-weight: bold;
  color: #76805D; /* 見出しの色 */
  font-family: "Playfair Display", serif; /* おしゃれなフォントに（好きなフォントに変更OK） */
  text-align: center;
  margin-bottom: 20px;
}

.menu-item {
  display: flex;
  align-items: center; /* 画像とテキストの高さを揃える */
  justify-content: space-between; /* 両端に適度な余白 */
  gap: 20px; /* 画像とテキストの間に余白 */
  max-width: 900px; /* コンテンツ幅を制限 */
  margin: 40px auto; /* 上下に40pxずつの余白を追加（←画像がくっつかないようにする） */
}

.menu-item img {
  width: 40%; /* 画像の幅 */
  max-width: 400px; /* 画像サイズの上限 */
  height: auto;
}

.menu-text {
  width: 55%; /* テキストエリア */
  text-align: left; /* 左揃え */
}

.menu-text h3 {
  font-size: 22px;
  color: #A9B5BA !important;
  margin-bottom: 8px;
}

.menu-text p {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  text-align: left; /* ←ここを追加！（PCでもスマホでも左揃えにする） */
}

/* 📱 レスポンシブ対応（スマホ＆タブレット） */
@media screen and (max-width: 768px) {
  .menu-item {
      flex-direction: column; /* 縦並びに */
      text-align: center;
      margin: 30px auto; /* スマホ時も余白を開ける */
  }

  .menu-item img {
      width: 80%;
  }

  .menu-text {
      width: 90%;
      text-align: left; /* スマホでも左揃え */
  }

  .menu-text h3 {
      font-size: 18px;
  }

  .menu-text p {
      font-size: 14px;
      line-height: 1.6;
  }
}





/* スタッフの名前の見出し */

.staff h3 {
  font-size: 22px;
  color: #A9B5BA !important;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.staff h3::after {
  content: "";
  flex-grow: 1;
  height: 2px;
  background-color: #A9B5BA !important;
}


.staff {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px; /* 要素間の余白 */
  max-width: 900px;
  margin: 0 auto;
}

.staff div {
  max-width: 400px;
}

.staff img {
  width: 300px; /* 画像サイズ調整 */
  height: auto;
  object-fit: cover;
  border-radius: 10px; /* 角丸 */
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.2); /* 影を追加 */
}

.staff h3 {
  font-size: 22px;
  color: #76805D; /* メインカラー */
  margin-bottom: 8px;
}

.staff p {
  font-size: 16px;
  line-height: 1.6;
  text-align: left;
}

/* 📱 モバイル用（縦並びにする） */
@media (max-width: 768px) {
  .staff {
      flex-direction: column;
      align-items: center;
      text-align: center;
  }

  .staff div {
      max-width: 100%;
  }

  .staff img {
      width: 80%; /* 幅を大きめに */
  }
}




/* コンテンツの間隔調整 */
p {
  font-size: 16px;
  line-height: 1.8;
  text-align: center;
  margin: 0 auto;
  max-width: 800px; /* 読みやすい幅に */
}

.access-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 900px;
  margin: 40px auto;
  padding: 20px;
  border: 1px solid #C7D2AB; /* ヘアライン */
  border-radius: 10px;
  background: #fff;
}

.access-details {
  width: 45%;
  min-width: 280px;
}

.access-details p {
  font-size: 16px;
  color: #333;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.access-details i {
  color: #76805D; /* アイコンの色 */
  margin-right: 10px;
  font-size: 18px;
}

.access-map {
  width: 50%;
  min-width: 300px;
}

.access-map iframe {
  width: 100%;
  height: 300px;
  border-radius: 8px;
}

/* 📱 レスポンシブ対応 */
@media screen and (max-width: 768px) {
  .access-info {
      flex-direction: column;
      align-items: center;
      text-align: left;
  }

  .access-details,
  .access-map {
      width: 100%;
  }

  .access-map iframe {
      height: 250px;
  }

  .access-details p {
      display: flex;
      flex-wrap: wrap; /* 改行を綺麗にする */
  }
}





/* フッター固定ボタン */
.fixed-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #333;
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  z-index: 1000;
}

.fixed-footer a {
  flex: 1;
  text-align: center;
  color: #fff;
  border: 1px solid #fff; /* 白枠 */
  text-decoration: none;
  font-size: 16px;
  padding: 12px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  background: #555;
  transition: 0.3s;
}

.fixed-footer a:hover {
  background: #777;
}

.fixed-footer i {
  margin-right: 8px;
  font-size: 20px;
}



/* スマホ表示ではボタン大きめ */
@media (max-width: 768px) {
  .fixed-footer a {
    font-size: 14px;
    padding: 15px 0;
  }
}


/* 🔹 ファーストビュー下のお知らせボックス */
.notice {
  background: #F8F8F8;
  color: #333;
  text-align: center;
  padding: 15px;
  border-left: 5px solid #C7D2AB;
  font-size: 16px;
  line-height: 1.6;
  max-width: 800px; /* PCでは最大800px */
  width: 90%; /* 画面幅の90%にする */
  margin: 30px auto;
  border-radius: 5px;
  padding-left: 20px;
  padding-right: 20px;
}

/* 📱 モバイル対応 */
@media screen and (max-width: 768px) {
  .notice {
    font-size: 14px;
    padding: 10px;
    margin: 20px auto; /* 自動で中央寄せ */
    width: 90%; /* モバイルでも少し余白を確保 */
    border-left: 4px solid #C7D2AB; /* モバイルでは少し細く */
    }
}

.contact-details a {
  color: inherit;
}

.contact-details i {
  color: #76805D !important;  /* アイコンの色 */
}

.contact-details a svg {
  fill: #76805D !important;
}

/* 🔹 Accessセクションの「移転しました」部分 */
.moved {
  font-size: 14px;
  color: #C75D5D; /* 赤っぽい落ち着いた色で目立たせる */
  font-weight: bold;
}

/* 📱 モバイル対応 */
@media screen and (max-width: 768px) {
  .notice {
    font-size: 14px;
    padding: 10px;
    margin: 20px auto;
  }
  
  .moved {
    font-size: 12px;
  }
}
