/*============================
#ranking
============================*/
section#ranking {
  display: flex;
  padding: var(--padding-block, 80px) var(--padding-inline, 20px) 0px;
  flex-direction: column;
  align-items: center;
  gap: var(--gap-row, 56px);
  align-self: stretch;
}

section#ranking div.ranking__heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--scale-16, 16px);
  align-self: stretch;
}

section#ranking div.ranking__heading img {
  display: flex;
  width: var(--scale-56, 56px);
  align-items: center;
  gap: 10px;
  aspect-ratio: 1/1;
}
section#ranking div.ranking__heading div.heading__sub-title svg {
  width: 25px;
  height: 10px;
}
section#ranking div.ranking__heading div.heading__sub-title span {
  display: flex;
  padding: var(--scale-4, 4px) var(--scale-16, 16px);
  justify-content: center;
  align-items: center;
  align-self: stretch;
  border-radius: 1000px;
  background: var(--primary, #2894e2);
  color: var(--surface, #fff);
  text-align: center;
  font-family: "Noto Sans JP";
  font-size: var(--scale-24, 24px);
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  font-feature-settings: "palt";
}
section#ranking div.ranking__heading h2 {
  color: var(--on-surface, #393f47);
  font-family: "Noto Sans JP";
  font-size: var(--scale-40, 40px);
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  align-self: stretch;
  text-align: center;
  margin-inline: auto;
}
section#ranking div.ranking__heading h2 span.highlight {
  color: var(--primary, #2894e2);
}
section#ranking div.ranking__heading p {
  color: var(--on-surface, #393f47);
  text-align: center;
  font-family: "Noto Sans JP";
  font-size: var(--scale-20, 20px);
  font-style: normal;
  font-weight: 500;
  line-height: 170%; /* 34px */
}

section#ranking div.ranking__units {
  display: flex;
  max-width: var(--width-mid, 1100px);
  flex-direction: column;
  align-items: center;
  gap: var(--scale-40, 40px);
}
section#ranking div.ranking__units div.ranking__unit-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--scale-8, 8px);
}
section#ranking div.ranking__units div.ranking__unit {
  display: flex;
  width: 100%;
  max-width: var(--width-mid, 1100px);
  flex-direction: column;
  align-items: flex-start;
}
section#ranking div.ranking__units div.ranking__unit .unit__heading {
  display: flex;
  padding: var(--scale-8, 8px) var(--scale-16, 16px);
  justify-content: center;
  align-items: center;
  gap: var(--scale-16, 16px);
  align-self: stretch;
  border-radius: var(--scale-8, 8px) var(--scale-8, 8px) 0 0;
  border-top: var(--scale-2, 2px) solid var(--primary, #2894e2);
  border-right: var(--scale-2, 2px) solid var(--primary, #2894e2);
  border-left: var(--scale-2, 2px) solid var(--primary, #2894e2);
  background: var(--primary-container, #d0f3ff);
}
section#ranking div.ranking__units div.ranking__unit .unit__heading a {
  display: contents;
}
section#ranking div.ranking__units div.ranking__unit .unit__heading h3 {
  flex: 1 0 0;
  color: var(--on-primary-container, #245eb4);
  font-family: "Noto Sans JP";
  font-size: var(--scale-32, 32px);
  font-style: normal;
  font-weight: 700;
  line-height: 130%; /* 41.6px */
}
section#ranking
  div.ranking__units
  div.ranking__unit
  .unit__heading
  .heading__recommend {
  aspect-ratio: 222.83 / 30;
  width: 100%;
  background: url(../images/ranking-recommend-bg.svg) center center / contain
    no-repeat;
  color: var(--surface, #fff);
  text-align: center;
  font-family: "Noto Sans JP";
  font-size: var(--scale-20, 20px);
  font-style: normal;
  font-weight: 700;
  line-height: 130%; /* 26px */
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 1em;
  max-width: 224px;
}

section#ranking div.ranking__units div.ranking__unit div.unit__body {
  display: flex;
  padding: var(--scale-20, 20px);
  flex-direction: column;
  align-items: flex-start;
  gap: var(--scale-20, 20px);
  align-self: stretch;
  border-radius: 0 0 var(--scale-8, 8px) var(--scale-8, 8px);
  border-right: var(--scale-2, 2px) solid var(--primary, #2894e2);
  border-bottom: var(--scale-2, 2px) solid var(--primary, #2894e2);
  border-left: var(--scale-2, 2px) solid var(--primary, #2894e2);
}
section#ranking
  div.ranking__units
  div.ranking__unit
  div.unit__body
  div.unit__upper-row {
  display: flex;
  align-items: flex-start;
  gap: var(--scale-20, 20px);
  align-self: stretch;
}

section#ranking
  div.ranking__units
  div.ranking__unit
  div.unit__body
  div.unit__upper-row
  .upper-row__screenshot {
  flex: 1 1 625px;
}
section#ranking
  div.ranking__units
  div.ranking__unit
  div.unit__body
  div.unit__upper-row
  .upper-row__screenshot
  img {
  border: 1px solid var(--border);
}

section#ranking
  div.ranking__units
  div.ranking__unit
  div.unit__body
  div.unit__upper-row
  .upper-row__data {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--scale-20, 20px);
  align-self: stretch;
  flex: 1 1 415px;
}

section#ranking
  div.ranking__units
  div.ranking__unit
  div.unit__body
  div.unit__upper-row
  .upper-row__data
  .data__row {
  display: flex;
  align-items: flex-start;
  gap: var(--scale-20, 20px);
  align-self: stretch;
}
section#ranking div.ranking__units div.ranking__unit div.unit__body .row__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1 0 0;
  height: 100%;
}

section#ranking
  div.ranking__units
  div.ranking__unit
  div.unit__body
  .row__item
  h5 {
  padding: var(--scale-4, 4px) var(--scale-8, 8px);
  justify-content: center;
  align-items: center;
  align-self: stretch;
  border-radius: var(--scale-8, 8px) var(--scale-8, 8px) 0 0;
  background: var(--primary, #2894e2);
  color: var(--surface, #fff);
  text-align: center;
  font-family: "Noto Sans JP";
  font-size: var(--scale-16, 16px);
  font-style: normal;
  font-weight: 700;
  line-height: 130%; /* 20.8px */
}
/*=========================
rate
===========================*/
section#ranking div.item__rate {
  border-radius: 0 0 var(--scale-8, 8px) var(--scale-8, 8px);
  border-right: 1px solid var(--border, #bcc3c6);
  border-bottom: 1px solid var(--border, #bcc3c6);
  border-left: 1px solid var(--border, #bcc3c6);
  display: flex;
  padding: var(--scale-8, 8px);
  justify-content: center;
  align-items: center;
  gap: var(--scale-4, 4px);
  flex: 1 0 0;
  align-self: stretch;
  color: var(--on-surface, #393f47);
  text-align: center;
  font-family: "Noto Sans JP";
  font-size: var(--scale-16, 16px);
  font-style: normal;
  font-weight: 700;
  line-height: 150%; /* 24px */
}
section#ranking div.item__rate--great {
  background: var(--rate-great-container, #fffad3);
}
section#ranking div.item__rate--good {
  background: var(--tertiary-container, #d4f6ec);
}
section#ranking figure.rate__icon {
  width: var(--scale-32, 32px);
  aspect-ratio: 1/1;
}
section#ranking div.item__rate div.rate__text {
  flex: 1 0 0;
  max-width: 200px;
}
section#ranking div.item__rate div.text__sub-text {
  color: var(--on-surface, #393f47);
  text-align: center;
  font-family: "Noto Sans JP";
  font-size: var(--scale-12, 12px);
  font-style: normal;
  font-weight: 500;
  line-height: 150%; /* 18px */
}

section#ranking
  div.ranking__units
  div.ranking__unit
  div.unit__body
  div.unit__upper-row
  .upper-row__data
  .data__score {
  width: 100%;
  max-width: 320px;
  margin-inline: auto;
}

section#ranking
  div.ranking__units
  div.ranking__unit
  div.unit__body
  div.unit__middle-row {
  display: flex;
  align-items: flex-start;
  gap: var(--scale-20, 20px);
  align-self: stretch;
}
section#ranking
  div.ranking__units
  div.ranking__unit
  div.unit__body
  div.unit__recommend-point {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--scale-16, 16px);
  align-self: stretch;
}
section#ranking
  div.ranking__units
  div.ranking__unit
  div.unit__body
  div.unit__recommend-point
  h3 {
  display: flex;
  justify-content: center;
  align-self: stretch;
  align-items: unset;
  color: var(--surface, #fff);
  text-align: center;
  font-family: "Noto Sans JP";
  font-size: var(--scale-20, 20px);
  font-style: normal;
  font-weight: 700;
  line-height: 170%; /* 34px */
}
section#ranking
  div.ranking__units
  div.ranking__unit
  div.unit__body
  div.unit__recommend-point
  h3
  > svg {
  height: 100%;
}
section#ranking
  div.ranking__units
  div.ranking__unit
  div.unit__body
  div.unit__recommend-point
  h3
  div {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex: 1 0 0;
  background: var(--primary, #2894e2);
}
section#ranking
  div.ranking__units
  div.ranking__unit
  div.unit__body
  div.unit__recommend-point
  h3
  div
  :is(svg, img) {
  margin-right: 0 !important;
  margin-left: 0 !important;
}

section#ranking
  div.ranking__units
  div.ranking__unit
  div.unit__body
  div.unit__recommend-point
  h3
  div
  img {
  width: var(--scale-32, 32px);
  height: 30.86px;
  aspect-ratio: 32/30.86;
}

section#ranking
  div.ranking__units
  div.ranking__unit
  div.unit__body
  div.unit__recommend-point
  ul {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: stretch;
}
section#ranking
  div.ranking__units
  div.ranking__unit
  div.unit__body
  div.unit__recommend-point
  ul
  li {
  padding: var(--scale-8, 8px) 0;
  align-items: flex-start;
  gap: var(--scale-8, 8px);
  align-self: stretch;
  border-bottom: 1px solid var(--border, #bcc3c6);
  position: relative;
  padding-left: var(--scale-32);
  color: var(--on-surface, #393f47);

  color: var(--on-surface, #393f47);
  font-family: "Noto Sans JP";
  font-size: min(18px, 100vw / 375 * 13);
  font-style: normal;
  font-weight: 500;
  line-height: 150%;
}
section#ranking
  div.ranking__units
  div.ranking__unit
  div.unit__body
  div.unit__recommend-point
  ul
  li
  svg {
  width: var(--scale-24, 24px);
  aspect-ratio: 1/1;
  position: absolute;
  left: 0;
  top: var(--scale-8, 8px);
}
section#ranking
  div.ranking__units
  div.ranking__unit
  div.unit__body
  div.unit__recommend-point
  ul
  li
  .highlight {
  display: inline;
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: none;
  text-decoration-color: rgba(255, 204, 0, 0.5);

  text-decoration-thickness: 30%; /* 5.4px */
  text-underline-offset: -2%; /* -0.36px */
  text-underline-position: from-font;
  font-weight: 700;
}

/*=================
CTA
===================*/
section#ranking div.ranking__units div.ranking__unit div.unit__cta {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  align-self: stretch;
}
section#ranking .ranking-button {
  width: 100%;
  margin-inline: auto;
}
section#ranking .ranking-button a {
}
section#ranking .ranking-button a .button__label {
  display: flex;
  padding: var(--scale-16, 16px) var(--scale-8, 8px);
  justify-content: center;
  align-items: center;
  gap: var(--scale-8, 8px);
  align-self: stretch;
  border-radius: var(--scale-8, 8px);
  border: 1px solid rgba(0, 0, 0, 0.24);
  background: var(--secondary, #f89000);
  color: var(--surface, #fff);
  text-align: center;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.25);
  font-family: "Noto Sans JP";
  font-size: var(--scale-20, 20px);
  font-style: normal;
  font-weight: 700;
  line-height: 130%; /* 26px */
  position: relative;
}
section#ranking .ranking-button--reservation a .button__label {
  background: var(--tertiary, #018e01);
}
section#ranking .ranking-button a .button__label:before {
  position: absolute;
  left: 1px;
  top: 1px;
  content: "";
  width: calc(100% - 2px);
  height: calc(100% - 2px);
  border-radius: var(--scale-8, 8px);
  border: 1px solid rgba(255, 255, 255, 0.64);
}
section#ranking .ranking-button a .button__label span {
  flex: 1 0 0;
}
section#ranking .ranking-button a .button__label svg {
  margin: 0 !important;
}

section#ranking .note {
  color: var(--on-surface-variant, #727579);
  font-family: "Noto Sans JP";
  font-size: var(--scale-12, 12px);
  font-style: normal;
  font-weight: 500;
  line-height: 130%; /* 15.6px */
}

@media screen and (max-width: 1024px) {
  section#ranking
    div.ranking__units
    div.ranking__unit
    div.unit__body
    div.unit__rows
    div.rows__row {
    flex-direction: column;
  }

  section#ranking
    div.ranking__units
    div.ranking__unit
    div.unit__body
    div.unit__rows
    div.rows__row
    div.row__point {
    flex: 1 0 0;
  }
  section#ranking
    div.ranking__units
    div.ranking__unit
    div.unit__body
    div.unit__upper-row {
    flex-direction: column;
  }
}

@media screen and (max-width: 768px) {
  section#ranking {
    background: var(--surface-variant, #f4fbff);
    padding-bottom: var(--padding-block);
  }
  section#ranking div.ranking__units div.ranking__unit .unit__heading {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: var(--scale-8, 6px);
    padding: var(--scale-16, 13px);
  }
  section#ranking
    div.ranking__units
    div.ranking__unit
    div.unit__body
    div.unit__upper-row
    .upper-row__screenshot {
    flex: 1 0 0;
  }
  section#ranking
    div.ranking__units
    div.ranking__unit
    div.unit__body
    div.unit__upper-row
    .upper-row__data {
    flex: 1 0 0;
  }

  section#ranking
    div.ranking__units
    div.ranking__unit
    div.unit__body
    div.unit__middle-row {
    flex-direction: column;
    align-items: stretch;
  }
  section#ranking div.ranking__units div.ranking__unit .unit__cta {
    flex-direction: column;
    gap: var(--scale-16, 13px);
  }
}

/*============================
#go-to-chart
============================*/

section#go-to-chart {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--scale-40, 40px) 0;
}
section#go-to-chart .go-to-chart__anchor-button {
  display: flex;
  padding: var(--scale-16, 16px);
  justify-content: center;
  align-items: center;
  gap: var(--scale-8, 8px);
  align-self: stretch;
  border-radius: var(--scale-8, 8px);
  border: 1px solid rgba(0, 0, 0, 0.24) 0%;
  background: var(--primary, #2894e2);
  max-width: 400px;
  color: var(--surface, #fff);
  text-align: center;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.25);
  font-family: "Noto Sans JP";
  font-size: var(--scale-20, 20px);
  font-style: normal;
  font-weight: 700;
  line-height: 130%; /* 26px */
  margin-inline: auto;
  width: 100%;
  position: relative;
}

section#go-to-chart .go-to-chart__anchor-button:before {
  content: "";
  width: calc(100% - 2px);

  height: calc(100% - 2px);
  left: 1px;
  top: 0px;
  border: 1px solid rgba(255, 255, 255, 0.64);
  position: absolute;
}

section#go-to-chart .go-to-chart__anchor-button div {
  flex: 1 0 0;
}
section#go-to-chart .go-to-chart__anchor-button svg {
  margin: 0 !important;
}
