/* Home welcome intro: integrated from approved demo V7. */
.s-home-welcome {
  --welcome-ink: #17335f;
  --welcome-coral: #df655d;
  --welcome-gold: #b88b40;
  --welcome-muted: #526478;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  padding: clamp(88px, 7.2vw, 118px) 0 clamp(70px, 6vw, 96px);
  color: var(--welcome-ink);
  background: linear-gradient(180deg, #fff9f1 0%, #fffaf4 24%, #f8fbf8 70%, #fffdf8 100%);
}

.s-home-welcome *,
.s-home-welcome *::before,
.s-home-welcome *::after { box-sizing: inherit; }

.s-home-welcome__light {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(2px);
}

.s-home-welcome__light--blue {
  top: 5%;
  right: -9%;
  width: min(54vw, 820px);
  height: min(54vw, 820px);
  background: radial-gradient(circle, rgba(206, 232, 236, .55) 0%, rgba(225, 242, 239, .2) 48%, transparent 72%);
}

.s-home-welcome__light--peach {
  bottom: -34%;
  left: -12%;
  width: min(58vw, 880px);
  height: min(42vw, 650px);
  background: radial-gradient(circle, rgba(250, 218, 194, .35) 0%, rgba(255, 238, 218, .12) 54%, transparent 76%);
}

.s-home-welcome__inner {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 40px), 1180px);
  margin: 0 auto;
}

.s-home-welcome__room {
  position: relative;
  display: grid;
  grid-template-areas: "copy visual" "guides guides";
  grid-template-columns: minmax(400px, .9fr) minmax(500px, 1.1fr);
  gap: clamp(18px, 2.2vw, 30px) clamp(32px, 4.7vw, 68px);
  align-items: center;
  min-height: clamp(570px, 48vw, 650px);
  padding: clamp(56px, 5.2vw, 74px) clamp(38px, 4.4vw, 62px) 28px;
  isolation: isolate;
}

.s-home-welcome__room::before {
  position: absolute;
  z-index: -2;
  inset: 0 0 44px;
  content: "";
  background: linear-gradient(112deg, rgba(255,255,255,.78) 0 46%, rgba(245,251,249,.74) 62%, rgba(255,246,235,.72) 100%);
  border: 1px solid rgba(184, 139, 64, .14);
  border-radius: 104px 104px 42px 42px;
  box-shadow: 0 30px 80px rgba(45, 67, 85, .055);
}

.s-home-welcome__room::after {
  position: absolute;
  z-index: -1;
  right: 2.5%;
  bottom: 20px;
  left: 2.5%;
  height: 150px;
  content: "";
  background: radial-gradient(ellipse at center, rgba(197,222,227,.34) 0%, rgba(255,241,222,.22) 48%, transparent 73%);
  border-bottom: 1px solid rgba(184,139,64,.18);
  border-radius: 50%;
  transform: perspective(600px) rotateX(63deg);
  transform-origin: center bottom;
}

.s-home-welcome__window-line {
  position: absolute;
  z-index: -1;
  top: 48px;
  right: 8.5%;
  width: 34%;
  height: 58%;
  border: 1px solid rgba(119, 161, 178, .15);
  border-bottom: 0;
  border-radius: 180px 180px 0 0;
}

.s-home-welcome__window-line::before,
.s-home-welcome__window-line::after {
  position: absolute;
  content: "";
  background: rgba(119, 161, 178, .12);
}

.s-home-welcome__window-line::before { top: 0; bottom: 0; left: 50%; width: 1px; }
.s-home-welcome__window-line::after { top: 44%; right: 0; left: 0; height: 1px; }

.s-home-welcome__copy {
  grid-area: copy;
  align-self: center;
  min-width: 0;
  padding: 6px 0 18px;
}

