/* ===== リセット & 基本 ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green-dark:   #2d6a4f;
  --green-mid:    #40916c;
  --green-light:  #74c69d;
  --green-pale:   #d8f3dc;
  --earth:        #7c5c3b;
  --earth-light:  #f5efe6;
  --text:         #2c2c2c;
  --text-sub:     #5a5a5a;
  --white:        #ffffff;
  --radius:       12px;
  --shadow:       0 4px 16px rgba(0,0,0,.10);
}

body {
  font-family: "Hiragino Kaku Gothic ProN", "BIZ UDPGothic", "Meiryo", sans-serif;
  color: var(--text);
  line-height: 1.8;
  background: var(--white);
}

a { color: inherit; text-decoration: none; }

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== ボタン ===== */
.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.18); }
.btn-primary { background: var(--green-dark); color: var(--white); }

.link-more {
  display: inline-block;
  margin-top: 16px;
  color: var(--green-dark);
  font-weight: bold;
  font-size: .95rem;
  border-bottom: 2px solid var(--green-light);
  padding-bottom: 2px;
  transition: color .15s;
}
.link-more:hover { color: var(--green-mid); }

/* ===== ヒーロー ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #2d6a4f 0%, #40916c 40%, #74c69d 100%);
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,40,20,.55) 0%, rgba(0,60,30,.4) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--white);
  padding: 40px 20px 20px;
}
.hero-method {
  font-size: 1.1rem;
  letter-spacing: .2em;
  opacity: .9;
  margin-bottom: 12px;
  text-shadow: 0 1px 4px rgba(0,0,0,.4);
}
.hero-title {
  font-size: clamp(2rem, 6vw, 3.4rem);
  font-weight: 900;
  letter-spacing: .05em;
  line-height: 1.3;
  margin-bottom: 20px;
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
}
.hero-org {
  font-size: 1.1rem;
  margin-bottom: 32px;
  opacity: .92;
  text-shadow: 0 1px 4px rgba(0,0,0,.4);
}

.hero-catchcopy {
  position: relative;
  z-index: 1;
  width: 100%;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(4px);
  color: var(--white);
  padding: 18px 20px;
  font-size: 1.15rem;
  font-weight: bold;
  letter-spacing: .05em;
  text-shadow: 0 1px 4px rgba(0,0,0,.3);
}

/* ===== セクション共通 ===== */
.section { padding: 64px 0; }
.bg-light { background: var(--earth-light); }

.section-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--green-dark);
  margin-bottom: 28px;
  padding-left: 12px;
  border-left: 5px solid var(--green-light);
}

/* ===== お知らせ ===== */
.news-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.news-list li {
  padding: 14px 18px;
  background: var(--green-pale);
  border-radius: var(--radius);
  font-size: .97rem;
  display: flex;
  align-items: center;
  gap: 12px;
}
.news-date {
  font-weight: bold;
  color: var(--green-dark);
  white-space: nowrap;
  background: var(--white);
  padding: 2px 10px;
  border-radius: 20px;
  font-size: .85rem;
}

/* ===== 紹介 ===== */
.about-text {
  font-size: 1.05rem;
  color: var(--text-sub);
  line-height: 2;
}

/* ===== フォトグリッド ===== */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.photo-item {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--green-pale);
  display: flex;
  align-items: center;
  justify-content: center;
}
.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.photo-item.photo-placeholder::before {
  content: "📷";
  font-size: 2.5rem;
}
.photo-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(0,0,0,.45);
  color: var(--white);
  font-size: .78rem;
  padding: 5px 8px;
  text-align: center;
}
.gallery-caption {
  text-align: center;
  color: var(--text-sub);
  font-size: .95rem;
  margin-top: 8px;
}

/* ===== メニュー ===== */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 10px;
  background: var(--white);
  border: 2px solid var(--green-light);
  border-radius: var(--radius);
  font-weight: bold;
  font-size: .95rem;
  color: var(--green-dark);
  text-align: center;
  transition: background .15s, transform .15s, box-shadow .15s;
  box-shadow: var(--shadow);
}
.menu-btn:hover {
  background: var(--green-pale);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,.12);
}
.menu-btn-featured {
  grid-column: span 3;
  background: var(--green-pale);
  border-color: var(--green-mid);
  font-size: 1.05rem;
}

/* ===== 会員記録 ===== */
.records-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.records-list li {
  padding: 16px 20px;
  background: var(--green-pale);
  border-radius: var(--radius);
  font-size: 1rem;
  border-left: 4px solid var(--green-mid);
}

/* ===== フッター ===== */
.footer {
  background: var(--green-dark);
  color: var(--white);
  text-align: center;
  padding: 40px 20px;
}
.footer-name {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 12px;
}
.footer-contact {
  color: var(--green-light);
  font-size: .95rem;
  border-bottom: 1px solid var(--green-light);
  padding-bottom: 2px;
}
.footer-contact:hover { color: var(--white); border-color: var(--white); }

/* ===== サブページ共通 ===== */
.page-header {
  background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
  color: var(--white);
  padding: 60px 20px 40px;
  text-align: center;
}
.page-header h1 { font-size: 2rem; }
.page-body { padding: 48px 0 80px; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green-dark);
  font-weight: bold;
  margin-bottom: 32px;
  font-size: .95rem;
}
.back-link:hover { text-decoration: underline; }

/* ===== 伝言板 ===== */
.bulletin-post {
  background: var(--white);
  border: 1px solid #dde;
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 14px;
  box-shadow: var(--shadow);
}
.bulletin-post p { margin: 0; }
.bulletin-meta { font-size: .8rem; color: var(--text-sub); margin-top: 6px; }

.write-area {
  background: var(--earth-light);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 32px;
}
.write-area h3 { margin-bottom: 14px; color: var(--green-dark); }
.write-area textarea {
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 12px;
  font-size: .95rem;
  font-family: inherit;
  resize: vertical;
  min-height: 90px;
}
.write-area .btn { margin-top: 10px; }

/* ===== 菌ちゃん畝 ===== */
.beds-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 8px;
}
.bed-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid #e8f5e9;
}
.bed-card-img {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--green-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
.bed-card-img img { width: 100%; height: 100%; object-fit: cover; }
.bed-card-body { padding: 14px 16px; }
.bed-card-body h3 { font-size: 1rem; color: var(--green-dark); margin-bottom: 4px; }
.bed-card-body p { font-size: .88rem; color: var(--text-sub); }

/* ===== レスポンシブ ===== */
@media (max-width: 600px) {
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .menu-grid  { grid-template-columns: repeat(2, 1fr); }
  .menu-btn-featured { grid-column: span 2; }
  .hero-title { font-size: 2rem; }
  .beds-grid  { grid-template-columns: 1fr; }
}
