@charset "UTF-8";

/* ====== リセット ====== */
* {
  margin: 0;
  padding: 0;
  list-style: none;
  text-decoration: none;
  box-sizing: border-box;
}

/* ====== 全体設定 ====== */
html, body {
  height: 100%;
  font-family: "Noto Sans JP", sans-serif;
  background: linear-gradient(160deg,
    #fffdf6 0%,     /* 明るいアイボリー */
    #fff9e6 25%,     /* 柔らかなクリーム */
    #f6ffe3 55%,     /* 黄緑の光 */
    #e7f8ff 85%,     /* 空色 */
    #fffbe6 100%);   /* 優しい白 */
  color: #4a4a3a;
  overflow-x: hidden;
}

/* ====== 光の演出（花畑の空気感） ====== */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 25% 25%, rgba(255, 230, 150, 0.25), transparent 70%),
    radial-gradient(circle at 80% 35%, rgba(200, 255, 200, 0.25), transparent 70%),
    radial-gradient(circle at 50% 80%, rgba(255, 245, 200, 0.25), transparent 70%);
  z-index: -1;
  animation: gentleGlow 10s ease-in-out infinite alternate;
}

@keyframes gentleGlow {
  from { opacity: 0.6; filter: blur(0px); }
  to { opacity: 1; filter: blur(3px); }
}

/* ====== レイアウト全体 ====== */
#wrap {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ====== ヘッダー ====== */
header {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 8px rgba(255, 230, 180, 0.3);
}

header h1 {
  text-align: center;
  padding: 1.5rem 1rem 0.8rem;
  font-family: "Playfair Display", serif;
  font-size: 2.4rem;
  color: #7a6a3a;
  letter-spacing: 2px;
}

/* ====== ナビゲーション ====== */
nav ul {
  text-align: center;
  padding-bottom: 1rem;
}

nav ul li {
  display: inline-block;
  margin: 0 14px;
}

nav ul li a {
  font-weight: bold;
  color: #6a633f;
  transition: all 0.3s ease;
  position: relative;
}

nav ul li a:hover {
  color: #d8a64c;
}

nav ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #ffdd80, #a8e5a0);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.4s ease;
}

nav ul li a:hover::after {
  transform: scaleX(1);
}

