/* ======================================================
   pc
====================================================== */
@media (min-width: 1001px) {
  .intro {
    background-color: #231815;
    position: relative;
    height: 85px;
  }

  #agreement #mainvisual .catch .catch_img {
    width: 72px !important;
  }

  #agreement #mainvisual .catch .catch_img img {
    width: 100%;
  }

  #agreement .ctitle {
    margin-bottom: 50px;
  }

  .agreement {
    padding: 60px 0 80px;
  }

  .agreement__inr.mainw {
    max-width: 920px;
  }

  .agreement__item .agreement__inr,
  .agreement__rules .agreement__inr {
    max-width: 860px;
    margin: 0 auto;
  }

  .agreement__item {
    font-size: 1.5rem;
    line-height: 1.8;
    letter-spacing: 0.04em;
    margin-bottom: 52px;
    scroll-margin-top: 120px;
  }

  .agreement__ttl {
    font-size: 2.3rem;
    letter-spacing: 0.1em;
    line-height: 1.5;
    margin-bottom: 14px;
    color: #48320D;
  }

  .agreement__ttl2 {
    font-size: 1.7rem;
    line-height: 1.6;
    letter-spacing: 0.06em;
    margin-bottom: 16px;
    color: #48320D;
  }

  .agreement__lead {
    max-width: 860px;
    margin: 0 auto 40px;
    font-size: 1.4rem;
    line-height: 1.85;
    letter-spacing: 0.04em;
    color: #48320D;
  }

  .agreement__lead p + p {
    margin-top: 12px;
  }

  .agreement__toc {
    max-width: 860px;
    margin: 0 auto 50px;
    padding: 28px 32px;
    background: #f8f5ef;
    border: 1px solid #d8cdb8;
  }

  .agreement__tocTitle {
    font-size: 2rem;
    line-height: 1.5;
    letter-spacing: 0.1em;
    color: #48320D;
    margin-bottom: 20px;
  }

  .agreement__tocBlock + .agreement__tocBlock {
    margin-top: 24px;
  }

  .agreement__tocHeading {
    font-size: 1.6rem;
    line-height: 1.5;
    letter-spacing: 0.08em;
    color: #48320D;
    margin-bottom: 12px;
  }

  .agreement__tocList {
    margin: 0;
    padding-left: 1.4em;
  }

  .agreement__tocList li {
    margin-bottom: 8px;
    line-height: 1.75;
    letter-spacing: 0.03em;
  }

  .agreement__tocList a {
    color: #48320D;
    text-decoration: none;
    border-bottom: 1px solid transparent;
  }

  .agreement__tocList a:hover {
    border-bottom-color: #48320D;
  }

  .agreement__appendixRef {
    margin-bottom: 16px;
    font-size: 1.4rem;
    line-height: 1.7;
    letter-spacing: 0.04em;
    color: #48320D;
  }

  .agreement__subTitle {
    margin-top: 90px;
    margin-bottom: 30px !important;
  }

  .agreement__inr > ol {
    padding-left: 24px;
    counter-reset: number 0;
  }

  .agreement__inr > ol > li {
    position: relative;
    padding-bottom: 16px;
  }

  .agreement__inr > ol > li::before {
    counter-increment: number 1;
    content: counter(number) ".";
    position: absolute;
    left: -24px;
    top: 0;
  }

  .agreement__inr > ol > li > ol {
    padding-left: 32px;
    margin-top: 10px;
    counter-reset: number2 0;
  }

  .agreement__inr > ol > li > ol > li {
    position: relative;
    padding-bottom: 10px;
  }

  .agreement__inr > ol > li > ol > li::before {
    counter-increment: number2 1;
    content: "(" counter(number2) ")";
    position: absolute;
    left: -28px;
    top: 0;
  }

  .agreement__inr > ol > li > ol > li > ol {
    padding-left: 1.4em;
    margin-top: 8px;
  }

  .agreement__inr > ol > li > ol > li > ol li {
    text-indent: -1.4em;
    padding-left: 1.4em;
    padding-bottom: 8px;
  }

  .agreement__inr > ol > li > ol > li > ol li::before {
    content: none;
  }

  .agreement__tableWrap {
    overflow-x: auto;
    margin: 20px 0;
  }

  .agreement__table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
    border: 1px solid #d8cdb8;
    background: #fff;
  }

  .agreement__table th,
  .agreement__table td {
    border: 1px solid #d8cdb8;
    padding: 14px 16px;
    vertical-align: top;
    text-align: left;
    font-size: 1.4rem;
    line-height: 1.75;
    letter-spacing: 0.03em;
  }

  .agreement__table th {
    width: 30%;
    background: #f8f5ef;
    color: #48320D;
    font-weight: 700;
  }

  .agreement__cellMiddleCenter {
    vertical-align: middle !important;
    text-align: center !important;
  }

  .agreement__cellMiddleCenterText {
    display: inline-block;
    width: 100%;
    text-align: center !important;
  }

  /* ---------------------------------------
     別表第1（宿泊料金等の内訳）
  --------------------------------------- */
  .agreement__table--appendix1 {
    width: 100%;
    table-layout: fixed;
  }

  .agreement__table--appendix1 th {
    text-align: center;
    vertical-align: middle;
  }

  /* ---------------------------------------
     別表第2（違約金表）
  --------------------------------------- */
  .agreement__tableWrap--cancel {
    overflow-x: auto;
  }

  .agreement__table--cancel {
    width: 100%;
    table-layout: fixed;
  }

  .agreement__table--cancel th,
  .agreement__table--cancel td {
    word-break: keep-all;
    overflow-wrap: normal;
    text-align: center;
    vertical-align: middle;
  }

  .agreement__table--cancel thead th {
    background: #efe7d9;
    white-space: nowrap;
  }

  .agreement__table--cancel tbody th {
    background: #f8f5ef;
    color: #48320D;
    font-weight: 700;
  }

  .agreement__cancelLate {
    text-align: center !important;
    white-space: nowrap;
  }

  .agreement__diag {
    position: relative;
  }

  .agreement__diag::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to top right,
      transparent 49.3%,
      #d8cdb8 49.5%,
      #d8cdb8 50.5%,
      transparent 50.7%
    );
    pointer-events: none;
  }

  .agreement__notes {
    margin-top: 18px;
  }

  .agreement__notes > p {
    margin-bottom: 10px;
    color: #48320D;
  }

  .agreement__notes ol {
    padding-left: 24px;
  }

  .agreement__notes ol li {
    margin-bottom: 10px;
    font-size: 1.4rem;
    line-height: 1.8;
    letter-spacing: 0.03em;
  }

  .agreement__effective {
    margin-top: 16px;
    text-align: right;
  }
}


