#anxiety-black {
  padding: 120px 0;
  color: #fff !important;
  background-color: #0e0e0e;
}
#anxiety-black #intro-title {
  color: #fff !important;
}
#anxiety-black .read_text {
  color: #fff !important;
}
.features.hotel .feature-card__header {
  margin-bottom: 0;
  padding: 14px 20px;
  background: #0e0e0e;
  font-size: 20px;
}

#automation .intro-diagram img {
  background: none;
}

.features.hotel .feature-card__title {
  font-size: 20px;
  line-height: 1.5;
  color: #fff;
  text-align: center;
}

.features.hotel .feature-card__body {
  border: 1px solid #0e0e0e;
  border-top: none;
}

/* 隣り合うカードの各パーツ（見出し／本文／画像／ラベル／締め文）を
   subgrid で同じ行に載せ、文章量が違っても高さがズレないようにする */
.features.hotel .features__grid {
  display: grid;
  grid-template-columns: repeat(2, 48%);
  justify-content: space-between;
  column-gap: 0;
  row-gap: 20px;
}

.features.hotel .feature-card {
  width: auto;
  margin-bottom: 0;
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 6;
  row-gap: 0;
}

.features.hotel .feature-card__body {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 5;
  row-gap: 0;
}

/* subgrid 非対応ブラウザ向けフォールバック（従来のflexレイアウト） */
@supports not (grid-template-rows: subgrid) {
  .features.hotel .features__grid {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
  }
  .features.hotel .feature-card {
    width: 48%;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
  }
  .features.hotel .feature-card__body {
    display: block;
    flex: 1 1 auto;
  }
}

.features.hotel .feature-card__labels span {
  background: #ebecdf;
  color: #0e0e0e;
}
#automation {
  padding: 60px 0;
  padding-left: 150px;
}
#automation .section-heading {
  margin-bottom: 120px;
}
/* ======================================
   AI Support
====================================== */
.support {
  padding: 0 0 62px;
}

.support_card {
  border: 1px solid #0e0e0e;
  overflow: hidden;
}

.support_card__header {
  padding: 14px 20px;
  background: #0e0e0e;
}

.support_card__title {
  font-size: 20px;
  line-height: 1.5;
  font-weight: 700;
  color: #fff;
  text-align: center;
}

.support_card__body {
  padding: 40px;
}
.support_card__body .section-heading__sub_title {
  margin-bottom: 30px;
  font-size: 20px;
}

.support__intro p {
  width: 860px;
  font-size: 14px;
  line-height: 1.95;
  color: #333;
}

.support__visual {
  margin-top: 20px;
  text-align: center;
}

.support__visual img {
  width: 100%;
}

.support__message {
  margin-top: 30px;
  text-align: center;
}

.support__message p {
  font-size: 18px;
  line-height: 1.8;
  font-weight: 700;
  color: #222;
}


/* ======================================
   Merits
====================================== */
.merits.hotel {
  padding: 120px 0;
  background: #f3f4ee;
}


.merits.hotel .merits__content {
  margin-top: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 40px;
  align-items: center;
}

.merits.hotel .merits__brand {
  display: flex;
  align-items: center;
  justify-content: center;
}

.merits.hotel .merits__brand img {
  width: 100%;
  max-width: 400px;
}

.merits.hotel .merits__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.merits.hotel .merit-box {
  border: none;
  border-radius: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  gap: 20px;
  font-size: 20px;
  line-height: 32px;
  color: #26abe3;
}

.merits.hotel .merit-box__num {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #26abe3;
  color: #fff;
  font-size: 15px;
  line-height: 1;
  letter-spacing: 0.05em;
}

.merits.hotel .merits__closing {
  margin-top: 60px;
  text-align: left;
}

.merits.hotel .merits__closing h3 {
  font-size: 30px;
  line-height: 48px;
  font-weight: 700;
}

.merits.hotel .merits__closing p {
  margin-top: 20px;
  font-size: 15px;
  line-height: 30px;
}


@media screen and (max-width: 768px) {
  .intro.hotel {
    margin-bottom: 0;
  }
  #anxiety-black {
    padding: 60px 0;
  }
  #anxiety-black h2 {
    text-align: center;
    font-size: 22.5px;
    line-height: 1.6;
    margin-bottom: 30px;
  }
  #anxiety-black .read_text {
    margin-top: 30px;
    font-size: 12px;
    line-height: 2;
  }
  #automation {
    padding-left: 14px;
    padding-right: 14px;
  }
  #automation .section-heading__sub_title {
    font-size: 22.5px;
    line-height: 1.6;
    text-align: center;
  }
  #automation .read_text {
    margin-top: 30px;
  }
  #automation .section-heading {
    margin-bottom: 60px;
  }
  .features.hotel .features__grid {
    grid-template-columns: 1fr;
  }
  .features.hotel .feature-card {
    grid-row: auto;
    display: block;
    margin-bottom: 20px;
  }
  .features.hotel .feature-card__body {
    display: block;
    grid-row: auto;
  }
  /* ======================================
     Support
  ====================================== */
  .support {
    padding: 0 0 56px;
  }

  .support_card__header {
    padding: 12px 14px;
  }

  .support_card__title {
    font-size: 17px;
  }

  .support_card__body {
    padding: 20px 16px;
  }

  .features.hotel .feature-card__header {
    padding: 12px 14px;
  }

  .features.hotel .feature-card__title {
    font-size: 17px;
  }

  .support__intro p {
    width: 100%;
    font-size: 12px;
    line-height: 1.9;
  }

  /* ======================================
     Merits
  ====================================== */
  .merits.hotel {
    padding: 56px 0;
  }

  .merits.hotel .merits__content {
    grid-template-columns: 1fr;
    row-gap: 24px;
  }

  .merits.hotel .merits__brand img {
    max-width: 220px;
  }

  .merits.hotel .merits__grid {
    gap: 16px;
  }

  .merits.hotel .merit-box {
    gap: 14px;
    font-size: 15px;
    line-height: 1.7;
  }

  .merits.hotel .merit-box__num {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    font-size: 13px;
  }

  .merits.hotel .merits__closing {
    margin-top: 24px;
  }

  .merits.hotel .merits__closing h3 {
    font-size: 20px;
    line-height: 1.7;
  }

  .merits.hotel .merits__closing p {
    margin-top: 12px;
    font-size: 13px;
    line-height: 1.9;
  }

  .support__visual {
    margin-top: 16px;
  }

  .support__visual img {
    width: 100%;
    max-width: 100%;
  }

  .support__message {
    margin-top: 16px;
  }

  .support__message p {
    font-size: 18px;
    line-height: 1.8;
  }
}

@media screen and (max-width: 480px) {
  /* ======================================
     Support
  ====================================== */
  .support_card__body {
    padding: 18px 12px;
  }

  .support_card__title,
  .features.hotel .feature-card__title {
    font-size: 15px;
  }

  /* ======================================
     Merits
  ====================================== */
  .merits.hotel .merit-box {
    gap: 12px;
    font-size: 14px;
  }

  .merits.hotel .merit-box__num {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    font-size: 12px;
  }

  .merits.hotel .merits__closing h3 {
    font-size: 18px;
  }

  .merits.hotel .merits__closing p {
    font-size: 12px;
  }

  .support__intro p {
    font-size: 11px;
    line-height: 1.85;
  }

  .support__visual img {
    width: 100%;
  }

  .support__message p {
    font-size: 16px;
    line-height: 1.75;
  }
}