#consultation:not(:target), #consultation:target + .welcome { display: none; }
#consultation:focus { outline: none; }

.welcome {
  --inset: clamp(28px, 7.2vw, 136px);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  align-content: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 120px var(--inset) 96px;
  color: #252937;
  background: #faf9f7;
}
.welcome-brand {
  position: absolute;
  z-index: 2;
  top: clamp(24px, 4.8vh, 58px);
  left: var(--inset);
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1;
}
.welcome-star { color: #3848a4; font: 35px/1 Georgia, serif; }
.welcome-brand strong { font-size: 23px; font-weight: 650; letter-spacing: .04em; }
.welcome-service {
  margin-left: 5px;
  padding-left: 15px;
  border-left: 1px solid #c7c7cd;
  color: #555966;
  font-size: 13px;
  letter-spacing: .11em;
}
.welcome-art { position: absolute; z-index: -1; inset: 0 0 0 43%; }
.welcome-art img {
  width: 100%; height: 100%; display: block;
  object-fit: cover; object-position: 55% 62%;
  mix-blend-mode: multiply;
}
.welcome-art {
  background: #faf9f7;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 24%);
  mask-image: linear-gradient(90deg, transparent, #000 24%);
}
.welcome-copy { position: relative; width: fit-content; }
.welcome-copy h1 {
  margin: 0;
  color: #252937;
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", SimSun, serif;
  font-size: clamp(44px, 4.5vw, 86px);
  font-weight: 500;
  letter-spacing: -.044em;
  line-height: 1.32;
}
.welcome-copy h1 span { display: block; }
.welcome-enter {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  min-height: 50px;
  margin-top: clamp(32px, 5vh, 64px);
  padding: 0 24px;
  border-radius: 100px;
  background: #252937;
  color: #fff;
  font-size: 15px;
  font-weight: 550;
  text-decoration: none;
  transition: background .2s;
}
.welcome-enter span { font: 22px/1 -apple-system, sans-serif; transition: transform .2s; }
.welcome-enter:hover { background: #384474; }
.welcome-enter:hover span { transform: translateX(3px); }
.welcome-enter:focus-visible { outline: 3px solid #435ac1; outline-offset: 5px; }
@media (max-width: 700px) and (orientation: portrait) {
  .welcome {
    --inset: clamp(25px, 8vw, 50px);
    align-content: start;
    min-height: max(650px, 100svh);
    padding-top: clamp(99px, 14svh, 148px);
    padding-bottom: clamp(250px, 38svh, 420px);
  }
  .welcome-brand { top: max(23px, env(safe-area-inset-top)); }
  .welcome-brand strong { font-size: 21px; }
  .welcome-star { font-size: 30px; }
  .welcome-copy h1 { font-size: clamp(36px, 10vw, 57px); line-height: 1.27; }
  .welcome-enter { margin-top: 24px; min-height: 46px; }
  .welcome-art {
    inset: auto 0 0 0; height: 51%;
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 27%);
    mask-image: linear-gradient(180deg, transparent, #000 27%);
  }
  .welcome-art img { object-position: 50% 69%; }
}
@media (prefers-reduced-motion: reduce) {
  .welcome-enter, .welcome-enter span { transition: none; }
}
