/*
 Theme Name: GeneratePress Child
 Template: generatepress
 Version: 1.0.0
*/


/* === 既存のCSS === */
.school-info-container {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  margin-top: 2em;
  max-width: 100%;
}
.school-image {
  width: 40%;
  flex-shrink: 0;
}
.school-image img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: contain;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.school-table {
  width: 100%;
  border-collapse: collapse;
  flex-grow: 1;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  border-radius: 4px;
  overflow: hidden;
}
.school-table-wrapper {
  width: 60%;
  flex-grow: 1;
}
.school-table th,
.school-table td {
  border: 1px solid #ddd;
  padding: 12px 15px;
  text-align: left;
  vertical-align: middle;
  word-break: break-word;
}
.school-table th {
  background-color: #f8f9fa;
  color: #333;
  font-weight: 600;
  width: 140px;
  min-width: 140px;
}

/* === 学校ページ上部のヘッダー（学校名＋タクソノミー＋ボタン）用 === */
.school-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 1.5em;
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}
.school-meta {
  flex: 1 1 60%;
}

/* 学校タイプラベル（私立など）のスタイル */
.school-type-label {
  background-color: #ff6b9d;
  color: white;
  padding: 4px 10px;
  border-radius: 3px;
  font-size: 0.75em;
  font-weight: bold;
  margin-right: 8px;
  display: inline-block;
  vertical-align: middle;
}

/* 学校名のスタイル調整 */
.school-title {
  font-size: 1.8em;
  font-weight: bold;
  margin: 0 0 10px 0;
  line-height: 1.3;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.school-taxonomies {
  list-style: none;
  padding: 0;
  margin: 10px 0 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}
.school-taxonomies li {
  display: flex;
  align-items: center;
  font-size: 0.9em;
  color: #666;
}
.school-taxonomies li .dashicons {
  margin-right: 5px;
  font-size: 16px;
}

.school-buttons {
  flex: 0 0 auto;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
  min-width: 200px;
}
.request-btn, .hp-btn, .homepage-btn {
  background-color: #26a69a;
  color: white !important;
  padding: 10px 18px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: background-color 0.3s;
  white-space: nowrap;
  font-size: 0.9em;
}
.request-btn:hover, .hp-btn:hover, .homepage-btn:hover {
  background-color: #2bbbad;
  text-decoration: none;
}

/* パンくずナビゲーションのスタイル */
.breadcrumb-nav {
  margin-bottom: 20px;
  font-size: 0.9em;
  color: #666;
  padding: 10px 0;
}
.breadcrumb-nav a {
  color: #666;
  text-decoration: none;
}
.breadcrumb-nav a:hover {
  text-decoration: underline;
  color: #26a69a;
}

/* テーブル内のリンクスタイル */
.school-table a {
  text-decoration: none;
}
.school-table a:hover {
  text-decoration: none;
}

/* テーブル行の高さ統一 */
.school-table tr {
  min-height: 50px;
}
.school-table td {
  min-height: 50px;
}

/* 空白セル対応 */
.school-table td:empty {
  min-height: 50px;
  position: relative;
}

/* モバイル対応 */
@media (max-width: 768px) {
  .school-info-container {
    flex-direction: column;
    gap: 20px;
  }
  .school-image,
  .school-table-wrapper {
    width: 100%;
  }
  .school-image img {
    max-height: none;
  }
  .school-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  .school-buttons {
    width: 100%;
    justify-content: flex-start;
  }
  .school-title {
    font-size: 1.5em;
  }
  .school-taxonomies {
    flex-direction: column;
    gap: 8px;
  }
  .school-table th {
    width: 100px;
    min-width: 100px;
    font-size: 0.9em;
  }
  .school-table th,
  .school-table td {
    padding: 10px 12px;
  }
}












.single .post-image,
.single .featured-image {
    display: none !important;
}



















