/*
 * IDX.jp Bespoke pages
 * Suggested path: /wp-content/themes/<child-theme>/assets/css/mtg-bespoke.css
 * Load on /bespoke/ and its child pages from functions.php.
 *
 * Use these prefixed classes in Enfold ALB > Advanced > Custom CSS Class,
 * or on the matching element in a Custom HTML block. Styles are component-
 * scoped so the rest of the Enfold site is not affected.
 */

/* Shared design tokens */
  #hotel-hero-content {
    width: 100%;
    margin: 0 auto;
    color: #06467f;
  }

  #hotel-hero-content,
  #hotel-hero-content * {
    box-sizing: border-box;
  }

  #hotel-hero-content .hotel-hero-copy {
    width: 48%;
    max-width: 780px;
  }

  #hotel-hero-content .hotel-hero-logos {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
  }

  #hotel-hero-content .hotel-hero-logos img {
    display: block;
    height: auto;
    object-fit: contain;
  }

  #hotel-hero-content .hotel-hero-logo--navc {
  width: auto;
  height: clamp(40px, 4vw, 55px)!important;
  }

  #hotel-hero-content .hotel-hero-logo--aidata {
  width: auto;
  height: clamp(30px, 3.4vw, 40px)!important;
  }

  #hotel-hero-content .hotel-hero-cross {
    flex: 0 0 auto;
    color: #222;
    font-size: clamp(34px, 4vw, 58px);
    line-height: 1;
  }

  #hotel-hero-content h1 {
    margin: 0 0 20px;
    color: #06467f!important;
    font-size: 48px!important;
    font-weight: 600;
    line-height: 1.42;
		font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN",
      "Times New Roman", serif;
  }

  #hotel-hero-content .hotel-hero-subtitle {
    display: table;
    margin: 0 0 22px;
    padding-bottom: 12px;
    border-bottom: 1px solid #06467f;
    color: #06467f;
		font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN",
      "Times New Roman", serif;
    font-weight: 500;
    line-height: 1.5;
  }

  #hotel-hero-content .hotel-hero-description {
    max-width: 780px;
    margin: 0;
    color: #06467f;
		font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN",
      "Times New Roman", serif;
    line-height: 1.8;
  }


  @media (max-width: 767px) {
    #hotel-hero-content .hotel-hero-copy {
      width: 100%;
      max-width: 560px;
    }

    #hotel-hero-content .hotel-hero-logos {
      gap: 10px;
      margin-bottom: 26px;
    }

    #hotel-hero-content h1 {
      margin-bottom: 22px;
      font-size: 42px!important;
    }

    #hotel-hero-content .hotel-hero-subtitle {
      margin-bottom: 16px;
      padding-bottom: 9px;
      font-size: 20px!important;
    }
  }

  #hotel-challenges,
  #hotel-challenges * {
    box-sizing: border-box;
  }

  #hotel-challenges .hotel-challenges-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
    margin: 0 auto;
  }

  #hotel-challenges .hotel-challenge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  #hotel-challenges .hotel-challenge-icon {
    display: flex;
    width: clamp(120px, 10.2vw, 206px);
    aspect-ratio: 1 / 1;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    border-radius: 50%;
    background: #eff8fd;
  }

  #hotel-challenges .hotel-challenge-icon img {
    display: block;
    width: 48%;
    height: 48%;
    object-fit: contain;
  }

  #hotel-challenges .hotel-challenge-label {
    margin: 0;
    color: #202020;
    font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN",
      "Times New Roman", serif;
    font-size: 16px!important;
    line-height: 1.5;
    text-align: center;
  }

  @media (max-width: 989px) {
    #hotel-challenges .hotel-challenges-grid {
      grid-template-columns: repeat(3, minmax(0, 1fr));
      row-gap: 30px;
    }

    #hotel-challenges .hotel-challenge-icon {
      width: clamp(120px, 17vw, 170px);
    }

  }

  @media (max-width: 600px) {
    #hotel-challenges .hotel-challenges-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 26px 12px;
    }

    #hotel-challenges .hotel-challenge-icon {
      width: clamp(108px, 31vw, 145px);
      margin-bottom: 12px;
    }

    #hotel-challenges .hotel-challenge-label {
      font-size: 14px!important;
      line-height: 1.6;
    }

    #hotel-challenges .hotel-challenge-item:last-child {
      grid-column: 1 / -1;
    }
  }


  #hotel-ai-system {
    box-sizing: border-box;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: clamp(24px, 3vw, 58px);
    border-radius: 14px;
    background: #f1f7ff;
    color: #06467f;
    font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN",
      "Times New Roman", serif;
  }

  #hotel-ai-system,
  #hotel-ai-system * {
    box-sizing: border-box;
  }

  #hotel-ai-system .hotel-ai-system__title {
    margin: 0 0 30px;
    color: #555;
    font-family: "Times New Roman", serif;
    font-size: 22px!important;
    font-weight: 600;
    text-align: center;
  }

  #hotel-ai-system .hotel-ai-system__card {
    display: flex;
    min-height: clamp(210px, 15vw, 305px);
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px solid #8db4df;
    border-radius: 28px;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: right center;
    background-size: auto 100%;
  }

  #hotel-ai-system .hotel-ai-system__card--brain {
    background-image: url("/wp-content/uploads/hotel-back-001.png");
  }

  #hotel-ai-system .hotel-ai-system__card--idx {
    background-image: url("/wp-content/uploads/hotel-back-002.png");
  }

  #hotel-ai-system .hotel-ai-system__card--pms {
    background-image: url("/wp-content/uploads/hotel-back-003.png");
  }

  #hotel-ai-system .hotel-ai-system__card-content {
    width: 76%;
    padding: 24px 16px;
    text-align: center;
  }

  #hotel-ai-system .hotel-ai-system__label {
    margin: 0 0 16px;
    color: #555;
    font-size: 18px!important;
    line-height: 1.4;
  }

  #hotel-ai-system .hotel-ai-system__heading {
    margin: 0 0 20px;
    color: #073f82;
    font-size: 24px!important;
    font-weight: 600;
    line-height: 1.5;
		    font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN",
      "Times New Roman", serif;
  }

  #hotel-ai-system .hotel-ai-system__description {
    margin: 0;
    color: #666;
    font-size: 16px!important;
  }

  #hotel-ai-system .hotel-ai-system__connector {
    display: flex;
    height: 100px!important;
    align-items: center;
    justify-content: center;
  }

