html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "San Francisco", sans-serif;
  background: #fff;
  color: #000;
  overflow-x: hidden;
}

/* ハンバーガー初期状態（PCでは非表示） */
.menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
}

.menu {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  padding: 0.5rem 1%;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.menu ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  padding-right: 20px;
}

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

.menu a.active {
  color: #007aff;
  font-weight: bold;
  border-bottom: 2px solid #007aff;
}

.logo {
  height: 40px;
}

.video-section {
  height: 100vh;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.95);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.hero-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.4);
  padding: 2rem;
  border-radius: 12px;
}

.hero-overlay h1,
.hero-overlay h2 {
  font-size: 2.5rem;
  line-height: 1.4;
  margin: 0;
  font-weight: 600;
}

.image-section {
  padding: 4rem 2rem;
  text-align: center;
}

.image-section img {
  max-width: 90%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.image-section img:hover {
  transform: scale(1.05);
}

.rss-section {
  padding: 4rem 2rem;
}

.rss-list {
  list-style: none;
  padding: 15px;
  margin: 0;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.rss-list li {
  margin-bottom: 1rem;
  font-size: 1rem;
}

.rss-list a {
  color: #007aff;
  text-decoration: none;
  font-weight: 500;
}

.rss-list a:hover {
  text-decoration: underline;
}

@media screen and (max-width: 959px) {
  /* 959px以下に適用されるCSS（タブレット用） */
}

@media screen and (max-width: 480px) {
  /* 480px以下に適用されるCSS（スマホ用） */

  .menu {
    padding: 0px;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .menu ul {
    display: none;
    flex-direction: column;
    gap: 1rem;
    background: white;
    position: absolute;
    top: 60px;
    right: 2rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    padding: 1rem 1.5rem;
    border-radius: 8px;
  }

  .menu ul.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
    z-index: 1001;
  }

  .nav-links {
    position: absolute;
    top: 60px;
    right: 2rem;
    background: white;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .hero-overlay {
    position: absolute;
    color: white;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.4);
    padding: 2rem;
    border-radius: 12px;
    width: 85%;
    padding: 10px;
  }

  .hero-overlay h1,
  .hero-overlay h2 {
    font-size: 1.5rem;
    line-height: 2;
    margin: 0;
    font-weight: 400;
  }

  .image-section {
    padding: 2rem 2rem;
    text-align: left;
  }

  .image-section img {
    max-width: 100%;
  }
}

footer {
  text-align: center;
  padding: 4rem 2rem;
  background: #f5f5f5;
}

.cta-link {
  font-size: 1.5rem;
  padding: 1rem 2rem;
  /* background-color: #007aff; */
  background-color: #f57600;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.cta-link:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(0,122,255,0.4);
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.site-footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.9rem;
  background-color: #f5f5f5;
  color: #555;
}

.site-footer a {
  color: #007aff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.site-footer a:hover {
  color: #0051b3;
  text-decoration: underline;
}

#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.spinner {
  width: 80px;
  height: 80px;
  stroke: #007aff;
  stroke-width: 8;
  fill: none;
  stroke-dasharray: 250;
  stroke-dashoffset: 250;
  animation: spin 2s linear infinite, draw 1.5s ease-out forwards;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

