/* 部署概要 */
.dept-overview h1{
  font-size: 2rem;
  color: #cc0000;
  margin-bottom: 10px;
}

.dept-overview .lead{
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 25px;
}
.dept-overview ul{
  margin-left: 20px;
  line-height: 1.8;
}
.dept-overview p,
.dept-overview li{
  line-height: 1.1;
}
.service-hero{
  text-align: center;
  margin-bottom: 40px;
}
.service-hero img{
  width: 80%;
  max-width: 500px; /* 大画面でも伸びすぎない */
  height: auto;
  margin: 20px auto 0;
  display: block;
  border-radius: 8px; /* 角丸で柔らかく */
}
.service-hero h2{
  text-align: left;
  color: #c00; /* 他のページと同じ赤 */
}

/* 拠点一覧 */
.dept-locations h2{
  font-size: 1.6rem;
  color: #cc0000;
  margin: 40px 0 20px;
}
.location-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}
.location-card{
  background: #fff;
  border: 1px solid #ddd;
  padding: 20px;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  gap: 10px; /* 適度な余白 */
}
.location-card h3{
  margin-bottom: 10px;
  color: #333;
}
.location-card p{
  line-height: 1.4;
  margin: 0 0 4px;
}
 /* マップ */
.location-card .map-wrap{
  margin-top: auto;
  border-radius: 6px;
  overflow: hidden;
}
.location-card iframe{
  width: 100%;
  height: 200px;
  border: 0;
  position: relative;
  z-index: 1;
}
/* 駐車場案内モーダル */
.parking-link{
  font-size: 0.9rem;
  margin-left: 10px;
  color: #cc0000;
  text-decoration: underline;
  cursor: pointer;
}
.modal{
  display: none; 
  position: fixed;
  z-index: 999999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
}
.modal-content{
  background: #fff;
  padding: 10px;
  border-radius: 8px;
  max-width: 90%;
  max-height: 90%;
  overflow: hidden; /* ← これ重要 */
  animation: fadeIn 0.25s ease;
}
.pdf-modal{
  width: 90vw;
  height: 85vh;
  overflow: hidden;
}
.pdf-modal iframe{
  width: 100%;
  height: 100%;
  border: none;
}
.modal-close{
  float: right;
  font-size: 24px;
  cursor: pointer;
}
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}

/* 会社情報 */
.company-info h2{
  font-size: 1.6rem;
  color: #cc0000;
  margin: 40px 0 10px;
}
.company-link{
  color: #cc0000;
  text-decoration: underline;
  cursor: pointer;
}