/* ====== メインビジュアル ====== */
.main-visual {
  width: 100%;
  max-height: 480px;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.main-visual img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ====== メインコンテンツ ====== */
main {
  flex-grow: 1;
  padding: 3rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* セクション */
section {
  background: rgba(255, 255, 255, 0.8);
  padding: 2.5rem;
  margin-bottom: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(255, 230, 150, 0.3);
  backdrop-filter: blur(10px);
}

/* セクションタイトル */
section h2 {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  color: #9b7a2e;
  margin-bottom: 1.2rem;
  text-align: center;
  position: relative;
}

section h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  transform: translateX(-50%);
  width: 70px;
  height: 2px;
  background: linear-gradient(90deg, #ffdd80, #a8e5a0);
}

/* セクションテキスト */
section p {
  color: #5e5738;
  line-height: 1.9;
  font-size: 1.05rem;
  text-align: center;
}

/* ====== カラムレイアウト ====== */
/* ====== ギャラリー（横幅・高さとも完全固定） ====== */
.gallery-container {
  display: grid;
  grid-template-columns: repeat(2, 400px); /* ★ 横幅固定で2列 */
  gap: 24px;
  justify-content: center; /* 中央寄せ */
  margin-top: 20px;
}

/* カード全体を完全固定 */
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  overflow: hidden;
  text-align: center;
  width: 400px;   /* ★ 横幅固定 */
  height: 480px;  /* ★ 高さ固定 */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}



/* 画像サイズも固定 */
.card img {
  width: 100%;
  height: 250px; /* ★ 画像高さ固定 */
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
}

/* タイトルとテキスト */
.card h3 {
  margin-top: 12px;
  font-size: 1.2rem;
  color: #333;
}

.card p {
  font-size: 0.95rem;
  color: #666;
  margin-top: 8px;
  padding: 0 10px;
  line-height: 1.6;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* スマホでも2列固定（縮小表示） */
@media (max-width: 850px) {
  .gallery-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .card {
    width: 100%;
    height: 420px; /* 少し低めに調整 */
  }
  .card img {
    height: 220px;
  }
}




/* ====== フッター ====== */
footer {
  background: rgba(255, 255, 255, 0.7);
  color: #6b623a;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 -2px 8px rgba(255, 230, 180, 0.3);
}

/* ====== ABOUTセクション ====== */
.about-section {
  margin: 0 auto 3rem;
  font-family: "Noto Sans JP", sans-serif;
  background: linear-gradient(160deg,
    #fffdf6 0%,      /* アイボリー */
    #fff9e6 20%,     /* クリーム */
    #f6ffe3 55%,     /* 黄緑 */
    #e7f8ff 85%,     /* 空色 */
    #fffaf0 100%);   /* ホワイト */
  color: #3b3b2f; /* ナチュラルなブラウン */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(200, 200, 150, 0.3);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* タイトル */
.about-section h2 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  color: #4a4a2a;
  margin-bottom: 1.5rem;
  position: relative;
}

.about-section h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 70px;
  height: 2px;
  background: linear-gradient(90deg, #ffe799, #b7e69e);
}

/* テキスト */
.about-section p {
  font-size: 1.1rem;
  line-height: 1.9;
  color: #4a4a3a;
  max-width: 720px;
}

.about-section strong {
  color: #dca84f;
  font-weight: 700;
}

/* ====== プロフィール部分 ====== */
.profile {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.profile-img {
  flex: 0 0 160px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(200, 200, 150, 0.3);
  border: 3px solid rgba(255, 255, 255, 0.8);
}

.profile-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-text {
  max-width: 420px;
  text-align: left;
}

.profile-text h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.4rem;
  color: #5b4e2d;
  margin-bottom: 0.5rem;
}

.profile-text p {
  font-size: 1rem;
  color: #4a4a3a;
  line-height: 1.8;
}

/* ====== Search セクション====== */
.search-section {
  background: rgba(255, 255, 255, 0.8);
  padding: 3rem 2rem;
  margin: 0 auto 3rem;
  max-width: 1200px;
  width: 100%;
 border-radius: 20px;
  box-shadow: 0 6px 20px rgba(255, 230, 150, 0.3);
  backdrop-filter: blur(10px);
  text-align: center;
}

/* タイトル */
.search-section h2 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  color: #9b7a2e;
  margin-bottom: 1.5rem;
  position: relative;
}

.search-section h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 70px;
  height: 2px;
  background: linear-gradient(90deg, #ffdd80, #a8e5a0);
}

/* 内部リスト */
.search-section ul {
  padding-top: 1.5rem;
}

.search-section li {
  margin: 14px 0;
}

/* ボタン風リンク */
.search-section a {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.6);
  color: #5e5738;
  font-weight: 600;
  font-size: 1.1rem;
  box-shadow: 0 3px 10px rgba(230, 200, 140, 0.25);
  transition: 0.3s ease;
}

/* ホバー効果 */
.search-section a:hover {
  background: linear-gradient(90deg, #fff4d0, #eaffd8);
  transform: translateY(-3px);
  color: #a6782e;
  box-shadow: 0 6px 14px rgba(230, 200, 140, 0.35);
}


/* ====== ドロップダウンメニュー（共通） ====== */
nav ul li {
  position: relative;
}

nav ul li ul.dropdown {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(255, 220, 150, 0.4);
  padding: 0.6rem 0;
  min-width: 160px;
  text-align: left;
  z-index: 100;
}

/* PCではホバーで開く */
@media (hover: hover) {
  nav ul li:hover > ul.dropdown {
    display: block;
  }
}

/* メニュー内のリンク */
nav ul li ul.dropdown li {
  display: block;
  margin: 0;
}
nav ul li ul.dropdown li a {
  display: block;
  padding: 0.6rem 1rem;
  color: #6a633f;
  font-weight: normal;
  transition: background 0.3s, color 0.3s;
}
nav ul li ul.dropdown li a:hover {
  background: linear-gradient(90deg, #fff6cc, #e8f9d9);
  color: #a6782e;
}

/* スマホ・タブレット時の展開状態 */
nav ul li.active > ul.dropdown {
  display: block;
}

/* ====== ページフェード演出 ====== */
body {
  opacity: 0;
  transition: opacity 0.8s ease;
}

/* ページ読み込み時にフェードイン */
body.fade-in {
  opacity: 1;
}

/* ページ遷移時にフェードアウト */
.fade-out {
  opacity: 0;
  transition: opacity 0.5s ease;
}


