/* =========================================================
   resortinn terms page
========================================================= */
.resortinn-terms-page {
  background: #fff;
  color: #22323a;
}

/* =========================================================
   hero
========================================================= */
.resortinn-terms-hero {
  position: relative;
  padding: clamp(50px, 5vw, 140px) 0 clamp(20px, 1vw, 40px);
  background:
    radial-gradient(
      circle at right top,
      rgba(181, 151, 104, 0.1),
      transparent 36%
    ),
    #fff;
}

.resortinn-terms-hero__inner {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  text-align: center;
}

.resortinn-terms-hero__eyebrow,
.resortinn-terms-section-head__eyebrow {
  margin: 0 0 16px;
  color: rgba(34, 50, 58, 0.42);
  font-size: 0.72rem;
  line-height: 1.5;
  letter-spacing: 0.3em;
  font-weight: 700;
}

.resortinn-terms-hero__title {
  margin: 0;
  font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
  font-size: clamp(2.3rem, 3vw, 3.2rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.18em;
  color: #22323a;
}

.resortinn-terms-hero__lead {
  width: min(960px, 100%);
  margin: clamp(24px, 3vw, 38px) auto 0;
  font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
  font-size: clamp(0.92rem, 1vw, 1rem);
  line-height: 2.1;
  letter-spacing: 0.06em;
  color: rgba(34, 50, 58, 0.7);
}

/* =========================================================
   common
========================================================= */
.resortinn-terms-main {
  background: #fff;
}

.resortinn-terms-summary,
.resortinn-terms-body,
.resortinn-terms-tables {
  position: relative;
  background: #fff;
}

.resortinn-terms-summary {
  padding: clamp(50px, 7vw, 90px) 0 clamp(70px, 9vw, 120px);
}

.resortinn-terms-body {
  padding: clamp(70px, 9vw, 120px) 0;
}

.resortinn-terms-tables {
  padding: clamp(70px, 9vw, 120px) 0 clamp(100px, 12vw, 170px);
}

.resortinn-terms-summary__inner,
.resortinn-terms-body__inner,
.resortinn-terms-tables__inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.resortinn-terms-section-head {
  margin-bottom: clamp(34px, 5vw, 64px);
  text-align: center;
}

.resortinn-terms-section-head__title {
  margin: 0;
  font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
  font-size: clamp(1.55rem, 2.4vw, 2.8rem);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0.1em;
  color: #22323a;
}

/* =========================================================
   summary
========================================================= */
.resortinn-terms-summary__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 30px);
}

.resortinn-terms-summary-card {
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid rgba(34, 50, 58, 0.12);
  background: #fff;
}

.resortinn-terms-summary-card__label {
  margin: 0 0 12px;
  color: rgba(155, 122, 66, 0.84);
  font-family: 'Roboto', 'Noto Sans JP', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  font-weight: 700;
}

.resortinn-terms-summary-card h3 {
  margin: 0;
  font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
  font-size: clamp(1.1rem, 1.5vw, 1.45rem);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.08em;
  color: #22323a;
}

.resortinn-terms-summary-card p:not(.resortinn-terms-summary-card__label) {
  margin: 12px 0 0;
  font-size: clamp(0.86rem, 0.95vw, 0.94rem);
  line-height: 1.95;
  letter-spacing: 0.05em;
  color: rgba(34, 50, 58, 0.7);
}

/* =========================================================
   article list
========================================================= */
.resortinn-terms-list {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(34, 50, 58, 0.14);
}

.resortinn-terms-article {
  display: grid;
  grid-template-columns: 110px 240px minmax(0, 1fr);
  gap: clamp(20px, 3vw, 44px);
  padding: clamp(28px, 4vw, 48px) 0;
  border-bottom: 1px solid rgba(34, 50, 58, 0.14);
}

.resortinn-terms-article__number {
  width: fit-content;
  min-width: 76px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0 14px;
  border: 1px solid rgba(155, 122, 66, 0.42);

  background: rgb(155 122 66 / 0%);
  color: #9b7a42;
  font-family: 'Roboto', 'Noto Sans JP', sans-serif;
  font-size: 0.72rem;
  line-height: 1;
  letter-spacing: 0.12em;
  font-weight: 700;
}

@media (min-width: 991px) {
  .resortinn-terms-article__number {
    margin-top: 10px;
  }
}

.resortinn-terms-article__title {
  margin: 0;
  font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
  font-size: clamp(1.12rem, 1.5vw, 1.55rem);
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: 0.08em;
  color: #22323a;
}

.resortinn-terms-article__content {
  min-width: 0;
}

