@charset "UTF-8";
/* ========== ヒーロー ========== */
.index-hero {
  position: relative;
  width: 100%;
  max-height: 80vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.index-hero-image {
  width: 100%;
  height: auto;
  max-height: 80vh;
  -o-object-fit: contain;
     object-fit: contain;
  display: block;
}

.index-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
}

.index-hero-content {
  position: absolute;
  top: 50%;
  right: 8%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.index-hero-text-vertical {
  -ms-writing-mode: tb-rl;
      writing-mode: vertical-rl;
  font-size: 1.6rem;
  color: white;
  background: rgba(91, 168, 201, 0.95);
  padding: 2.5rem 1.2rem;
  letter-spacing: 0.4em;
  line-height: 1;
  font-weight: 500;
}

.index-hero-title {
  -ms-writing-mode: lr-tb;
      writing-mode: horizontal-tb;
  font-size: 2.2rem;
  color: white;
  font-weight: bold;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
  letter-spacing: 0.05em;
  line-height: 1.3;
}

/* ========== 診療時間 & カレンダー ========== */
.index-schedule-section {
  background: #f0f8ff;
  padding: 3rem 0;
}

.index-schedule-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.index-schedule-box,
.index-calendar-box {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

@media (max-width: 767px) {
  .index-schedule-box {
    overflow: hidden;
  }
}

.index-schedule-title,
.index-calendar-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  color: #333;
}

.index-schedule-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
  table-layout: fixed;
  
}
.index-schedule-table .first{
  width: 75px;

}
.index-schedule-table th,
.index-schedule-table td {
  padding: 0.6rem;
  text-align: center;
  border: 1px solid #ddd;
  word-break: keep-all;
  font-size: 0.8em;
}
.index-schedule-table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 1rem;}
@media (max-width: 767px) {
  .index-schedule-table {
    /* font-size: 0.72rem; */
		display: block;
		overflow-x: scroll;
  }
  .index-schedule-table th,
  .index-schedule-table td {
    padding: 0.8rem;
  }
  .index-schedule-table th:first-child,
  .index-schedule-table td:first-child {
    width: 26%;
    /* font-size: 0.68rem; */
    letter-spacing: -0.02em;
  }
  .index-schedule-box,
  .index-calendar-box {
    padding: 1rem;
  }
  .index-schedule-container {
    padding: 0 1rem;
  }
}

.index-schedule-table th {
  background: #5BA8C9;
  color: white;
  font-weight: bold;
}

.index-schedule-time {
  background: #f9f9f9;
  font-weight: 500;
  font-size: 12px;
  width: 75px;

    /* display: inline-block; */
}
@media (max-width: 767px) {
.index-schedule-time {

width: 26%;}
}
.index-schedule-time 	small {
		font-size: 9px;
	word-break: break-all;
}

.index-schedule-open {
  color: #333;
  font-weight: bold;
	position: relative;
}
.index-schedule-open small {
		font-size: 10px;
		position: absolute;
		bottom: 0;
		left: 50%;
		transform: translate(-50%, -100%);

	}

.index-schedule-close {
  color: #e74c3c;
}

.index-schedule-notes {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.8;
}

.index-recruit-banner {
  margin-top: 1.5rem;
}

.index-recruit-image {
  width: 100%;
  border-radius: 8px;
}

.index-calendar-wrapper {
  width: 100%;
}

.index-calendar-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* ========== カレンダー日付セル ========== */

.cal-cell {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: default;
  transition: background-color 0.15s;
}

.cal-cell__num {
  font-size: 0.85rem;
  line-height: 1.15;
  font-weight: 600;
}

