.usj-hotel-diagnosis {
  margin: 20px 0;
  padding: 12px;
  border-radius: 18px;
  background: linear-gradient(180deg, #fff7ed 0%, #fffaf3 44%, #fff 100%);
  border: 1px solid #ffd8a8;
  box-sizing: border-box;
  font-family: inherit;
}

.usj-hotel-diagnosis * {
  box-sizing: border-box;
}

.usj-hotel-diagnosis__intro {
  margin-bottom: 10px;
}

.usj-hotel-diagnosis h2,
.usj-hotel-diagnosis h3,
.usj-hotel-diagnosis h4 {
  margin: 0 0 8px;
  line-height: 1.32;
}

.usj-hotel-diagnosis__hero {
  position: relative;
  overflow: hidden;
  padding: 14px 13px 13px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 86% 0%, rgba(255, 214, 102, 0.48) 0, rgba(255, 214, 102, 0) 32%),
    radial-gradient(circle at 8% 96%, rgba(255, 126, 95, 0.18) 0, rgba(255, 126, 95, 0) 34%),
    linear-gradient(135deg, #fff8ed 0%, #fff1da 48%, #ffe3cf 100%);
  border: 1px solid #ffc98a;
  box-shadow: 0 10px 22px rgba(190, 98, 28, 0.14);
}

.usj-hotel-diagnosis__hero::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -30px;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: rgba(255, 179, 71, 0.35);
}

.usj-hotel-diagnosis__hero::after {
  content: "";
  position: absolute;
  right: 20px;
  bottom: 12px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 111, 97, 0.17);
}

.usj-hotel-diagnosis__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 7px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #fff;
  color: #b54708;
  border: 1px solid #ffd29c;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  position: relative;
  z-index: 1;
  box-shadow: 0 3px 10px rgba(190, 98, 28, 0.10);
}

.usj-hotel-result__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 4px 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff8a3d 0%, #ff5f6d 100%);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  box-shadow: 0 4px 10px rgba(255, 95, 109, 0.24);
}

.usj-hotel-diagnosis__hero h2 {
  position: relative;
  z-index: 1;
  margin: 0 0 10px;
  color: #7a2e0e;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.usj-hotel-diagnosis__start-area {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 7px;
}

.usj-hotel-diagnosis__lead,
.usj-hotel-diagnosis p.usj-hotel-diagnosis__lead,
.p-entry__body .usj-hotel-diagnosis p.usj-hotel-diagnosis__lead {
  margin: 0;
  color: #7a4a2a;
  font-size: 0.8em;
  line-height: 1.45;
}

.usj-hotel-start {
  width: 100%;
  min-height: 44px;
  padding: 10px 16px;
  font-size: 1.6em;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff7a1a 0%, #ff4f6d 100%);
  color: #fff;
  box-shadow: 0 8px 16px rgba(255, 95, 80, 0.28);
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
}

.usj-hotel-start::after {
  content: "　›";
}

.usj-hotel-diagnosis.is-started .usj-hotel-diagnosis__start-area {
  display: none;
}

.usj-hotel-diagnosis__progress {
  margin: 8px 0 10px;
  font-size: 13px;
  font-weight: 800;
  color: #b54708;
}

.usj-hotel-question {
  padding: 12px;
  border-radius: 16px;
  background: #fffdf8;
  border: 1px solid #ffe1b8;
  box-shadow: 0 6px 18px rgba(190, 98, 28, 0.09);
}

.usj-hotel-question h3 {
  font-size: 17px;
}

.usj-hotel-question__desc {
  margin: 0 0 10px;
  color: #475467;
  font-size: 13px;
  line-height: 1.5;
}

.usj-hotel-choice-list {
  display: grid;
  gap: 8px;
}

.usj-hotel-question--two-col .usj-hotel-choice-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.usj-hotel-choice {
  width: 100%;
  min-height: 42px;
  padding: 9px 10px;
  border: 1px solid #ffd8a8;
  border-radius: 12px;
  background: #fff;
  color: #1d2939;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
}

.usj-hotel-question--two-col .usj-hotel-choice {
  text-align: center;
}

.usj-hotel-choice--none {
  border-color: #d0d5dd;
  background: #f9fafb;
  color: #344054;
}

.usj-hotel-choice.is-selected,
.usj-hotel-choice[aria-pressed="true"] {
  border-color: #ff7a1a;
  background: #fff1e3;
  color: #7a2e0e;
}

.usj-hotel-choice.is-disabled {
  opacity: 0.35;
  pointer-events: none;
}

.usj-hotel-question__nav {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.usj-hotel-back,
.usj-hotel-submit,
.usj-hotel-restart {
  min-height: 42px;
  padding: 9px 14px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #ff7a1a 0%, #ff5f6d 100%);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.usj-hotel-back {
  background: #e4e7ec;
  color: #344054;
}

.usj-hotel-submit:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.usj-hotel-diagnosis__loading,
.usj-hotel-diagnosis__error {
  margin-top: 12px;
  padding: 14px;
  border-radius: 16px;
  background: #fff;
  text-align: center;
}

.usj-hotel-diagnosis__error {
  color: #b42318;
  border: 1px solid #fecdca;
}

.usj-hotel-diagnosis__loading-main {
  margin: 0 0 6px;
  font-weight: 800;
  color: #b54708;
}

.usj-hotel-diagnosis__loading-sub {
  margin: 0;
  color: #475467;
  font-size: 14px;
}

.usj-hotel-result__header {
  position: relative;
  overflow: hidden;
  margin-top: 12px;
  padding: 14px;
  border-radius: 16px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 214, 102, 0.42) 0, rgba(255, 214, 102, 0) 34%),
    linear-gradient(135deg, #fff7ed 0%, #ffe9d6 100%);
  border: 1px solid #ffc98a;
  box-shadow: 0 8px 20px rgba(190, 98, 28, 0.12);
}

