:root {
  color-scheme: light;
  font-family: "Hiragino Maru Gothic ProN", "Hiragino Sans", "Yu Gothic",
    Meiryo, sans-serif;
  color: #172c46;
  background: #f9f6eb;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

.welcome {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  width: min(100%, 82rem);
  min-height: 100vh;
  min-height: 100svh;
  margin-inline: auto;
  padding: clamp(2rem, 6vw, 6rem);
}

.intro {
  position: relative;
}

.intro::before {
  content: "";
  display: block;
  width: 2.75rem;
  height: 0.45rem;
  margin-bottom: 1.75rem;
  border-radius: 2rem;
  background: #edb842;
  transform: rotate(-8deg);
}

.greeting,
.invitation,
.description {
  margin: 0;
}

.greeting {
  font-size: clamp(1.1rem, 2.15vw, 1.5rem);
  font-weight: 700;
  letter-spacing: 0.07em;
}

h1 {
  margin: 0.08em 0 0.28em;
  font-size: clamp(4rem, 8.1vw, 7.5rem);
  line-height: 1.14;
  font-weight: 900;
  letter-spacing: -0.07em;
}

.invitation {
  font-size: clamp(1.65rem, 3.6vw, 3rem);
  font-weight: 800;
  line-height: 1.47;
  letter-spacing: 0.02em;
}

.description {
  margin-top: clamp(0.95rem, 2.5vw, 1.65rem);
  color: #405871;
  font-size: clamp(1rem, 1.65vw, 1.25rem);
  font-weight: 600;
  line-height: 1.9;
}

.picture {
  padding: clamp(0.45rem, 1.1vw, 0.9rem);
  border-radius: clamp(1.45rem, 4vw, 3.5rem);
  background: #fffdf5;
  box-shadow: 0 0.55rem 0 #e9bc56, 0 1.1rem 2rem #59482019;
}

.picture img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: clamp(1.1rem, 3.25vw, 2.75rem);
}

@media (max-width: 47.5rem) {
  .welcome {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 1.6rem;
    max-width: 32rem;
    padding: 2rem clamp(1.2rem, 6vw, 2.5rem) 2.75rem;
  }

  .intro::before {
    margin-bottom: 1.15rem;
  }
}