/* ======================================================
   sp
====================================================== */
@media (max-width: 1000px) {
  #agreement .ctitle {
    margin-bottom: 50px;
  }

  #agreement #mainvisual .catch .catch_img {
    width: 6vmax;
  }

  #agreement #mainvisual .catch .catch_img img {
    width: 100%;
    height: auto;
  }

  #agreement #mainvisual picture img {
    -o-object-position: bottom;
    object-position: bottom;
  }

  .agreement {
    padding: 50px 0 70px;
  }

  .agreement__item {
    font-size: 1.4rem;
    line-height: 1.8;
    letter-spacing: 0.03em;
    margin-bottom: 42px;
    scroll-margin-top: 120px;
  }

  .agreement__ttl {
    font-size: 1.9rem;
    letter-spacing: 0.07em;
    line-height: 1.5;
    margin-bottom: 12px;
    color: #48320D;
  }

  .agreement__ttl2 {
    font-size: 1.6rem;
    line-height: 1.6;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
    color: #48320D;
  }

  .agreement__lead {
    margin: 0 auto 32px;
    font-size: 1.3rem;
    line-height: 1.8;
    letter-spacing: 0.03em;
    color: #48320D;
  }

  .agreement__lead p + p {
    margin-top: 10px;
  }

  .agreement__toc {
    margin: 0 auto 36px;
    padding: 20px 18px;
    background: #f8f5ef;
    border: 1px solid #d8cdb8;
  }

  .agreement__tocTitle {
    font-size: 1.8rem;
    line-height: 1.5;
    letter-spacing: 0.08em;
    color: #48320D;
    margin-bottom: 14px;
  }

  .agreement__tocBlock + .agreement__tocBlock {
    margin-top: 20px;
  }

  .agreement__tocHeading {
    font-size: 1.5rem;
    line-height: 1.5;
    letter-spacing: 0.06em;
    color: #48320D;
    margin-bottom: 10px;
  }

  .agreement__tocList {
    padding-left: 1.4em;
  }

  .agreement__tocList li {
    margin-bottom: 8px;
    line-height: 1.7;
    letter-spacing: 0.03em;
  }

  .agreement__tocList a {
    color: #48320D;
    text-decoration: none;
  }

  .agreement__appendixRef {
    margin-bottom: 14px;
    font-size: 1.3rem;
    line-height: 1.7;
    letter-spacing: 0.03em;
    color: #48320D;
  }

  .agreement__subTitle {
    margin-top: 60px;
    margin-bottom: 24px !important;
  }

  .agreement__inr > ol {
    padding-left: 5.6vw;
    counter-reset: number 0;
  }

  .agreement__inr > ol > li {
    position: relative;
    padding-bottom: 14px;
  }

  .agreement__inr > ol > li::before {
    counter-increment: number 1;
    content: counter(number) ".";
    position: absolute;
    left: -5.6vw;
    top: 0;
  }

  .agreement__inr > ol > li > ol {
    padding-left: 5.2vw;
    margin-top: 8px;
    counter-reset: number2 0;
  }

  .agreement__inr > ol > li > ol > li {
    position: relative;
    padding-bottom: 8px;
  }

  .agreement__inr > ol > li > ol > li::before {
    counter-increment: number2 1;
    content: "(" counter(number2) ")";
    position: absolute;
    left: -5vw;
    top: 0;
  }

  .agreement__inr > ol > li > ol > li > ol {
    padding-left: 1.4em;
    margin-top: 6px;
  }

  .agreement__inr > ol > li > ol > li > ol li {
    text-indent: -1.4em;
    padding-left: 1.4em;
    padding-bottom: 6px;
  }

  .agreement__inr > ol > li > ol > li > ol li::before {
    content: none;
  }

  .agreement__tableWrap {
    overflow-x: auto;
    margin: 18px 0;
  }

  .agreement__table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
    border: 1px solid #d8cdb8;
    background: #fff;
  }

  .agreement__table th,
  .agreement__table td {
    border: 1px solid #d8cdb8;
    padding: 12px 14px;
    vertical-align: top;
    text-align: left;
    font-size: 1.3rem;
    line-height: 1.75;
    letter-spacing: 0.03em;
  }

  .agreement__table th {
    background: #f8f5ef;
    color: #48320D;
    font-weight: 700;
  }

  .agreement__cellMiddleCenter {
    vertical-align: middle !important;
    text-align: center !important;
  }

  .agreement__cellMiddleCenterText {
    display: inline-block;
    width: 100%;
    text-align: center !important;
  }

  /* ---------------------------------------
     別表第1（宿泊料金等の内訳）
  --------------------------------------- */
  .agreement__table--appendix1 {
    width: 100%;
    table-layout: fixed;
  }

  .agreement__table--appendix1 th {
    text-align: center;
    vertical-align: middle;
  }

  /* ---------------------------------------
     別表第2（違約金表）
  --------------------------------------- */
  .agreement__tableWrap--cancel {
    overflow-x: auto;
  }

  .agreement__table--cancel {
    width: 100%;
    table-layout: fixed;
  }

  .agreement__table--cancel th,
  .agreement__table--cancel td {
    word-break: keep-all;
    overflow-wrap: normal;
    text-align: center;
    vertical-align: middle;
  }

  .agreement__table--cancel thead th {
    background: #efe7d9;
    white-space: nowrap;
  }

  .agreement__table--cancel tbody th {
    background: #f8f5ef;
    color: #48320D;
    font-weight: 700;
  }

  .agreement__cancelLate {
    text-align: center !important;
    white-space: nowrap;
  }

  .agreement__diag {
    position: relative;
  }

  .agreement__diag::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to top right,
      transparent 49.3%,
      #d8cdb8 49.5%,
      #d8cdb8 50.5%,
      transparent 50.7%
    );
    pointer-events: none;
  }

  .agreement__notes {
    margin-top: 16px;
  }

  .agreement__notes > p {
    margin-bottom: 10px;
    color: #48320D;
  }

  .agreement__notes ol {
    padding-left: 20px;
  }

  .agreement__notes ol li {
    margin-bottom: 10px;
    font-size: 1.3rem;
    line-height: 1.8;
    letter-spacing: 0.03em;
  }

  .agreement__effective {
    margin-top: 14px;
    text-align: right;
  }
}