/* 曜日ヘッダー色 */
.cal-hd-sun { color: #dc2626; }
.cal-hd-sat { color: #2563eb; }
.cal-hd-thu { color: #374151; }

/* 曜日ごとの数字色 */
.cal-cell--dow-0 .cal-cell__num { color: #dc2626; }
.cal-cell--dow-6 .cal-cell__num { color: #2563eb; }

/* 通常診療 */
.cal-cell.normal {
  background: transparent;
  color: #374151;
}

.cal-cell.normal:hover {
  background: #f3f4f6;
}

/* 休診（日曜・祝日） */
.cal-cell.closed {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* 木曜午後休診 */
.cal-cell.thu-pm {
  background: #fffbeb;
  color: #92400e;
  border: 1px solid #fde68a;
}

/* 土曜午後短縮 */
.cal-cell.sat-short {
  background: #eff6ff;
  color: #1e40af;
  border: 1px solid #bfdbfe;
}

/* 今日 */
.cal-cell.today {
  outline: 2px solid #10b981;
  outline-offset: -1px;
  font-weight: 700;
}

/* 凡例の色 */
.legend-closed {
  background: #fef2f2;
  border: 1px solid #fecaca;
}

.legend-thu-pm {
  background: #fffbeb;
  border: 1px solid #fde68a;
}

.legend-sat-short {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
}

/* ========== 患者様へのお願い ========== */
.index-notice-section {
  background: #e8f4f8;
  padding: 3rem 0;
}

.index-notice-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.index-notice-main-title {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 2rem;
  color: #5BA8C9;
}

.index-notice-card {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.index-notice-card-full {
  grid-column: 1/-1;
}

.index-notice-card-title {
  font-weight: bold;
  margin-bottom: 1rem;
}

.index-notice-card-text {
  line-height: 1.8;
  color: #555;
}

.index-notice-highlight {
  color: #e74c3c;
  font-weight: bold;
}

.index-notice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

/* ========== ご予約について ========== */
.index-reservation-section {
  background: white;
  padding: 3rem 0;
}

.index-reservation-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.index-reservation-title {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 2rem;
  color: #5BA8C9;
}

.index-reservation-text {
  line-height: 1.8;
  margin-bottom: 2rem;
}

.index-reservation-highlight {
  color: #e74c3c;
  font-weight: bold;
}

.index-reservation-service-title {
  font-size: 1.3rem;
  font-weight: bold;
  margin: 2rem 0 1rem;
  color: #555;
  position: relative;
}
.index-reservation-service-title:before {
  position: absolute;
  content: "";
  width: calc(100% - 10em);
  height: 1px;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(to right, #5BA8C9 20%, #d2d2d2 20%);
}
@media (max-width: 767px) {
  .index-reservation-service-title:before {
    background: linear-gradient(to right, #5BA8C9 20%, #d2d2d2 20%);
  }
}

.index-reservation-service-text {
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.index-reservation-email {
  background: #f0f8ff;
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.index-reservation-email-label {
  font-weight: bold;
  margin-bottom: 1rem;
}

.index-reservation-email-details {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}

.index-reservation-email-left {
  flex: 1;
}

.index-reservation-email-subtitle {
  font-weight: bold;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.index-reservation-email-item,
.index-reservation-email-address {
  color: #555;
}

.index-reservation-email-right {
  text-align: center;
}

.index-reservation-mail-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin: 0 auto 0.75rem;
  padding: 0.9rem 1.5rem;
  background: #5BA8C9;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.2s;
}

.index-reservation-mail-btn:hover {
  background: #4a93b1;
}

.index-reservation-mail-btn i {
  font-size: 1.2rem;
}

.index-reservation-mail-note {
  font-size: 0.8rem;
  color: #999;
  text-align: center;
}

.index-reservation-note {
  background: #fff3cd;
  padding: 1rem;
  border-radius: 5px;
  border-left: 5px solid #ffc107;
}

.index-reservation-note-title {
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.index-reservation-note-text {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
}

/* ========== 当院の治療について ========== */
.index-treatment-section {
  background: white;
  padding: 3rem 0;
}

.index-treatment-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.index-treatment-title {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 3rem;
  color: #5BA8C9;
}

.index-treatment-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem 4rem;
}

.index-treatment-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  text-decoration: none;
  color: inherit;
  padding: 1rem;
  border-radius: 12px;
  transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.index-treatment-item:hover {
  background-color: #f5fafc;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(91, 168, 201, 0.15);
}

.index-treatment-item:hover .index-treatment-item-link {
  color: #4a92ad;
}

.index-treatment-image-circle {
  flex-shrink: 0;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  position: relative;
}

.index-treatment-image-circle img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.index-treatment-sample-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 0.9rem;
  font-weight: bold;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
  white-space: nowrap;
  pointer-events: none;
}

.index-treatment-content {
  flex: 1;
}

.index-treatment-item-title {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 0.8rem;
  color: #e74c3c;
}

.index-treatment-item-text {
  color: #555;
  line-height: 1.8;
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
}

.index-treatment-item-link {
  color: #5BA8C9;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  display: inline-block;
}

.index-treatment-item-link:hover {
  color: #4a92ad;
}

/* ========== 医院情報 ========== */
.index-info-section {
  background: white;
  padding: 3rem 0;
}

.index-info-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.index-info-title {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 2rem;
  color: #5BA8C9;
}

.index-info-grid {
  /* display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem; */
  margin-bottom: 2rem;
}

.index-info-photo {
  position: relative;
}

.index-info-photo-image {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 10px;
}

.index-info-photo-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 1rem;
  font-weight: bold;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
  white-space: nowrap;
  pointer-events: none;
}

.index-info-map {
  aspect-ratio: 16/9;
  /* height: 315px; */
}

.index-info-map-iframe {
  width: 100%;
  height: 100%;
  border-radius: 10px;
}

.index-info-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  background: #f0f8ff;
  padding: 2rem;
  border-radius: 10px;
}

.index-info-details-label {
  font-weight: bold;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.index-info-details-label:first-child {
  margin-top: 0;
}

.index-info-details-value {
  color: #555;
}

.index-info-staff-list {
  list-style: none;
  color: #555;
  line-height: 1.8;
}

.index-info-contact-button {
  background: #5BA8C9;
  color: white;
  padding: 1.5rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.index-info-contact-button i {
  font-size: 2rem;
}

.index-info-contact-label {
  font-size: 0.9rem;
}

.index-info-contact-tel {
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
  text-decoration: none;
}

/* ========== レスポンシブ ========== */
@media (max-width: 768px) {
  .index-header-menu-button {
    display: flex;
  }
  .index-hero {
    height: 300px;
  }
  .index-hero-content {
    right: 5%;
    flex-direction: column;
    gap: 1rem;
  }
  .index-hero-text-vertical {
    font-size: 1rem;
    padding: 1.5rem 0.8rem;
    letter-spacing: 0.3em;
  }
  .index-hero-title {
    font-size: 1.2rem;
  }
  .index-schedule-container {
    grid-template-columns: 1fr;
  }
  .index-notice-grid {
    grid-template-columns: 1fr;
  }
  .index-reservation-email-details {
    flex-direction: column;
  }
  .index-treatment-list {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .index-treatment-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .index-treatment-image-circle {
    width: 150px;
    height: 150px;
  }
  .index-info-grid {
    grid-template-columns: 1fr;
  }
  .index-info-details {
    grid-template-columns: 1fr;
  }
  .index-footer-nav {
    flex-direction: column;
    gap: 1rem;
  }
}

.index-notice-card-img {
	margin-top: 1rem;

	
}
.swiper-wrapper{
  height: fit-content !important;
}
.index-notice-card-img img {
		max-width: 100%;
	}

  /* swiper */
  .swiper {
      /* width: 100%; */
      /* max-width: 800px;
      height: 400px; */
      max-height: 92dvh;
      border-radius: 8px;
      position: relative;
    }
@media (max-width: 768px) {
  .swiper {
    height: 300px;
  }
     .swiper-slide img{
      height: 100%;
     }
}


    /* スライド個別の装飾（今回は色分けしています） */
    .swiper-slide {
      /* display: flex; */
      /* justify-content: center; */
      /* align-items: ; */
      height: fit-content !important;
      font-size: 24px;
      font-weight: bold;
      color: #fff;
      overflow: hidden;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
          /* object-position: bottom; */

  /* height: fit-content !important; */
    }
        .swiper-slide img{
  width: 100%;
  height: auto;
      max-height: 92dvh;
  /* height: 100%; */
  object-fit: cover;
  /* object-position: bottom; */
        }
        @media (max-width: 768px) {
          .swiper-wrapper{
height: 100% !important;
          }
           .swiper-slide{
            height: 100% !important;
           }
   .swiper-slide img{
      height: 100%;
     }
}
        .swiper-pagination{
          position: relative;
          z-index: 1000;
        }

        .swiper-horizontal>.swiper-pagination-bullets, .swiper-pagination-bullets.swiper-pagination-horizontal, .swiper-pagination-custom, .swiper-pagination-fraction{
          top: auto !important;
          bottom: 6% !important;
          position: absolute;
        }
@media (max-width: 768px) {
          .swiper-horizontal>.swiper-pagination-bullets, .swiper-pagination-bullets.swiper-pagination-horizontal, .swiper-pagination-custom, .swiper-pagination-fraction{
            bottom: 0px !important;
          }
}
        .swiper-pagination-bullet{
          width: 12px;
          height: 12px;
          background-color: #fff;
          opacity: 1;
  border: 2px solid #5BA8C9;
        }
@media (max-width: 768px) {
   .swiper-pagination-bullet{
          width: 8px;
          height: 8px;
        }
}
        .swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet, .swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet{
          margin: 8px;
        }
        .swiper-pagination-bullet-active{
          background-color: #5BA8C9;
        }
        .main-ttl{
          text-shadow: #5BA8C9 1px 0 15px;
          color: #fff;
          position: absolute;
          font-size: 40px;
          z-index: 999;
          line-height: 1.3;
          left: 5%;
          top: 10%;
        }
@media (max-width: 768px) {
        .main-ttl{
  font-size: 24px;
}}
.intro-section{
  padding: 120px 0;
}
@media (max-width: 768px) {
  .intro-section{
    padding: 60px 0;
  }
}
.intro-container{
  padding: 0 16px;
}
.intro-ttl{
  text-align: center;
}
.pc_none{
  display: none;
}
@media (max-width: 768px) {
 .pc_none {
  display: block;
}

}
.intro-txt{
  margin-top: 1rem;
  text-align: center;
}