/* 基本スタイル */
html, body {
  height: 100%;
  margin: 0;
  font-family: "Meiryo UI", Meiryo, "Yu Gothic", "Hiragino Kaku Gothic ProN", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

/* ヘッダー：固定 */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 85px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  z-index: 20;
}
.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  padding: 0 16px;
}
.logo-img {
  height: 75px;
  width: auto;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  margin-left: 0;
}
.site-nav {
    margin-left: auto;
    transform: translateY(18px);
}
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 16px;
}
.site-nav a {
  color: #515151;
  text-decoration: none;
  vertical-align: sub;
  font-size: 16px;
  padding-top: 6px;
}
a[href^="mailto:"] {
  text-decoration: none;
  color: inherit;
}

/* 他の色ルールを上書きするには、セクションテキストを濃い灰色にしてください。 */
html body section,
html body section * {
  color: #515151 !important;
}
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 20px;
}

/* スクロールエリア：ヘッダー以外をスクロール */
.scroll-area {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 95%;
  max-width: 1200px;
  overflow: auto;
  background: #f7f7f7;
  padding-top: 24px;
  z-index: 5;
}
.content {
  min-height: calc(100vh - 104px);
}
.panel {
  background: #fff;
  margin: 16px auto;
  padding: 32px;
  border-radius: 8px;
  max-width: 900px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.hero {
  background: linear-gradient(135deg, #FFFFFF 0%, #E2EFDA 50%, #C6E0B4 100%);
  color: #515151;
}
.hero h2 {
  font-size: 28px;
  margin: 0 0 8px;
}
.hero h2 span {
  font-weight: 700;
}
.panel h3 {
  margin-top: 0;
}
.pain-points {
  margin: 16px 0;
  padding: 12px 0;
  border-left: 4px solid #7fb941;
  padding-left: 16px;
}
.pain-points p {
  margin: 4px 0;
}

.site-footer {
  max-width: 900px;
  margin: 16px auto;
  padding: 16px;
  text-align: center;
  color: #666;
}

@media (max-width: 900px) {
  .scroll-area {
    top: 80px;
  }
  .content {
    min-height: calc(100vh - 80px);
  }
  .logo-img {
    height: 70px;
  }
  /*
  .site-title {
    font-size: 18px;
  }
    */
  .site-nav {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
  }
  .site-nav h2 {
    display: none;
  }
  .site-nav ul {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: auto;
    min-width: 180px;
    background: #fff;
    border-radius: 6px;
    padding: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
    flex-direction: column;
    gap: 8px;
    z-index: 30;
  }
  .site-nav ul.open {
    display: flex;
  }
  .nav-toggle {
    display: inline-block;
  }
  .hero h2 {
    font-size: 22px;
  }
  .panel {
    padding: 20px;
    margin: 12px;
  }
}


/* iPhone SEなど小型スマホ向け調整 */
@media (max-width: 700px) {
  .site-header {
    height: 70px;
  }

  .logo-img {
    height: 55px;
  }

  .site-nav ul {
    min-width: 160px;
  }
}