.s-home-welcome__eyebrow {
  display: grid;
  grid-template-columns: 42px auto;
  gap: 12px;
  align-items: center;
  justify-content: start;
  margin: 0;
  color: var(--welcome-gold);
  font-family: var(--ff-serif, "Noto Serif JP", serif);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .16em;
}

.s-home-welcome__eyebrow span { width: 42px; height: 1px; background: currentColor; opacity: .72; }

.s-home-welcome__title {
  margin: 17px 0 0;
  font-family: var(--ff-serif, "Noto Serif JP", serif);
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 700;
  line-height: 1.42;
  letter-spacing: .025em;
}

.s-home-welcome__title em,
.s-home-welcome__posture em { color: var(--welcome-coral); font-style: normal; }

.s-home-welcome__lead {
  margin: 13px 0 0;
  color: var(--welcome-muted);
  font-size: clamp(.82rem, .94vw, .91rem);
  font-weight: 500;
  line-height: 1.9;
}

.s-home-welcome__lead span { display: block; }

.s-home-welcome__note { position: relative; margin-top: clamp(26px, 2.6vw, 34px); padding: 4px 0 3px 24px; }

.s-home-welcome__note::before {
  position: absolute;
  top: 3px;
  bottom: 2px;
  left: 0;
  width: 2px;
  content: "";
  background: linear-gradient(180deg, var(--welcome-coral), rgba(184,139,64,.42));
  border-radius: 2px;
}

.s-home-welcome__note-label {
  display: flex;
  gap: 9px;
  align-items: center;
  margin: 0;
  color: var(--welcome-gold);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .06em;
}

.s-home-welcome__note-label span { padding-right: 9px; border-right: 1px solid rgba(184,139,64,.34); font-family: var(--ff-serif, "Noto Serif JP", serif); letter-spacing: .12em; }

.s-home-welcome__posture {
  margin: 10px 0 0;
  font-family: var(--ff-serif, "Noto Serif JP", serif);
  font-size: clamp(1.16rem, 1.55vw, 1.4rem);
  font-weight: 700;
  line-height: 1.58;
  letter-spacing: .025em;
}

.s-home-welcome__message { max-width: 470px; margin: 9px 0 0; color: var(--welcome-muted); font-size: clamp(.7rem, .8vw, .77rem); font-weight: 500; line-height: 1.8; }

.s-home-welcome__link {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  margin-top: 20px;
  padding-bottom: 4px;
  color: var(--welcome-ink);
  border-bottom: 1px solid rgba(184,139,64,.5);
  font-size: .72rem;
  font-weight: 700;
  text-decoration: none;
}

.s-home-welcome__link svg { width: 15px; height: 15px; color: var(--welcome-gold); }
.s-home-welcome__link:focus-visible { outline: 3px solid rgba(23,51,95,.2); outline-offset: 5px; }

.s-home-welcome__visual {
  position: relative;
  z-index: 2;
  grid-area: visual;
  align-self: end;
  min-width: 0;
  margin: 0 -2% -2px -4%;
}

.s-home-welcome__visual img { display: block; width: 108%; max-width: none; height: auto; filter: drop-shadow(0 22px 28px rgba(43,65,87,.08)); }

.s-home-welcome__whisper {
  position: absolute;
  z-index: 3;
  top: 8%;
  right: 0;
  display: inline-flex;
  gap: 9px;
  align-items: center;
  color: rgba(23,51,95,.76);
  font-family: var(--ff-serif, "Noto Serif JP", serif);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .04em;
  white-space: nowrap;
}

.s-home-welcome__whisper::before,
.s-home-welcome__whisper::after { width: 16px; height: 1px; content: ""; background: rgba(184,139,64,.66); transform-origin: center; }
.s-home-welcome__whisper::before { transform: rotate(58deg); }
.s-home-welcome__whisper::after { transform: rotate(-58deg); }

