@charset "utf-8";
.yumail-test-page .yt-switch-link .yt-guide-phrase {
  display: inline-block;
  white-space: nowrap;
}
/* Test-only three-step guide. Contact guidance below remains unchanged. */
.yumail-test-page section.yumail-points .points-map {
  width: 96px;
  height: auto;
}
@media (min-width: 768px) {
  .yumail-test-page section.yumail-points .points-map {
    top: -25px;
    width: 88px;
  }
}
@media (min-width: 1280px) {
  .yumail-test-page section.yumail-points .points-map {
    top: -10px;
    width: 144px;
  }
}
.yumail-test-page section.yumail-points {
  padding-bottom: 0;
}
.yumail-test-page section.yumail-points .points-grid {
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 1025px) {
  .yumail-test-page section.yumail-points .points-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
  }
}
.yumail-test-page .yt-switch-backdrop {
  margin: 48px -16px 0;
  background: #edf9ff url("../images/yumail-test/steps/background.png") center / cover no-repeat;
}
/* Match the existing points section's 700px gutter boundary. */
@media (min-width: 700px) {
  .yumail-test-page .yt-switch-backdrop {
    margin-right: -30px;
    margin-left: -30px;
  }
}
.yumail-test-page .yumail-points .yt-switch-guide {
  position: relative;
  width: calc(100% - 32px);
  max-width: 1490px;
  margin: 48px auto 0;
  padding: 40px 16px;
  scroll-margin-top: 90px;
}
@media (min-width: 700px) {
  .yumail-test-page .yumail-points .yt-switch-guide {
    width: calc(100% - 60px);
  }
}
@media (min-width: 1025px) {
  .yumail-test-page .yumail-points .yt-switch-guide {
    padding: 40px 24px;
    scroll-margin-top: 140px;
  }
}
.yumail-test-page .yt-switch-kicker {
  display: flex;
  margin: 0 0 18px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #1979b8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .3em;
}
.yumail-test-page .yt-switch-kicker::before,
.yumail-test-page .yt-switch-kicker::after {
  width: 36px;
  height: 1px;
  background: #a4dcfa;
  content: "";
}
.yumail-test-page .yt-switch-handwriting {
  display: block;
  width: 260px;
  max-width: 100%;
  height: auto;
  margin: 0 0 18px auto;
}
@media (min-width: 1280px) {
  .yumail-test-page .yt-switch-handwriting {
    position: absolute;
    top: 40px;
    right: 10px;
    width: 260px;
    margin: 0;
  }
}
.yumail-test-page .yumail-points .yt-switch-guide h3 {
  display: block;
  min-height: 0;
  margin: 0;
  color: #16344d;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  text-wrap: balance;
}
@media (min-width: 768px) {
  .yumail-test-page .yumail-points .yt-switch-guide h3 {
    font-size: 30px;
  }
}
.yumail-test-page .yt-switch-guide h3 > span {
  display: inline-block;
}
.yumail-test-page .yt-switch-guide h3 em {
  color: #1185c6;
  font-style: normal;
}
.yumail-test-page .yt-switch-lead {
  max-width: 760px;
  margin: 16px auto 0;
  color: #294b75;
  font-size: 16px;
  line-height: 1.8;
  text-align: center;
  text-wrap: balance;
}
.yumail-test-page .yt-switch-grid {
  display: grid;
  gap: 32px;
  margin: 28px auto 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 1025px) {
  .yumail-test-page .yt-switch-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 38px;
  }
}
.yumail-test-page .yt-switch-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 24px 14px;
  border-radius: 14px;
  background: #fff;
  text-align: center;
}
@media (min-width: 768px) {
  .yumail-test-page .yt-switch-card {
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 18px;
    padding: 24px 20px;
  }
}
@media (min-width: 1025px) {
  .yumail-test-page .yt-switch-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding: 24px 14px;
  }
}
@media (min-width: 1200px) {
  .yumail-test-page .yt-switch-card {
    grid-template-columns: 100px minmax(0, 1fr);
    text-align: left;
  }
}
.yumail-test-page .yt-switch-card:not(:last-child)::after {
  position: absolute;
  bottom: -29px;
  left: calc(50% - 28px);
  width: 56px;
  height: 20px;
  background: url("../images/yumail-test/steps/arrow.png") center / 300% auto no-repeat;
  transform: rotate(90deg);
  content: "";
}
@media (min-width: 1025px) {
  .yumail-test-page .yt-switch-card:not(:last-child)::after {
    top: calc(50% - 10px);
    right: -37px;
    bottom: auto;
    left: auto;
    width: 36px;
    transform: none;
  }
}
.yumail-test-page .yt-switch-illustration {
  width: 110px;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}