/* 英語版ジャンプリンクと英語長文の折返しが安定のため */
/* ======================================================
   agreement english / jump links
====================================================== */

.agreement__enStart {
  margin-top: 90px;
  padding-top: 20px;
  border-top: 1px solid #d8cdb8;
}

.agreement__langJump {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 0 20px;
}

.agreement__langJump a {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid #d8cdb8;
  background: #f8f5ef;
  color: #48320D;
  text-decoration: none;
  line-height: 1.4;
}

.agreement__langJump a:hover {
  opacity: 0.85;
}

#agreement [id^="en-"] .agreement__ttl,
#agreement [id^="en-"] .agreement__ttl2,
#agreement [id^="en-"] .agreement__lead,
#agreement [id^="en-"] li,
#agreement [id^="en-"] td,
#agreement [id^="en-"] th,
#agreement [id^="en-"] p,
#agreement [id^="en-"] a {
  overflow-wrap: anywhere;
  word-break: normal;
}

@media (max-width: 1000px) {
  .agreement__enStart {
    margin-top: 70px;
    padding-top: 18px;
  }

  .agreement__langJump {
    gap: 10px;
    margin-bottom: 18px;
  }

  .agreement__langJump a {
    padding: 7px 12px;
    font-size: 1.3rem;
  }
}