.usj-hotel-result__header h3 {
  color: #7a2e0e;
}

.usj-hotel-result__header p {
  color: #5f3b23;
}

.usj-hotel-result__header p:last-child {
  margin-bottom: 0;
}

.usj-hotel-result__cards {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.usj-hotel-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(180deg, #fffdf8 0%, #fff 62%);
  border: 1px solid #ffd8a8;
  box-shadow: 0 8px 22px rgba(190, 98, 28, 0.12);
}

.usj-hotel-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, #ff7a1a 0%, #ffca3a 50%, #ff5f6d 100%);
}

.usj-hotel-card__rank {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 5px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffca3a 0%, #ff8a3d 100%);
  color: #3b2208;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(190, 98, 28, 0.20);
}

.usj-hotel-card__body {
  display: grid;
  gap: 12px;
  padding: 12px;
}

.usj-hotel-card__image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 14px;
  background: #f2f4f7;
}

.usj-hotel-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.usj-hotel-card__image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #667085;
  font-size: 13px;
}

.usj-hotel-card__content h4 {
  font-size: 18px;
}

.usj-hotel-card__access {
  margin: 0 0 8px;
  color: #b54708;
  font-weight: 800;
}

.usj-hotel-card__labels {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0 10px;
}

.usj-hotel-card__labels span {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 999px;
  background: #fff1e3;
  color: #9a3412;
  font-size: 12px;
  font-weight: 800;
}

.usj-hotel-card__comment {
  margin: 8px 0 10px;
  line-height: 1.7;
}

.usj-hotel-cta-title {
  margin: 0 0 8px;
  font-weight: 800;
  color: #7a2e0e;
}

.usj-hotel-cta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.usj-hotel-cta-item > a,
.usj-hotel-cta-item > a:link,
.usj-hotel-cta-item > a:visited,
.usj-hotel-cta-item > a:hover,
.usj-hotel-cta-item > a:focus,
.usj-hotel-cta-item > a:active,
.p-entry__body .usj-hotel-diagnosis .usj-hotel-cta-item > a,
.p-entry__body .usj-hotel-diagnosis .usj-hotel-cta-item > a:link,
.p-entry__body .usj-hotel-diagnosis .usj-hotel-cta-item > a:visited,
.p-entry__body .usj-hotel-diagnosis .usj-hotel-cta-item > a:hover,
.p-entry__body .usj-hotel-diagnosis .usj-hotel-cta-item > a:focus,
.p-entry__body .usj-hotel-diagnosis .usj-hotel-cta-item > a:active {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 42px;
  padding: 9px 8px;
  border: 0 !important;
  border-radius: 10px;
  background: linear-gradient(135deg, #0b7fc3 0%, #0066b3 100%) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  text-decoration: none !important;
  text-align: center;
  font-weight: 800;
  line-height: 1.3;
  box-shadow: 0 4px 10px rgba(0, 102, 179, 0.20);
  opacity: 1 !important;
  visibility: visible !important;
}

.usj-hotel-cta-item > a:hover,
.usj-hotel-cta-item > a:focus,
.p-entry__body .usj-hotel-diagnosis .usj-hotel-cta-item > a:hover,
.p-entry__body .usj-hotel-diagnosis .usj-hotel-cta-item > a:focus {
  filter: brightness(1.04);
}

.usj-hotel-cta-item > a:active,
.p-entry__body .usj-hotel-diagnosis .usj-hotel-cta-item > a:active {
  transform: translateY(1px);
  filter: brightness(0.98);
}

.usj-hotel-cta-item img {
  width: 0 !important;
  height: 1px !important;
  overflow: hidden;
}

.usj-hotel-card__note,
.usj-hotel-card p.usj-hotel-card__note,
.p-entry__body .usj-hotel-diagnosis .usj-hotel-card p.usj-hotel-card__note {
  margin: 9px 0 0;
  color: #667085;
  font-size: 0.8em;
  line-height: 1.6;
}

.usj-hotel-result__again {
  margin-top: 16px;
  text-align: center;
}

@media (max-width: 374px) {
  .usj-hotel-diagnosis__hero {
    padding: 12px;
  }

  .usj-hotel-diagnosis__hero h2 {
    font-size: 18px;
  }
}

@media (min-width: 760px) {
  .usj-hotel-diagnosis {
    padding: 16px;
  }

  .usj-hotel-diagnosis__hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    align-items: center;
    gap: 14px;
    padding: 16px;
  }

  .usj-hotel-diagnosis__badge {
    grid-column: 1;
    width: fit-content;
  }

  .usj-hotel-diagnosis__hero h2 {
    grid-column: 1;
    font-size: 24px;
  }

  .usj-hotel-diagnosis__start-area {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
  }

  .usj-hotel-card__body {
    grid-template-columns: 240px minmax(0, 1fr);
    align-items: start;
  }
}
