*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  background-color: #f5f2ee;
  color: #222222;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

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

.page {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo {
  flex-shrink: 0;
}

.logo img {
  width: 160px;
  height: auto;
}

.message {
  font-size: 18px;
  line-height: 1.8;
  text-align: center;
  letter-spacing: 0.04em;
}

.plants {
  width: 100%;
  flex-shrink: 0;
  margin: 0;
}

.plants img {
  width: 100%;
  height: auto;
}

/* SP: ロゴ上 / テキスト中央 / 植物下固定 */
@media (max-width: 767px) {
  .page {
    justify-content: space-between;
    padding: 48px 24px 0;
  }

  .logo {
    padding-top: 24px;
  }

  .message {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 32px 0;
  }

  .plants {
    margin-top: auto;
  }
}

/* PC: ロゴ → 植物 → テキストを一体で中央配置 */
@media (min-width: 768px) {
  .page {
    justify-content: center;
    gap: 48px;
    padding: 40px 24px;
  }

  .logo img {
    width: 180px;
  }

  .message {
    font-size: 20px;
    order: 3;
  }

  .plants {
    order: 2;
    width: min(668px, 90vw);
  }
}