/* 日本語版と同じでは英語見出し等が長くてレイアウトがくずれるため英語版専用のCSSを */
/* =========================================
   English Appendix 2
========================================= */
#en-appendix2 .agreement__tableWrap--cancelEn {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

#en-appendix2 .agreement__table--cancelEn {
  width: 100%;
  min-width: 920px;
  table-layout: fixed;
}

#en-appendix2 .agreement__table--cancelEn th,
#en-appendix2 .agreement__table--cancelEn td {
  white-space: normal;
  word-break: normal;
  overflow-wrap: anywhere;
  vertical-align: middle;
  line-height: 1.5;
  font-size: 1.4rem;
  padding: 12px 10px;
}

#en-appendix2 .agreement__table--cancelEn thead th {
  text-align: center;
}

#en-appendix2 .agreement__table--cancelEn tbody th,
#en-appendix2 .agreement__table--cancelEn tbody td:first-child,
#en-appendix2 .agreement__table--cancelEn tbody td:nth-child(2) {
  text-align: left;
}

#en-appendix2 .agreement__table--cancelEn tbody td {
  text-align: center;
}

#en-appendix2 .agreement__table--cancelEn .agreement__diag {
  min-width: 120px;
}

/* English Appendix 2 notes */
#en-appendix2 .agreement__notes {
  margin-top: 18px;
}

#en-appendix2 .agreement__notes > p {
  margin: 0 0 10px;
  font-weight: 700;
}

#en-appendix2 .agreement__notes ol {
  margin: 0;
  padding-left: 1.6em;
}

#en-appendix2 .agreement__notes li {
  margin: 0 0 10px;
  line-height: 1.8;
  word-break: normal;
  overflow-wrap: anywhere;
}

@media (max-width: 1000px) {
  #en-appendix2 .agreement__table--cancelEn {
    min-width: 820px;
  }

  #en-appendix2 .agreement__table--cancelEn th,
  #en-appendix2 .agreement__table--cancelEn td {
    font-size: 1.3rem;
    line-height: 1.45;
    padding: 10px 8px;
  }

  #en-appendix2 .agreement__notes {
    margin-top: 14px;
  }

  #en-appendix2 .agreement__notes > p {
    margin-bottom: 8px;
  }

  #en-appendix2 .agreement__notes ol {
    padding-left: 1.4em;
  }

  #en-appendix2 .agreement__notes li {
    margin-bottom: 8px;
    line-height: 1.75;
  }
}


/* [日本語]ボタンと[English]ボタン専用のCSS */
/* =========================================
   title row + language jump
========================================= */
.agreement__titleRow {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  margin-bottom: 20px;
}

.agreement__titleRow .ctitle {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
}

.agreement__titleRow .agreement__titleText {
  display: block;
}

.agreement__langJump {
  margin-left: auto;
  flex: 0 0 auto;
  display: flex;
  align-items: baseline;
}

.agreement__langJump a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border: 1px solid #d8cdb8;
  background: #f8f5ef;
  color: #48320D;
  text-decoration: none;
  line-height: 1.4;
  white-space: nowrap;
}

.agreement__langJump a:hover {
  opacity: 0.85;
}

/* 英語タイトルだけ少し長いので折返し許可 */
.agreement__titleRow--en .ctitle {
  line-height: 1.25;
}

/* スマホ */
@media (max-width: 1000px) {
  .agreement__titleRow {
    gap: 10px;
    margin-bottom: 16px;
  }

  .agreement__langJump a {
    padding: 7px 12px;
    font-size: 1.3rem;
  }
}

@media (max-width: 640px) {
  .agreement__titleRow {
    align-items: flex-start;
  }

  .agreement__langJump {
    align-self: flex-start;
  }

  .agreement__langJump a {
    padding: 6px 10px;
    font-size: 1.2rem;
  }
}