.guide-cover {
  min-height: min(980px, calc(100vh - 80px));
  padding: 90px 20px 110px;
  text-align: center;
}

.guide-cover__mark {
  width: min(310px, 58vw);
  margin: 0 auto 36px;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .08));
}

.guide-cover__mark img,
.guide-illustration img {
  display: block;
  width: 100%;
  height: auto;
}

.guide-cover__title {
  margin: 0 0 20px;
  color: #565656;
  font-size: clamp(44px, 7vw, 72px);
  font-weight: 700;
  line-height: 1.24;
}

.guide-panel {
  width: min(860px, 100%);
  margin: 0 auto;
  padding: clamp(42px, 8vw, 76px) clamp(24px, 7vw, 86px);
  border-radius: 42px;
  background: rgba(255, 255, 255, .92);
  box-shadow:
    20px 20px 30px rgba(0, 0, 0, 0.1),
    -20px -20px 20px rgba(255, 255, 255, 0.3);
}

.guide-panel--intro {
  margin-top: 42px;
}

.page-guide-home .site-main {
  background: var(--color-bg);
}

.page-guide-home .guide-cover {
  min-height: auto;
  padding: 60px 20px 100px;
  overflow: hidden;
}

.page-guide-home .guide-cover .hero__lines {
  position: absolute;
  top: -120px;
  left: 50%;
  z-index: 0;
  display: block;
  width: 160vw;
  height: clamp(700px, 112vw, 1460px);
  pointer-events: none;
  transform: translateX(-50%);
}

.page-guide-home .guide-cover .hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  padding: 0 24px;
}

.page-guide-home .guide-cover .mark {
  position: relative;
  width: clamp(190px, 18vw, 267px);
  aspect-ratio: 188.85 / 374.76;
  background: #f7f7f7;
  pointer-events: none;
}

.page-guide-home .guide-cover .mark__body {
  position: absolute;
  inset: 0;
  isolation: isolate;
  mask: url("../../img/top/top-door-mask.svg") center / 100% 100% no-repeat;
  -webkit-mask: url("../../img/top/top-door-mask.svg") center / 100% 100% no-repeat;
}

.page-guide-home .guide-cover .mark__background {
  position: fixed;
  top: 50%;
  left: var(--door-bg-x, 50%);
  z-index: 0;
  width: var(--door-bg-width, clamp(600px, 45vw, 900px));
  aspect-ratio: 593.77 / 643.56;
  background: url("../../img/top/top-door-background.svg") center / 100% 100% no-repeat;
  transform:
    translate(
      calc(-50% + var(--door-drift-x, 0px)),
      calc(-50% + var(--door-drift-y, 0px))
    );
  will-change: transform;
}

.page-guide-home .guide-cover .mark__body::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: url("../../img/top/top-door-texture.webp") center / cover no-repeat;
  mix-blend-mode: multiply;
  opacity: .38;
}

.page-guide-home .guide-cover .mark__step {
  position: absolute;
  left: 0;
  bottom: -1px;
  z-index: 3;
  display: block;
  width: 100%;
  height: auto;
}

.page-guide-home .guide-cover .mark__outline {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 4;
  display: block;
  width: 101.589%;
  height: auto;
}

.page-guide-home .guide-cover .hero__logo {
  width: clamp(138px, 12.2vw, 154px);
  line-height: 0;
	margin-top: 36px;
}

.page-guide-home .guide-cover .logo {
  display: block;
  width: clamp(190px, 22vw, 290px);
  height: auto;
  pointer-events: none;
}

.page-guide-home .guide-panel--intro {
  width: min(920px, calc(100% - 48px));
  margin-top: 70px;
  padding: 50px 24px;
  border-radius: 16px;
  background: #f5f5f5;
  box-shadow:
    20px 20px 30px rgba(0, 0, 0, 0.1),
    -20px -20px 20px rgba(255, 255, 255, 0.3);
}

.page-guide-home .guide-heading-en {
  margin-bottom: 14px;
  font-size: 14px;
}

.page-guide-home .guide-panel__title {
	font-size: 28px;
	line-height: 1.8;
}

.page-guide-home .guide-text {
	margin: 14px auto 24px;
	font-size: 16px;
	line-height: 2;
	color: #676767;
}

@media (max-width: 767px) {

  .page-guide-home .guide-cover {
    padding: 40px 0 60px;
  }

  .page-guide-home .guide-cover .hero__lines {
    top: -150px;
    width: 190vw;
    height: 780px;
  }

  .page-guide-home .guide-cover .hero__content {
    padding: 0 24px;
  }

  .page-guide-home .guide-cover .mark {
    width: clamp(184px, 52vw, 224px);
  }

  .page-guide-home .guide-cover .hero__logo {
    width: clamp(132px, 36vw, 154px);
  }

  .page-guide-home .guide-cover .logo {
    width: min(226px, 56vw);
  }

  .page-guide-home .guide-panel--intro {
    width: calc(100% - 48px);
    margin-top: 70px;
    padding: 36px 24px 40px;
    border-radius: 16px;
  }

  .page-guide-home .guide-heading-en {
    margin-bottom: 14px;
    font-size: 14px;
  }

  .page-guide-home .guide-panel__title {
    font-size: 18px;
    line-height: 1.8;
  }

  .page-guide-home .guide-text {
    margin-top: 14px;
    font-size: 14px;
    line-height: 2;
  }

  .guide-cover {
    min-height: 0;
    padding: 54px 18px 76px;
  }

  .guide-panel {
    padding: 38px 22px 46px;
    border-radius: 28px;
  }

}
