/* =============================================
   consultation.css - 保育のしごと相談会ページ
   ============================================= */

/* main：背景 */
.consultation main {
  background: url('../img/blue-bg.jpg') center top / cover;
}

/* =============================================
   テーブル
   ============================================= */

.table-scroll {
  width: 100%;
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  align-self: stretch;
}

.consultation table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #9b7559;
  border-radius: 4px;
}

.consultation th,
.consultation td {
  border-top: 1px solid #9b7559;
  border-left: 1px solid #9b7559;
  padding: 10px 12px;
  text-align: center;
  color: #6f380b;
  font-size: 16px;
  font-family: "M PLUS Rounded 1c";
  font-weight: 600;
}

.consultation table span {
  font-weight: 400;
}

.consultation table .nowrap {
  white-space: nowrap;
}

.consultation td:nth-child(2),
.consultation td:nth-child(3) {
  white-space: nowrap;
}

.consultation th:first-child,
.consultation td:first-child {
  border-left: none;
}

.consultation thead tr:first-child th {
  border-top: none;
}

.consultation thead tr:first-child th:first-child {
  border-radius: 4px 0 0 0;
}

.consultation thead tr:first-child th:last-child {
  border-radius: 0 4px 0 0;
}

.consultation tbody tr:last-child td:first-child {
  border-bottom-left-radius: 4px;
}

.consultation tbody tr:last-child td:last-child,
.consultation tbody tr:last-child th:last-child {
  border-bottom-right-radius: 4px;
}

.consultation th {
  background: #f9e2cd;
  font-weight: 500;
}

.consultation th.note {
  width: 200px;
  background: #fff;
}

/* =============================================
   連絡先ボックス
   ============================================= */

.consultation .contact-box {
  border: 1px solid #6f380b;
  border-radius: 10px;
  overflow: hidden;
  width: auto;
}

.consultation .contact-box__header {
  background: #6f380b;
  color: #fff;
  text-align: center;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: 18px;
  font-weight: 800;
  padding: 6px 0;
  line-height: 1.5;
}

.consultation .contact-box__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px 30px 24px;
  text-align: center;
  background: #fff;
}

.consultation .contact-box__org {
  color: #6f380b;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: 18px;
  font-weight: 800;
  line-height: 24px;
  margin: 0;
}

.consultation .contact-box__address {
  color: #6f380b;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: 16px;
  font-weight: 500;
  font-style: normal;
  line-height: 24px;
  margin: 0;
}

.consultation .contact-box__tel {
  color: #6f380b;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 30px;
  margin: 0;
}

.consultation .contact-box__hours {
  color: #6f380b;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
  margin: 0;
}

/* =============================================
   Responsive：タブレット (max-width: 1040px)
   ============================================= */

@media (max-width: 1040px) {
  .consultation .lower-page-inner {
    width: calc(100% - 48px);
  }

  .consultation .white-container-area,
  .consultation .inner-container,
  .consultation .description-separator {
    width: 100%;
  }
}

/* =============================================
   Responsive：SP (max-width: 768px)
   ============================================= */

@media (max-width: 768px) {
  .consultation main {
    padding: 70px 0 80px;
  }

  .consultation .lower-page-title {
    padding: 48px 0 36px;
  }

  .consultation .lower-page-title-container img {
    width: 70px;
    height: 70px;
  }

  .consultation .lower-page-subtitle {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 1.6px;
  }

  .consultation .lower-page-heading {
    font-size: 32px;
    letter-spacing: 1px;
  }

  .consultation .lower-page-inner {
    width: calc(100% - 32px);
    gap: 40px;
  }

  .consultation .white-container {
    padding: 32px 20px;
    border-radius: 20px;
  }

  .consultation .white-container-area {
    width: 100%;
    gap: 36px;
  }

  .consultation .container-title {
    flex-direction: column;
    margin-left: 0;
  }

  .consultation .container-title img {
    width: 40px;
    height: auto;
  }

  .consultation .container-title-text {
    font-size: 22px;
  }

  .consultation .inner-container {
    width: 100%;
    gap: 20px;
  }

  .consultation .description-title {
    font-size: 20px;
  }

  .consultation .description-text {
    font-size: 15px;
    line-height: 26px;
  }

  /* テーブル横スクロール */

  .consultation table {
    min-width: 700px;
  }

  .consultation th,
  .consultation td {
    font-size: 14px;
    padding: 8px 10px;
  }

  .consultation th.note {
    width: 160px;
  }

  /* 連絡先ボックス */

  .consultation .contact-box {
    width: 100%;
    max-width: 418px;
  }

  .consultation .contact-box__body {
    padding: 16px 20px;
  }

  .consultation .contact-box__tel {
    font-size: 20px;
  }

  .consultation .contact-box__hours {
    font-size: 15px;
  }
}
