/* page-schedule.css - Schedule page related styles */

/*=====
# Page Schedule（診療日時のご案内ページ）
============*/

/* Hero Section */
.page-schedule__hero {
  width: 100%;
  background: transparent url(../images/header-eyecatch.jpg) no-repeat;
  background-position: top;
  background-size: cover;
  position: relative;
  overflow: hidden;
  height: 400px;
}

.page-schedule__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
  line-height: 1.2;
  padding-left: 24px;
  padding-right: 24px;
  color: var(--main-bg);
  font-weight: normal;
  text-shadow: 1px 1px 1px #808080;
}

.page-schedule__hero-title {
  font-size: 40px;
  padding-top: 8rem;
  padding-bottom: 2rem;
  width: 500px;
  margin: 0 auto;
}

.page-schedule__hero-title::after {
  display: block;
  content: "";
  position: absolute;
  width: 60px;
  height: 60px;
  background-image: url(../images/header-eyecatch-logo-sp.svg);
  background-size: contain;
  top: 30%;
  left: 50%;
  transform: translate(-44%, -50%);
  background-repeat: no-repeat;
}

.page-schedule__hero-lead {
  font-size: 18px;
  font-weight: 700;
}

@media (max-width: 767px) {
  .page-schedule__hero {
    height: 400px;
  }
  .page-schedule__hero-content {
    padding-left: 16px;
    padding-right: 16px;
  }
  .page-schedule__hero-lead {
    font-size: 16px;
  }
  .page-schedule__hero-title {
    font-size: 3rem;
    width: 320px;
    margin: 0 auto;
    position: relative;
  }
  .page-schedule__hero-title::after {
    display: block;
    content: "";
    position: absolute;
    width: 60px;
    height: 60px;
    background-image: url(../images/header-eyecatch-logo-sp.svg);
    background-size: contain;
    top: 38%;
    left: 34%;
    transform: translate(50%, -50%);
    background-repeat: no-repeat;
  }

  .page-schedule__hero-title {
    font-size: 32px;
  }
}

/*=====
# Schedule Section
============*/
.page-schedule__schedule {
  margin-top: 100px;
}

@media (max-width: 768px) {
  .page-schedule__schedule {
    margin-top: 60px;
  }
}

/*=====
# Util Title Head
============*/
.page-schedule__util-ttl-head {
  text-align: left;
  margin: 40px 0 30px;
  padding: 10px 0;
  border-bottom: 3px dotted var(--section-yellow);
}
.page-schedule__util-ttl-head h3 {
  font-size: 2rem;
}
@media (max-width: 768px) {
  .page-schedule__util-ttl-head h3 {
    font-size: 1.8rem !important;
  }
}

/*=====
# Table Wrap
============*/
.page-schedule__table-wrap {
  border-collapse: collapse;
  border-spacing: 0;
  border: 2px solid #e8e8e8;
  border-radius: 16px;
  overflow: hidden;
  margin: 30px auto;
  width: 100%;
  max-width: 800px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  font-family: "メイリオ", Meiryo, "ヒラギノ角ゴシック", "Hiragino Sans",
    sans-serif;
}

.page-schedule__table-wrap th,
.page-schedule__table-wrap td {
  text-align: center;
  vertical-align: middle;
  padding: 18px 12px;
  border: 1px solid #f0f0f0;
  font-size: 1.6rem;
  font-weight: 600;
  transition: background-color 0.2s ease;
}

.page-schedule__table-wrap th {
  background: linear-gradient(
    135deg,
    rgba(73, 128, 46, 0.08) 0%,
    rgba(73, 128, 46, 0.04) 100%
  );
  font-weight: 700;
  color: var(--main-color);
  font-size: 1.7rem;
  letter-spacing: 0.5px;
}

.page-schedule__table-wrap .page-schedule__table-light {
  background: linear-gradient(
    135deg,
    rgba(252, 213, 84, 0.15) 0%,
    rgba(252, 213, 84, 0.08) 100%
  );
  font-weight: 700;
  color: #333;
  border-right: 2px solid rgba(252, 213, 84, 0.3);
}

.page-schedule__table-wrap .page-schedule__table-sat {
  color: #3db2da;
  font-weight: 700;
  background: linear-gradient(
    135deg,
    rgba(61, 178, 218, 0.08) 0%,
    rgba(61, 178, 218, 0.04) 100%
  );
}

.page-schedule__table-irregular {
  font-size: 1.2rem;
  color: #666;
  display: block;
  margin-top: 4px;
}

.page-schedule__table-icon {
  width: 38px;
  height: auto;
  margin: 0 auto;
  display: block;
}

@media (max-width: 768px) {
  .page-schedule__table-wrap {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    margin: 20px 0;
  }

  .page-schedule__table-wrap th,
  .page-schedule__table-wrap td {
    padding: 12px 6px;
    font-size: 1.4rem;
    min-width: 80px;
  }

  .page-schedule__table-irregular {
    font-size: 1rem;
  }

  .page-schedule__table-icon {
    width: 28px;
  }
}

/*=====
# Table Icons
============*/
.page-schedule__table-icons {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 40px 0;
  flex-wrap: wrap;
  gap: 20px;
}

.page-schedule__table-icon-item {
  text-align: center;
  flex: 1;
  min-width: 200px;
}

.page-schedule__table-icon-item img {
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .page-schedule__table-icons {
    flex-direction: column;
    gap: 15px;
    margin: 30px 0;
  }

  .page-schedule__table-icon-item {
    min-width: auto;
    width: 100%;
  }
}

/*=====
# Table Text
============*/
.page-schedule__table-text {
  font-family: "メイリオ", Meiryo, "ヒラギノ角ゴシック", "Hiragino Sans",
    "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", sans-serif;
  margin: 40px 0;
  font-size: 1.5rem;
  line-height: 1.8;
}

.page-schedule__table-text p {
  margin-bottom: 16px;
  text-align: justify;
  text-align-last: left;
  letter-spacing: 0.01em;
}

.page-schedule__table-text p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .page-schedule__table-text {
    font-size: 1.4rem;
    margin: 30px 0;
  }

  .page-schedule__table-text p {
    margin-bottom: 12px;
  }
}

/*=====
# Schedule Box (Calendar)
============*/
.page-schedule__schedule-box {
  margin: 40px;
}
.page-schedule__schedule-box img {
  width: 100%;
  max-width: 100%;
  height: auto;
}

/* Calendar specific styling */
.page-schedule__calendar-note {
  margin-top: 20px;
  padding: 15px;
  background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
  border-radius: 8px;
  border-left: 4px solid var(--section-yellow);
  font-size: 1.4rem;
  color: #666;
  text-align: left;
  line-height: 1.6;
}

.page-schedule__calendar-note::before {
  content: "💡";
  margin-right: 8px;
}