#hotel-ai-system .hotel-ai-system__connector img {
  display: block;
  width: auto;
  height: 50px;
  object-fit: contain;
}


  #hotel-ai-system .hotel-ai-system__note {
    margin: 14px 0 0!important;
    color: #06467f;
    font-size: 15px!important;
    text-align: center;
  }

@media (max-width: 767px) {
  #hotel-ai-system .hotel-ai-system__card {
    min-height: 240px;
    align-items: flex-start;
    background-position: center, center bottom;
    background-size: 100% 100%, auto 100%;
  }

  #hotel-ai-system .hotel-ai-system__card--brain {
    background-image:
      linear-gradient(
        to bottom,
        #fff 0%,
        #fff 58%,
        rgba(255, 255, 255, .96) 66%,
        rgba(255, 255, 255, 0) 88%
      ),
      url("/wp-content/uploads/hotel-back-001.jpg");
  }

  #hotel-ai-system .hotel-ai-system__card--idx {
    background-image:
      linear-gradient(
        to bottom,
        #fff 0%,
        #fff 58%,
        rgba(255, 255, 255, .96) 66%,
        rgba(255, 255, 255, 0) 88%
      ),
      url("/wp-content/uploads/hotel-back-002.jpg");
  }

  #hotel-ai-system .hotel-ai-system__card--pms {
    background-image:
      linear-gradient(
        to bottom,
        #fff 0%,
        #fff 58%,
        rgba(255, 255, 255, .96) 66%,
        rgba(255, 255, 255, 0) 88%
      ),
      url("/wp-content/uploads/hotel-back-003.jpg");
  }

  #hotel-ai-system .hotel-ai-system__label {
    margin-bottom: 10px;
  }

  #hotel-ai-system .hotel-ai-system__heading {
    margin-bottom: 10px;
  }
}


#top .hotel-brain-box {
  box-sizing: border-box;
  margin: 0 auto;
  padding: 36px 52px 64px;
  border: 1px solid #555;
  border-radius: 22px;
  background: #fff;
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN",
    Meiryo, sans-serif;
}

#top .hotel-brain-box * {
  box-sizing: border-box;
}

#top .hotel-brain-head {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 40px;
}

