@charset "utf-8";

/*ヒーロー*/
.hero {
  position: relative;
  height: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  overflow: hidden;
}
.hero img {
  max-width:800px;
}
.hero-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: url('../img/yawasebg.jpg') center/cover no-repeat;
  transform: scale(1.2);
  animation: zoomOut 3s ease-out forwards;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
}
@keyframes zoomOut {
  from {
    transform: scale(1.15);
  }
  to {
    transform: scale(1);
  }
}
.hero h1 {
  font-size: 3.5rem;
  margin: 0;
  font-weight: 900;
  text-shadow: 0 2px 5px rgba(0,0,0,0.7);
}
.hero p {
  font-size: 1.5rem;
  margin-top: 0.5rem;
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}

/* ピックアップイベント：ヒーロー直下で浮かせる */
.pickup-events {
  background: white;
  max-width: 960px;
  margin: -80px auto 3rem auto;
  padding: 1.5rem 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  color: #005D48;
  position: relative;
  z-index: 10;
}
.pick-up-title {
  position:absolute;
  font-size:2rem;
  margin-top:-3.2rem;
  color:#fff;
  background:#005D48;
  padding:0 1.5rem;
  font-weight:bold;
  border-radius:10px 10px 10px 0;
  left:0;
}
.pickup-card {
  background: #F4FFF8;
  border-radius: 12px;
  width:280px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  transition: 0.3s;
  overflow: hidden;
  cursor: pointer;
  text-align: center;
}
.pickup-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
.pickup-events a {
  text-decoration:none;
/*
  display:block;
  width:30%;
  height:100%;
*/
}
.event-thumb {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-bottom: 1px solid #ccc;
}
.event-title {
  font-size: 1.1rem;
  margin: 1rem 0 0.3rem;
  color: #005D48;
  font-weight: 700;
}
.event-date {
  font-size: 0.85rem;
  color: #333;
  margin-bottom: 1rem;
}


/*マップセクション*/
img.map {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/*最新記事セクション*/
.news-section {
  padding: 2rem 1rem;
  text-align:center; /*あとでなおす*/
}
.news-section h2 {
  margin-bottom: 1.5rem;
}
.card-list {
  display: flex;
  gap: 1.3rem;
  flex-wrap: wrap;
  justify-content: center;
}
.card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  overflow: hidden;
  width: 300px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.card:hover {
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  transform: translateY(-6px);
}
.thumb {
  width: 100%;
  height: 180px;
  background: #f0f0f0;
}
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.thumb.no-image {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-size: 0.9rem;
}
.card-content {
  padding: 1rem;
  text-align: left;
}
.card-content time {
  display: block;
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 0.4rem;
}
.card-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}
.card-excerpt {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.4;
}
.more-link {
  margin-top: 1.5rem;
}
.more-link a {
  color: #0073e6;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.more-link a:hover {
  border-color: #0073e6;
}

/*ドキュメンタリーセクション*/
.youtube {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  border: none;
}
.link-button {
  display: inline-block;
  padding: 0.6rem 1.4rem;
  background-color: #005D48;
  color: white;
  text-decoration: none;
  border-radius: 30px;
  margin-top: 1rem;
  font-weight: 700;
  transition: background-color 0.3s ease;
}
.link-button:hover {
  background-color: #004737;
}

@media (max-width: 768px) {
  .pickup-events {
    margin: -60px 1rem 2rem 1rem;
    flex-direction: column;
    align-items: center;
  }
  .pickup-card {
    width: 100%;
  }
.pickup-events a {
  display:block;
  width:100%;
  }
.pick-up-title {
  display:none;
}
}