body {
  margin: 0;
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #444;
  background-color: #F7F4E9;
  line-height: 1.7;
}

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

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

/* ヘッダー */
header {
  background-color: rgba(247, 244, 233, 0.95);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  backdrop-filter: blur(6px);
  border-bottom: 1px solid #e0dccf;
}

.logomark img {
  width: 200px;
  height: auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 5%;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 18px;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
}

nav li a {
  padding: 4px 10px;
  border-radius: 999px;
}

nav li a:hover {
  background-color: #4F9DA6;
  color: #fff;
  transition: 0.2s;
}

/* ヒーロー */
.hero {
  margin-top: 70px;
  position: relative;
  height: 70vh;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  overflow: hidden;
}

.video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, rgba(0,0,0,0.25), rgba(0,0,0,0.1));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 2.1rem;
  margin-bottom: 10px;
  letter-spacing: 0.12em;
  text-align: center;
}

.hero-sub {
  font-size: 1rem;
  margin-bottom: 22px;
}

.hero-btns {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-primary,
.btn-outline {
  border-radius: 999px;
  padding: 10px 22px;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  display: inline-block;
}

.btn-primary {
  background-color: #4F9DA6;
  color: #fff;
}

.btn-outline {
  background-color: transparent;
  border: 1px solid #fff;
  color: #fff;
}

.btn-primary:hover {
  background-color: #3f7f86;
}

.btn-outline:hover {
  background-color: rgba(255,255,255,0.15);
}

.scroll-indicator {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.8rem;
  opacity: 0.9;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
}

.scroll-indicator span {
  display: block;
  width: 1px;
  height: 26px;
  background-color: #fff;
  margin-top: 4px;
  animation: scroll 1.4s infinite;
}

@keyframes scroll {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(10px); opacity: 0; }
}

/* セクション共通 */
section {
  padding: 60px 0;
}

section:nth-of-type(odd) {
  background-color: #F7F4E9;
}

section:nth-of-type(even) {
  background-color: #FFFFFF;
}

.section-title {
  text-align: center;
  font-size: 1.4rem;
  margin-bottom: 30px;
  color: #2F4F4F;
}

.section-title span {
  font-size: 0.8rem;
  display: block;
  color: #7C8A8A;
  margin-bottom: 4px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ニュース */
.news-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.news-item {
  background-color: #fff;
  border-radius: 12px;
  padding: 12px 16px;
  border: 1px solid #e5e0d0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 0.9rem;
}

.news-title p a {
  font-weight: 600;
}

.news-meta {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.news-date {
  color: #999;
  font-size: 0.8rem;
}

.news-tag {
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 999px;
  background-color: #4F9DA6;
  color: #fff;
}

.news-title {
  flex: 1;
}

.news-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transition: 0.2s;
}

/* フッター */
footer {
  background-color: #2F4F4F;
  color: #f7f4e9;
  padding: 30px 0 18px;
  font-size: 0.85rem;
}

.footer-bottom {
  width: 100%;
  margin: 0;
  padding: 12px 0;
  text-align: center;
}

/* レスポンシブ */
@media (max-width: 768px) {

  /* ヘッダーは縦並びにするが、ヒーローを押し下げないように調整 */
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  nav ul {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px;
  }

  /* ヒーローエリアの高さ問題を解決 */
 /* 100vh を固定せず、スマホで高さを安定させる */
  .hero {
    height: auto;
    min-height: 100vh;
    display: flex;
    align-items: center;   /* ← これが超重要 */
    justify-content: center;
    position: relative;
  }

  /* テキストを中央に固定 */
  .hero-text {
    position: relative; /* absolute をやめるのがポイント */
    top: 0;
    left: 0;
    transform: none;
    width: 90%;
    text-align: center;
    margin: 0 auto;
  }

  .hero-title {
    font-size: 1.8rem;
    line-height: 1.3;
  }




  /* セクションの余白は少し控えめに */
  section {
    padding: 32px 0;
  }
}