@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

#top-menu-btns .wp-block-tiptip-hyperlink-group-block {
  padding: 3rem 1rem;
  height: 100%;
}

#nyuin-nemu .wp-block-tiptip-hyperlink-group-block {
  padding-bottom: 3rem;
  height: 100%;
}

/* Facility一覧のスタイル */
.facility-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* PC: 3列表示 */
  gap: 2rem;
  margin: 2rem 0;
}

.facility-card {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.facility-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.facility-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.facility-link:hover {
  text-decoration: none;
  color: inherit;
}

.facility-thumbnail-wrapper {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}

.facility-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.facility-card:hover .facility-thumbnail {
  transform: scale(1.05);
}

.facility-no-image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f5f5f5;
  color: #999;
  font-size: 0.9rem;
}

.facility-title {
  padding: 1.5rem;
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.4;
  color: #333;
  text-align: center;
}

.facility-title::before {
  display: none !important;
}

.facility-no-posts {
  text-align: center;
  padding: 2rem;
  color: #666;
  font-size: 1rem;
}

/* レスポンシブ対応 */
/* タブレット: 2列表示 */
@media (max-width: 1024px) {
  .facility-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

/* スマホ: 1列表示 */
@media (max-width: 768px) {
  .facility-list {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 1.5rem 0;
  }
  
  .facility-title {
    padding: 1rem;
    font-size: 1rem;
  }
  
  .facility-thumbnail-wrapper {
    height: 180px;
  }
}

@media (max-width: 425px) {
	iframe {
		max-height: 350px !important;
	}
}


/* 医師予定変更一覧のスタイル */
.clinic-notice-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.clinic-notice-item {
  background: #fff;
  margin-bottom: 24px;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid var(--color_border);
  box-shadow: var(--swell-box-shadow-sm);
}

.clinic-notice-header {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  gap: 10px;
}

.clinic-tag {
  display: inline-block;
  font-size: .85em;
  padding: 4px 10px;
  border-radius: 50px;
  color: #fff;
  background: #3db4c2;
}

.clinic-date {
  font-size: .9em;
  color: var(--color_text_light);
}

.clinic-notice-body {
  font-size: 1em;
  line-height: 1.6;
  color: var(--color_text);
}

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

.clinic-pagination a,
.clinic-pagination span {
  padding: 8px 12px;
  margin: 0 4px;
  border-radius: 6px;
  background: #fff;
  border: 1px solid var(--color_border);
}

.clinic-pagination .current {
  background: #3db4c2;
  color: #fff;
  border-color: #3db4c2;
}

/* 医師予定変更詳細ページのスタイル */
/* 🔷 診療変更メタ情報枠 */
/* .clinic-meta-box {
  background: #f7faff;
  padding: 16px 20px;
  border-radius: 10px;
  border-left: 4px solid var(--color_main, #3fa9f5);
} */

/* タグ群 */
.clinic-meta-tags {
  margin-bottom: 10px;
}

.clinic-tag {
  display: inline-block;
  background: #eaf0ff;
  color: #1c3fa8;
  padding: 4px 10px;
  margin: 0 6px 6px 0;
  font-size: 12px;
  border-radius: 6px;
}

/* 対象日 */
.clinic-meta-date {
  font-size: 1.25rem;
  font-weight: bold;
  display: flex;
  align-items: center;
}

/* 🔷 診療情報カード */
/* .clinic-info-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  border: 1px solid #eef1f6;
} */

.clinic-info-title {
  font-size: 20px;
  margin-bottom: 15px;
}

/* リスト */
.clinic-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.clinic-info-list li {
  padding: 12px 0;
  border-bottom: 1px solid #eef1f6;
}

.clinic-info-list li:last-child {
  border-bottom: none;
}

.clinic-info-list strong {
  display: block;
  color: #333;
  margin-bottom: 4px;
}

/* 🔷 本文 */
.clinic-content-title {
  font-size: 20px;
  margin-bottom: 12px;
}

/* .clinic-content-text {
  padding: 20px;
  background: #fcfcfd;
  border-radius: 10px;
  border: 1px solid #eef1f6;
  line-height: 1.7;
} */