#top .hotel-brain-head img {
  display: block;
  flex: 0 0 94px;
  width: 90px;
  height: 90px;
  object-fit: contain;
	background:#eff7fb;
	padding:1.5%;
	border-radius: 20px;
}

#top .hotel-brain-name {
  color: #073f82;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.25;
}

#top .hotel-brain-subtitle {
  margin-top: 5px;
  color: #073f82;
  font-size: 16px;
  line-height: 1.5;
}

#top .hotel-brain-questions {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

#top .hotel-brain-question {
  display: flex;
  min-height: 82px;
  align-items: center;
  margin: 0;
  padding: 18px 72px;
  border-radius: 999px;
  background: #e8f3ff;
  color: #666;
  font-size: 15px;
  line-height: 1.6;
}

@media (max-width: 767px) {
  #top .hotel-brain-box {
    padding: 22px 16px 28px;
    border-radius: 16px;
  }

  #top .hotel-brain-head {
    gap: 14px;
    margin-bottom: 26px;
  }

  #top .hotel-brain-head img {
    flex-basis: 68px;
    width: 68px;
    height: 68px;
  }

  #top .hotel-brain-name {
    font-size: 23px;
  }

  #top .hotel-brain-subtitle {
    font-size: 14px;
  }

  #top .hotel-brain-questions {
    gap: 12px;
  }

  #top .hotel-brain-question {
    min-height: 62px;
    padding: 14px 20px;
    border-radius: 32px;
  }
}

#top .hotel-service-grid,
#top .hotel-service-grid * {
  box-sizing: border-box;
}

#top .hotel-service-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto 16px;
}

#top .hotel-service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  padding: 24px 29px;
  border: 1px solid #8faad0;
  border-radius: 22px;
  background: #fff;
}

#top .hotel-service-card__icon {
  display: block;
  width: 80px;
  height: 80px;
  margin: 0 auto 18px;
  object-fit: contain;
}

#top .hotel-service-card__title {
  margin: 0 0 12px;
  color: #073f82;
  font-size: 18px!important;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
}

#top .hotel-service-card__description {
  width: 100%;
  margin: 0;
  color: #222;
  line-height: 1.7;
  text-align: left;
}

@media (max-width: 1100px) {
  #top .hotel-service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  #top .hotel-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  #top .hotel-service-card {
    padding: 18px 14px;
    border-radius: 16px;
  }

  #top .hotel-service-card__icon {
    width: 76px;
    height: 76px;
    margin-bottom: 14px;
  }

  #top .hotel-service-card__title {
    margin-bottom: 9px;
    font-size: 18px;
  }

  #top .hotel-service-card__description {
    font-size: 15px;
    line-height: 1.65;
  }
}

#top .hotel-fde-steps,
#top .hotel-fde-steps * {
  box-sizing: border-box;
}

#top .hotel-fde-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

#top .hotel-fde-step {
  position: relative;
  display: flex;
  min-height: 280px;
  align-items: flex-start;
  padding: 28px 22px 28px 30px;
  overflow: hidden;
  border: 1px solid #8faad0;
  border-radius: 22px;
  background: #fff;
}

#top .hotel-fde-step__copy {
  position: relative;
  z-index: 1;
  width: calc(100% - 115px);
}

#top .hotel-fde-step__number {
  margin: 0 0 24px;
  color: #073f82;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  line-height: 1;
}

#top .hotel-fde-step__title {
  margin: 0 0 22px;
  color: #073f82;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
}

#top .hotel-fde-step__description {
  margin: 0;
  color: #222;
  font-size: 15px;
  line-height: 1.75;
}

#top .hotel-fde-step__icon {
  position: absolute;
  right: 20px;
  bottom: 24px;
  display: block;
  width: 110px;
  height: 110px;
  object-fit: contain;
}

@media (max-width: 1000px) {
  #top .hotel-fde-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  #top .hotel-fde-step {
    min-height: 260px;
    padding: 24px 18px;
  }

  #top .hotel-fde-step__copy {
    width: calc(100% - 95px);
  }

  #top .hotel-fde-step__icon {
    right: 14px;
    bottom: 20px;
    width: 90px;
    height: 90px;
  }
}