.s-home-welcome__guides {
  position: relative;
  z-index: 4;
  display: grid;
  grid-area: guides;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(100%, 780px);
  margin: -8px auto 0;
  padding: 15px 22px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(77,114,133,.13);
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(52,77,91,.045);
  list-style: none;
  backdrop-filter: blur(6px);
}

.s-home-welcome__guides li { display: grid; grid-template-columns: 32px minmax(0,1fr); gap: 10px; align-items: center; padding: 0 22px; }
.s-home-welcome__guides li + li { border-left: 1px solid rgba(49,78,112,.12); }

.s-home-welcome__guide-icon { display: grid; place-items: center; width: 32px; height: 32px; color: var(--welcome-coral); background: #fff9f1; border: 1px solid rgba(223,101,93,.17); border-radius: 50%; }
.s-home-welcome__guide-icon svg { width: 15px; height: 15px; }
.s-home-welcome__guides p { margin: 0; }
.s-home-welcome__guides b, .s-home-welcome__guides small { display: block; }
.s-home-welcome__guides b { font-size: .75rem; line-height: 1.45; }
.s-home-welcome__guides small { margin-top: 1px; color: var(--welcome-muted); font-size: .62rem; line-height: 1.45; }

@media (max-width: 1040px) and (min-width: 901px) {
  .s-home-welcome__room { grid-template-columns: minmax(370px, .92fr) minmax(420px, 1.08fr); gap: 20px 30px; padding-right: 34px; padding-left: 34px; }
  .s-home-welcome__visual { margin-left: -6%; }
}

@media (max-width: 900px) {
  .s-home-welcome { padding: 58px 0 56px; }
  .s-home-welcome__inner { width: min(calc(100% - 28px), 590px); }
  .s-home-welcome__room { display: flex; flex-direction: column; min-height: 0; padding: 46px 20px 24px; }
  .s-home-welcome__room::before { inset: 0 0 34px; border-radius: 54px 54px 28px 28px; }
  .s-home-welcome__room::after { right: 0; bottom: 58px; left: 0; height: 110px; }
  .s-home-welcome__window-line { top: 29%; right: 12%; width: 45%; height: 36%; }
  .s-home-welcome__copy { display: contents; }
  .s-home-welcome__header { order: 0; align-self: stretch; text-align: center; }
  .s-home-welcome__eyebrow { grid-template-columns: 36px auto 36px; justify-content: center; }
  .s-home-welcome__eyebrow::after { width: 36px; height: 1px; content: ""; background: currentColor; opacity: .72; }
  .s-home-welcome__title { font-size: clamp(1.72rem, 7.4vw, 2.1rem); }
  .s-home-welcome__lead { font-size: .79rem; }
  .s-home-welcome__visual { order: 1; width: min(114%, 560px); margin: 16px -7% -4px; }
  .s-home-welcome__visual img { width: 100%; }
  .s-home-welcome__whisper { top: 7%; right: 2%; gap: 7px; font-size: .61rem; }
  .s-home-welcome__whisper::before, .s-home-welcome__whisper::after { width: 12px; }
  .s-home-welcome__note { order: 2; align-self: stretch; margin: 4px 4px 0; padding-left: 20px; }
  .s-home-welcome__posture { font-size: clamp(1.08rem, 4.8vw, 1.28rem); }
  .s-home-welcome__message { font-size: .71rem; }
  .s-home-welcome__link { order: 3; align-self: flex-start; margin: 17px 0 0 24px; font-size: .71rem; }
  .s-home-welcome__guides { order: 4; grid-template-columns: 1fr; width: calc(100% + 2px); margin: 25px -1px 0; padding: 8px 17px; border-radius: 22px; }
  .s-home-welcome__guides li { padding: 9px 3px; }
  .s-home-welcome__guides li + li { border-top: 1px solid rgba(49,78,112,.11); border-left: 0; }
  .s-home-welcome__guides b { font-size: .79rem; }
  .s-home-welcome__guides small { font-size: .66rem; }
}