.yumail-test-page .yt-switch-number {
  position: absolute;
  top: 14px;
  left: 14px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(#0666af, #28a6d6);
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}
.yumail-test-page .yt-switch-card h4 {
  margin: 0;
  color: #004587;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  text-wrap: balance;
}
.yumail-test-page .yt-switch-card h4::after {
  display: block;
  width: 80px;
  height: 2px;
  margin: 14px auto 0;
  background: #d4effc;
  content: "";
}
@media (min-width: 1200px) {
  .yumail-test-page .yt-switch-card h4::after {
    margin-left: 0;
  }
}
.yumail-test-page .yt-switch-card p {
  margin: 12px 0 0;
  color: #294b75;
  font-size: 15px;
  line-height: 1.8;
  text-align: center;
  text-wrap: balance;
}
@media (min-width: 1200px) {
  .yumail-test-page .yt-switch-card p {
    text-align: left;
  }
}
.yumail-test-page .yt-guide-phrase {
  display: inline-block;
}
.yumail-test-page .yt-switch-note {
  max-width: 840px;
  margin: 24px auto 0;
  color: #476584;
  font-size: 14px;
  line-height: 1.8;
  text-align: center;
  text-wrap: balance;
}
.yumail-test-page .yt-switch-link {
  display: flex;
  width: 360px;
  max-width: 100%;
  min-height: 54px;
  margin: 24px auto 0;
  padding: 12px 20px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 2px solid #ff7800;
  border-radius: 50px;
  background: linear-gradient(#ff9d00, #ff6800);
  box-shadow: 0 10px 24px rgb(245 106 17 / 24%);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}
.yumail-test-page .yt-switch-link:hover {
  background: linear-gradient(#f28d00, #ed5900);
}
.yumail-test-page .yt-switch-link:focus {
  outline: 3px solid #075795;
  outline-offset: 4px;
}
.yumail-test-page .yt-switch-link:focus:not(:focus-visible) {
  outline: none;
}
.yumail-test-page .yt-switch-link:focus-visible {
  outline: 3px solid #075795;
  outline-offset: 4px;
}
.yumail-test-page .yt-consult-guide {
  margin-top: 24px;
}
.yumail-test-page .yt-consult-checklist {
  display: grid;
  gap: 12px;
  margin: 0;
}
@media (min-width: 768px) {
  .yumail-test-page .yt-consult-checklist {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.yumail-test-page .yt-consult-checklist > div {
  min-width: 0;
  padding: 16px;
  border: 1px solid #d5e8f4;
  border-radius: 10px;
  background: #fff;
}
.yumail-test-page .yt-consult-checklist dt {
  color: #004587;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}
.yumail-test-page .yt-consult-checklist dd {
  margin: 8px 0 0;
  color: #294b75;
  font-size: 16px;
  line-height: 1.8;
}
.yumail-test-page .yt-consult-options {
  margin: 16px 0 0;
  color: #294b75;
  font-size: 16px;
  line-height: 1.8;
}
.yumail-test-page .yt-consult-example {
  margin-top: 20px;
  padding: 18px;
  border-left: 3px solid #075795;
  background: #fff;
}
.yumail-test-page .yt-consult-example h3 {
  margin: 0;
  color: #004587;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}
.yumail-test-page .yt-consult-example p {
  margin: 10px 0 0;
  color: #294b75;
  font-size: 16px;
  line-height: 1.8;
}
.yumail-test-page .yt-consult-form-note {
  margin: 0 0 20px;
  padding: 14px;
  border-radius: 8px;
  background: #eaf7ff;
  color: #294b75;
  font-size: 14px;
  line-height: 1.8;
}

body.yumail-inquiry-reading .cta-pc,
body.yumail-inquiry-reading .cta-tab,
body.yumail-inquiry-reading .pagetop {
  visibility: hidden;
  pointer-events: none;
}