@media (max-width: 600px) {
  #top .hotel-fde-steps {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  #top .hotel-fde-step {
    min-height: 220px;
    padding: 22px 18px;
    border-radius: 16px;
  }

  #top .hotel-fde-step__copy {
    width: calc(100% - 92px);
  }

  #top .hotel-fde-step__number {
    margin-bottom: 16px;
    font-size: 30px;
  }

  #top .hotel-fde-step__title {
    margin-bottom: 14px;
  }

  #top .hotel-fde-step__icon {
    right: 12px;
    bottom: 18px;
    width: 82px;
    height: 82px;
  }
}

#top .hotel-service-grid,
#top .hotel-fde-steps {
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN",
    "Times New Roman", serif !important;
}

#top .hotel-service-card__title,
#top .hotel-fde-step__title,
#top .hotel-service-card__description,
#top .hotel-fde-step__description {
  font-family: inherit !important;
}

/* 전체 폰트와 박스 크기 */
#top .hotel-rollout,
#top .hotel-rollout * {
  box-sizing: border-box;
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN",
    "Times New Roman", serif !important;
}

/* 배경 패널 */
#top .hotel-rollout {
  width: 100%;
  padding: clamp(30px, 4vw, 60px) 24px;
  border-radius: 22px;
  background: #ebf4ff;
  color: #111;
}

/* 내부 콘텐츠 폭 */
#top .hotel-rollout__inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

/* 섹션 제목과 설명 */
#top .hotel-rollout__heading {
  margin: 0;
  color: #111;
  font-size: 24px !important;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
}

#top .hotel-rollout__lead {
  margin: 14px 0 28px !important;
  color: #222;
  font-size: 16px !important;
  line-height: 1.8;
  text-align: center;
}

/* 단계 그리드 */
#top .hotel-rollout__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 28px);
  margin: 0;
  padding: 0;
  list-style: none;
}

#top .hotel-rollout__item {
  min-width: 0;
  text-align: center;
}

/* 번호와 제목을 넣는 원형 */
#top .hotel-rollout__circle {
  display: flex;
  width: min(100%, 205px);
  aspect-ratio: 1 / 1;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  margin: 0 auto 16px;
  padding: 24px 14px;
  border: 1px solid #06467f;
  border-radius: 50%;
}

#top .hotel-rollout__number {
  display: flex;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: #06467f;
  color: #fff;
  font-family: Arial, sans-serif !important;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
}

#top .hotel-rollout__step-title {
  margin: 0;
  color: #111;
  font-size: 18px !important;
  font-weight: 600;
  line-height: 1.5;
}

/* 단계별 설명 폭과 정렬 통일 */
#top .hotel-rollout__description {
  width: 100%;
  max-width: 230px;
  min-height: 5.25em;
  margin: 0 auto;
  color: #222;
  font-size: 15px !important;
  line-height: 1.75;
  text-align: left;
}

/* 태블릿: 3열 */
@media (max-width: 1050px) {
  #top .hotel-rollout__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 32px;
  }

  #top .hotel-rollout__circle {
    width: min(100%, 190px);
  }
}

/* 모바일: 2열 */
@media (max-width: 650px) {
  #top .hotel-rollout {
    padding: 30px 16px;
    border-radius: 16px;
  }

  #top .hotel-rollout__heading {
    font-size: 23px !important;
  }

  #top .hotel-rollout__lead {
    margin: 18px 0 32px !important;
    font-size: 15px !important;
  }

  #top .hotel-rollout__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 14px;
  }

  #top .hotel-rollout__circle {
    width: min(100%, 155px);
    margin-bottom: 12px;
    padding: 18px 10px;
  }

  #top .hotel-rollout__number {
    width: 25px;
    height: 25px;
    flex-basis: 25px;
    margin-bottom: 12px;
    font-size: 15px;
  }

  #top .hotel-rollout__step-title {
    font-size: 18px !important;
  }

  #top .hotel-rollout__description {
    min-height: 5.25em;
    font-size: 14px !important;
  }

  #top .hotel-rollout__item:last-child {
    grid-column: 1 / -1;
  }
}

/* 작은 모바일: 1열 */
@media (max-width: 430px) {
  #top .hotel-rollout__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  #top .hotel-rollout__item:last-child {
    grid-column: auto;
  }

  #top .hotel-rollout__circle {
    width: min(100%, 190px);
    margin-bottom: 14px;
    padding: 24px 18px;
  }

  #top .hotel-rollout__number {
    margin-bottom: 16px;
  }

  #top .hotel-rollout__description {
    max-width: 340px;
    min-height: 0;
    font-size: 15px !important;
    text-align: center;
  }
}

