/**
 * 第4回 フロントページ用CSS
 * sf- prefix (summit front)
 */

/* ===== Base ===== */
body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

/* ===== Loading（第4回：ロゴドンっと表示） ===== */
/* style.css の .logo-final を上書き */
.logo-final {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 320px;
  max-width: 70vw;
  opacity: 0;
}
.logo-final.logo-pop {
  animation: logoPop 0.5s cubic-bezier(0.18, 0.89, 0.32, 1.28) forwards;
}
@keyframes logoPop {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(0.3); }
  60%  { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

/* ===== Hero Title Image ===== */
.hero-title-img {
  width: 420px;
  max-width: 60vw;
  height: auto;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}

/* ===== Hero（第4回：単一画像） ===== */
.hero-4th {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  border-bottom: 1px solid #007b43;
}
.hero-4th-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 130%;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  will-change: transform;
}

/* ===== Section Heading ===== */
.sf-heading {
  text-align: center;
  font-size: 1.6rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 32px;
  line-height: 1.6;
}

/* ===== About ===== */
.sf-about {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  max-width: 800px;
  margin: 0 auto;
}
.sf-about-logo {
  flex-shrink: 0;
  width: 160px;
}
.sf-about-logo img {
  width: 100%;
  height: auto;
}
.sf-about-text {
  font-size: 0.95rem;
  line-height: 1.9;
  color: #444;
}
.sf-about-name {
  text-align: right;
  margin-top: 16px;
  font-size: 0.9rem;
  color: #666;
}

/* ===== Poster ===== */
.sf-poster {
  max-width: 700px;
  margin: 0 auto;
}
.sf-poster-images {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 20px;
}
.sf-poster-img {
  width: calc(50% - 8px);
  max-width: 320px;
  border-radius: 4px;
  box-shadow: 0 2px 12px rgba(0,0,0,.1);
}
.sf-poster-actions {
  text-align: center;
  margin-bottom: 24px;
}
.sf-btn-pdf {
  display: inline-block;
  padding: 10px 32px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #007b43;
  background: #fff;
  border: 2px solid #007b43;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.2s;
}
.sf-btn-pdf:hover {
  background: #007b43;
  color: #fff;
}

/* ===== CTA Button ===== */
.sf-cta {
  text-align: center;
  margin-top: 32px;
  padding-bottom: 8px;
}
.sf-btn-entry {
  display: inline-block;
  padding: 16px 48px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  background: #007b43;
  border-radius: 4px;
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: background 0.2s;
}
.sf-btn-entry:hover {
  background: #006838;
}

/* ===== Overview Table ===== */
.sf-overview {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.sf-overview th {
  width: 100px;
  padding: 12px 16px;
  font-weight: 700;
  color: #333;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #e0e0e0;
  white-space: nowrap;
}
.sf-overview td {
  padding: 12px 16px;
  color: #444;
  line-height: 1.7;
  border-bottom: 1px solid #e0e0e0;
  vertical-align: top;
}

/* ===== Section Content padding ===== */
.section-content {
  padding: 80px 0;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .section-content {
    padding: 80px 0;
  }
  .sf-heading {
    font-size: 1.3rem;
    margin-bottom: 24px;
  }
  .sf-about {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .sf-about-logo {
    width: 120px;
  }
  .sf-poster-images {
    flex-direction: column;
    align-items: center;
  }
  .sf-poster-img {
    width: 80%;
    max-width: 300px;
  }
  .sf-overview th {
    display: block;
    width: 100%;
    padding: 10px 12px 2px;
    border-bottom: none;
    font-size: 0.85rem;
    color: #007b43;
  }
  .sf-overview td {
    display: block;
    padding: 2px 12px 10px;
    font-size: 0.9rem;
  }
  .hero-title-img {
    width: 280px;
    max-width: 70vw;
  }
  .logo-final {
    width: 240px;
    max-width: 60vw;
  }
  .sf-btn-entry {
    padding: 14px 32px;
    font-size: 1rem;
  }
}