.resortinn-terms-article__content p,
.resortinn-terms-article__content li {
  font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
  font-size: clamp(0.86rem, 0.95vw, 0.94rem);
  line-height: 2.05;
  letter-spacing: 0.05em;
  color: rgba(34, 50, 58, 0.74);
}

.resortinn-terms-article__content p {
  margin: 0;
}

.resortinn-terms-article__content p + p,
.resortinn-terms-article__content p + ol,
.resortinn-terms-article__content ol + p {
  margin-top: 14px;
}

.resortinn-terms-article__content ol {
  margin: 14px 0 0;
  padding-left: 1.4em;
}

.resortinn-terms-article__content li + li {
  margin-top: 4px;
}

/* =========================================================
   tables
========================================================= */
.resortinn-terms-table-block {
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid rgba(34, 50, 58, 0.12);
  background: #fff;
}

.resortinn-terms-table-block + .resortinn-terms-table-block {
  margin-top: clamp(28px, 4vw, 50px);
}

.resortinn-terms-table-block__title {
  margin: 0;
  font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
  font-size: clamp(1.25rem, 1.7vw, 1.8rem);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.08em;
  color: #22323a;
}

.resortinn-terms-table-block__note {
  margin: 8px 0 0;
  color: rgba(34, 50, 58, 0.5);
  font-size: 0.82rem;
  line-height: 1.8;
  letter-spacing: 0.06em;
}

.resortinn-terms-table-wrap {
  width: 100%;
  margin-top: 24px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.resortinn-terms-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.88rem;
  line-height: 1.7;
}

.resortinn-terms-table--cancel {
  min-width: 980px;
}

.resortinn-terms-table th,
.resortinn-terms-table td {
  padding: 14px 16px;
  border: 1px solid rgba(34, 50, 58, 0.14);
  text-align: left;
  vertical-align: top;
  color: rgba(34, 50, 58, 0.74);
}

.resortinn-terms-table thead th {
  background: rgba(155, 122, 66, 0.06);
  color: #22323a;
  font-weight: 600;
  white-space: nowrap;
}

.resortinn-terms-table tbody th {
  width: 180px;
  background: rgba(34, 50, 58, 0.025);
  color: #22323a;
  font-weight: 500;
}

.resortinn-terms-table--cancel th,
.resortinn-terms-table--cancel td {
  text-align: center;
  white-space: nowrap;
}

.resortinn-terms-table--cancel tbody th {
  text-align: left;
}

.resortinn-terms-notes {
  margin-top: clamp(24px, 3vw, 38px);
  padding-top: 24px;
  border-top: 1px solid rgba(34, 50, 58, 0.12);
}

.resortinn-terms-notes h4 {
  margin: 0 0 12px;
  font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
  font-size: clamp(1.05rem, 1.3vw, 1.3rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #22323a;
}

.resortinn-terms-notes ol {
  margin: 0;
  padding-left: 1.4em;
}

.resortinn-terms-notes li {
  font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
  font-size: clamp(0.86rem, 0.95vw, 0.94rem);
  line-height: 2;
  letter-spacing: 0.05em;
  color: rgba(34, 50, 58, 0.72);
}

.resortinn-terms-notes li + li {
  margin-top: 6px;
}

/* =========================================================
   responsive
========================================================= */
@media (max-width: 991.98px) {
  .resortinn-terms-summary__grid {
    grid-template-columns: 1fr;
  }

  .resortinn-terms-article {
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 18px 28px;
  }

  .resortinn-terms-article__content {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767.98px) {
  .resortinn-terms-hero {
    padding: 130px 0 70px;
  }

  .resortinn-terms-hero__inner,
  .resortinn-terms-summary__inner,
  .resortinn-terms-body__inner,
  .resortinn-terms-tables__inner {
    width: min(100% - 28px, 1180px);
  }

  .resortinn-terms-hero__title {
    font-size: clamp(2.4rem, 14vw, 4.4rem);
  }

  .resortinn-terms-section-head {
    text-align: left;
  }

  .resortinn-terms-summary {
    padding: 48px 0 70px;
  }

  .resortinn-terms-body {
    padding: 64px 0;
  }

  .resortinn-terms-tables {
    padding: 64px 0 96px;
  }

  .resortinn-terms-article {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 28px 0;
  }

  .resortinn-terms-article__number {
    min-width: 72px;
    height: 30px;
    font-size: 0.68rem;
  }

  .resortinn-terms-article__content {
    grid-column: auto;
  }

  .resortinn-terms-table-block {
    padding: 22px 18px;
  }

  .resortinn-terms-table th,
  .resortinn-terms-table td {
    padding: 12px 14px;
  }
}
