/* =====================================================
   Partner Hospitals List Page
   提携医療機関一覧ページ
   ===================================================== */

.partner-hospitals-page {
  padding-top: 70px;
}

.partner-hospitals {
  max-width: 1050px;
  width: 100%;
  margin: 0 auto;
  padding: 60px 25px;
}

.partner-hospitals__title {
  position: relative;
  padding-top: 12px;
  padding-left: 0.4em;
  font-size: 1.8rem;
  margin: 0 0 40px;
  line-height: 1.4;
  color: #525354;
}

.partner-hospitals__title::before {
  content: "";
  position: absolute;
  top: 0; 
  left: 0;
  width: 60px;
  height: 3px;
  background-color: #9b8c6e;
}

.partner-hospitals__title::after {
  content: "";
  position: absolute;
  top: 0;
  left: 60px;
  right: 0;
  height: 1px;
  background-color: #ccc;
}

/* Area block - 地域ブロック */
.area-block {
  margin-bottom: 50px;
}

.area-title {
  display: block;
  width: 100%;
  padding: 12px 20px;
  font-size: 1.2rem;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #fff;
  background: linear-gradient(
    89.99deg,
    #9b8c6e 0.01%,
    rgba(155, 140, 110, 0.75) 82.63%,
    #9b8c6e 102.42%
  );
}

/* Hospital item - 病院アイテム */
.hospital-item {
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  background: #fff;
  margin-bottom: 12px;
  overflow: hidden;
}

.hospital-summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  font-weight: 700;
  font-size: 1rem;
  color: #333;
  position: relative;
}

.hospital-summary::-webkit-details-marker {
  display: none;
}

/* Icon - アイコン */
.hospital-summary::after {
  content: "";
  width: 20px;
  height: 20px;
  border: 1px solid #d9d9d9;
  border-radius: 50%;
  position: relative;
  flex: 0 0 auto;
  background-image: 
    linear-gradient(#555, #555),
    linear-gradient(#555, #555);
  background-size: 10px 2px, 2px 10px;
  background-position: center;
  background-repeat: no-repeat;
  transition: background 0.2s;
}

.hospital-item[open] .hospital-summary::after {
  background-size: 10px 2px, 0 0;
}

/* Detail area - 詳細エリア */
.hospital-detail {
  padding: 0 20px 20px;
}

.hospital-detail-inner p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 8px;
}

.hospital-detail-inner a {
  color: #9b8c6e;
  text-decoration: underline;
  transition: opacity 0.2s;
}

.hospital-detail-inner a:hover {
  opacity: 0.7;
}

.hospital-link {
  display: inline-block;
  padding: 8px 16px;
  font-size: 0.85rem;
  color: #9b8c6e;
  border: 1px solid #9b8c6e;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.2s;
}

.hospital-link:hover {
  color: #fff;
  background-color: #9b8c6e;
}

/* Certificate image - 認定証画像 */
.certificate {
  margin-top: 16px;
  text-align: center;
}

.certificate img {
  max-width: 100%;
  height: auto;
  border: 1px solid #e6e6e6;
  border-radius: 4px;
}

/* Coming soon message - 準備中表示 */
.coming-soon {
  padding: 20px;
  text-align: center;
  color: #999;
  font-size: 0.9rem;
}

.coming-soon::before {
  content: "準備中";
}

/* Responsive - レスポンシブ */
@media screen and (max-width: 767px) {
  .partner-hospitals {
    padding: 40px 15px;
  }

  .partner-hospitals__title {
    font-size: 1.5rem;
    margin-bottom: 30px;
  }

  .area-title {
    font-size: 1.1rem;
    padding: 10px 15px;
  }

  .hospi