.ws-guide-result .ws-guide-subtitle {
  font:
    12px/1.8 "Noto Sans JP",
    sans-serif;
  letter-spacing: 0.02em;
  color: #737b6e;
  margin: 0 0 12px;
  overflow-wrap: anywhere;
}
.ws-guide-result h4 {
  overflow-wrap: anywhere;
}
@media (max-width: 800px) {
  .ws-guide-result .ws-guide-subtitle {
    font-size: 11px;
  }
}

.ws-guide {
  margin-top: 42px;
  background: #f0efe9;
  padding: clamp(24px, 5vw, 70px);
}
.ws-guide-progress {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.ws-guide-progress span {
  font:
    11px Arial,
    sans-serif;
  letter-spacing: 0.08em;
  color: #8a8d82;
  border-bottom: 1px solid #bfc1b6;
  padding: 0 0 12px;
  flex: 1;
  min-width: 80px;
}
.ws-guide-progress .is-current {
  color: #303a2f;
  border-color: #303a2f;
}
.ws-guide-question {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(23px, 2.4vw, 32px);
  line-height: 1.5;
  margin-bottom: 28px !important;
}
.ws-guide-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.ws-guide-options button {
  cursor: pointer;
  text-align: left;
  background: #fff;
  border: 1px solid #d6d8cf;
  color: #2d342d;
  padding: 24px 26px;
  font:
    17px "Noto Serif JP",
    serif;
  line-height: 1.5;
  transition:
    background 0.25s,
    border-color 0.25s,
    transform 0.25s;
}
.ws-guide-options button:hover,
.ws-guide-options button:focus-visible {
  background: #e4e8df;
  border-color: #7d8c79;
  transform: translateY(-2px);
}
.ws-guide-options button span {
  display: block;
  font:
    12px "Noto Sans JP",
    sans-serif;
  color: #767970;
  margin-top: 11px;
  line-height: 1.7;
}
.ws-guide-step[hidden] {
  display: none !important;
}
.ws-guide-back {
  background: none;
  border: 0;
  border-bottom: 1px solid #747b70;
  color: #4d564b;
  padding: 8px 0;
  margin-top: 28px;
  cursor: pointer;
  font-size: 13px;
}
.ws-guide-step h3 {
  font-size: clamp(26px, 3vw, 39px);
  margin-bottom: 16px;
}
.ws-guide-step > p {
  max-width: 760px;
}
.ws-guide-result {
  background: #fff;
  border-left: 2px solid #677361;
  margin-top: 22px;
  padding: 28px 32px;
}
.ws-guide-result small {
  display: block;
  font:
    11px Arial,
    sans-serif;
  letter-spacing: 0.12em;
  color: #697466;
  margin-bottom: 13px;
}
.ws-guide-result h4 {
  font:
    400 23px "Noto Serif JP",
    serif;
  margin: 0 0 10px;
}
.ws-guide-result p {
  font-size: 14px;
  color: #666b62;
}
.ws-guide-result a {
  display: inline-block;
  margin-top: 17px;
  border-bottom: 1px solid;
  font-size: 13px;
}
/* A short owner message accompanies each course description. */
.ws-guide-advice {
  margin-top: 20px;
  padding: 18px clamp(16px, 3vw, 24px);
  background: #f4f3ee;
  border-left: 1px solid #a4ad9d;
}
.ws-guide-advice h5 {
  margin: 0 0 8px;
  font: 500 12px/1.8 "Noto Sans JP", sans-serif;
  letter-spacing: 0.04em;
  color: #596650;
}
.ws-guide-advice p {
  margin: 0;
  line-height: 1.9;
  overflow-wrap: break-word;
}
.ws-guide-actions {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
.ws-guide-actions .ws-guide-back {
  margin-top: 35px;
}
@media (max-width: 800px) {
  .ws-guide-options {
    grid-template-columns: 1fr;
  }
  .ws-guide-options button {
    font-size: 16px;
    padding: 19px;
  }
  .ws-guide-result {
    padding: 22px;
  }
  .ws-guide-result h4 {
    font-size: 20px;
  }
  .ws-guide-progress span {
    font-size: 9px;
  }
}
@media (min-width: 801px) {
  .ws-guide-step > p,
  .ws-section > p:not(.ws-kicker),
  .ws-band > p:not(.ws-kicker) {
    max-width: none;
    width: 100%;
  }
}
.ws {
  margin-top: 0 !important;
}
.ws-hero {
  height: 560px;
  min-height: 0;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  overflow: hidden;
}
.ws-hero-copy {
  min-width: 0;
  padding-top: 54px;
  padding-bottom: 54px;
}
.ws-hero-photo {
  height: 100%;
  min-height: 0;
  overflow: hidden;
}
.ws-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.ws-hero h1 {
  font-size: clamp(35px, 3.4vw, 55px);
}
@media (max-width: 800px) {
  .ws-hero {
    height: auto;
    min-height: 0;
    display: flex;
    flex-direction: column-reverse;
    overflow: visible;
  }
  .ws-hero-photo {
    height: clamp(240px, 34vh, 360px);
    min-height: 0;
    flex: none;
  }
  .ws-hero-photo img {
    height: 100%;
    object-fit: cover;
  }
  .ws-hero-copy {
    min-height: 0;
    padding: 54px 5vw 78px;
  }
  .ws section,
  .ws section > *,
  .ws-hero-copy > *,
  .ws-treatment-grid article {
    min-width: 0;
    max-width: 100%;
  }
  .ws p,
  .ws h1,
  .ws h2,
  .ws h3,
  .ws dd,
  .ws a {
    word-break: normal;
    overflow-wrap: break-word;
    line-break: strict;
    white-space: normal;
  }
  .ws .ws-section > p,
  .ws .ws-band > p,
  .ws .ws-split > div > p {
    max-width: 100%;
    width: auto;
  }
  .ws h1,
  .ws h2,
  .ws h3 {
    max-width: 100%;
  }
  .ws-cta {
    padding-left: 5vw;
    padding-right: 5vw;
  }
  .ws .ws-hero h1 {
    font-size: clamp(27px, 7.2vw, 32px);
    line-height: 1.5;
    letter-spacing: 0;
  }
  .ws .ws-section h2,
  .ws .ws-band h2,
  .ws .ws-split h2,
  .ws .ws-cta h2 {
    font-size: clamp(24px, 6.4vw, 29px);
    line-height: 1.5;
    letter-spacing: 0;
  }
  .ws p:not(.ws-kicker),
  .ws dd,
  .ws .ws-treatment-grid p,
  .ws .ws-steps p {
    font-size: 13px !important;
    line-height: 1.9 !important;
    letter-spacing: 0 !important;
    word-break: normal !important;
    overflow-wrap: break-word;
  }
  .ws .ws-lead {
    font-size: 13px !important;
    line-height: 1.9 !important;
  }
  .ws .ws-hero-copy {
    padding-top: 50px;
    padding-bottom: 68px;
  }
  .ws .ws-section,
  .ws .ws-band,
  .ws .ws-split {
    padding-top: 68px;
    padding-bottom: 68px;
  }
  .ws .ws-treatment-grid h3,
  .ws .ws-three h3 {
    font-size: 20px;
    line-height: 1.5;
  }
  .ws .ws-steps h3 {
    font-size: 19px;
    line-height: 1.5;
  }
}

.ws-guide-description {
  margin-top: 12px;
}
.ws-guide-flow-link {
  margin-left: 20px;
}
