body {
  margin: 0;
  padding: 0;
  background: #0c6aaa url('../img/bg.jpg') no-repeat center center / cover;
  background-attachment: fixed;
  font-family: sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

/* ===== HEADER (PC) ===== */
header {
  display: flex;
  justify-content: space-between;
  align-items: self-start;
  padding: 1vw;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
}

.logo {
  width: 23.3vw;   /* 1440px基準で335px */
  max-width: 335px;
  height: auto;
  display: block;  /* ★ 画像のベースライン余白を除去 */
}

.menu {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu .sns {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 47px;
}

.sns-icon {
  width: 36px;
  height: 36px;
  display: block;
}

.contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 15.8vw;   /* 1440px基準で227px */
  max-width: 227px;
  height: 47px;
  line-height: 1;
  text-align: center;
  background-color: #f2b63f;
  border-radius: 16px;
  letter-spacing: 0.05em;
  color: white;
  text-decoration: none;
  font-family: 'DIN Alternate', sans-serif;
  font-size: 14px;
  font-weight: bold;
}

/* ===== MAIN ===== */
main {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 20vh;
  padding-bottom: 10vh;
}

.main-visual {
  width: 100%;
  max-width: 1034px;
  height: auto;
  display: block; /* ★ 画像の行間隙間対策 */
}

/* ===== FOOTER (SP専用) ===== */
.mobile-menu {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding: 2vh 0;
  background: rgba(0,0,0,0.3);
}

.mobile-menu .sns {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
}

/* ===== スマホ調整 ===== */
@media (max-width: 768px) {
  header {
    justify-content: center;
    padding: 1.5vh 0;   /* ★ 3vh → 1.5vh に縮小 */
    position: relative;
  }

  .logo {
    width: 60vw;
    max-width: none;
  }

  .menu { display: none; }

  main {
    padding-top: 2vh;   /* ★ 6vh → 2vh に大幅縮小（ロゴ直下を詰める） */
    padding-bottom: 12vh;
  }

  .main-visual {
    width: 100%;
    max-width: 100%;
  }

  .mobile-menu {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
  }

  .sns-icon {
    width: 24px;
    height: 24px;
  }

  .contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40vw;
    max-width: none;
    height: 40px;
    line-height: 1;
    font-size: 13px;
  }
}
