html {
  scroll-behavior: smooth;
}
.sp-only {
  display: none !important;
}
.pc-only {
  display: block;
}
/* SP */
@media screen and (max-width: 970px) {
  .sp-only {
    display: block !important;
  }
  .pc-only {
    display: none !important;
  }
}
.cond {
  display: flex;
  gap: 20px;
  align-items: flex-end;
  padding-top: 24px;
  padding-bottom: 32px;
}
.cond label {
  font-weight: bold;
}
.field {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.field label {
  padding-bottom: 0.5em;
}
div.cond > .field select,
div.cond > .field input {
  padding: 0 10px;
  box-sizing: border-box;
  background-color: #FFFFFF;
  font-size: 1em;
  box-shadow: none;
  border: 1px solid #E5E5E5;
  height: 2.5em;
  width: 100%;
}
.required {
  color: red;
}
/* SP */
@media screen and (max-width: 970px) {
  .cond {
    flex-direction: column;
    align-items: stretch;
  }
}
.notes {
  background-color: #F0F8FF;
  padding: 2em;
}
.searchContainer {
  display: flex;
  justify-content: center;
}
#searchBtn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 200px;
  height: 40px;
  background-color: #0095E6;
  color: #ffffff;
  cursor: pointer;
}
#searchBtn img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
#mapContainer {
  display: flex;
  justify-content: center;
  margin-bottom: 5em;
}
.pref { cursor: pointer; transition: filter .15s ease, opacity .15s ease; }
.pref:hover { opacity: .9; filter: brightness(1.05); }
.pref.is-selected {
  stroke: #111;
  stroke-width: 2.5;
  stroke-linejoin: round;
  filter: drop-shadow(0 2px 2px rgba(0,0,0,.25));
}
.panel {
  margin: 12px 0;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}
.area1 { background-color: #8491C8; }
.area2 { background-color: #7BBAD7; }
.area3 { background-color: #BAAC58; }
.area4 { background-color: #8AC23B; }
.area5 { background-color: #F5A535; }
.area6 { background-color: #BF85B8; }
.area7 { background-color: #A28D34; }
.area8 { background-color: #EC6B6A; }
/* エリアブロック */
.area {
  margin-bottom: 40px;
}
/* エリア見出し */
.pref-header {
  color: #fff;
  padding: 10px 20px;
  font-size: 1.1em;
  font-weight: bold;
}
/* 都道府県リスト */
.pref-list {
  display: flex;
  flex-wrap: wrap;
}
.pref-list a {
  width: 50%;
  font-size: 1.1em;
  padding: 0.5em 0;
  text-align: center;
  border: 1px solid #ccc;
  text-decoration: none;
  font-weight: bold;
  color: #0095E6;
  box-sizing: border-box;
}
/* 右側の線を消す */
.pref-list a:nth-child(2n) {
  border-left: none;
}
/* 2行目以降の上線を消す */
.pref-list a:nth-child(n+3) {
  border-top: none;
}
// ホバー時のスタイル
.hover {
  transition: 0.2s;
}
.hover:hover {
  opacity: 0.8;
}
.link {
  display: flex;
  align-items: center;
}
/* 検索条件の開閉 */
.search-accordion {
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  padding: 1em 0;
}
.search-toggle {
  cursor: pointer;
  display: flex;
  align-items: center;
  font-weight: bold;
}
.search-content {
  padding-top: 1em;
  display: none;
}
/* 四角枠 */
.icon-box {
  width: 18px;
  height: 18px;
  border: 1px solid #979797;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  margin-right: 1em;
}
/* アイコン */
.icon {
  width: 14px;
  height: auto;
}
/* 検索結果ヘッダー */
#content ul.kana-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
  list-style: none;
  padding: 0;
  margin: 0;
}
#content ul.kana-nav > li {
  list-style: none;
  width: 60px;
  height: 30px;
}
#content ul.kana-nav > li a {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 2px solid #2e7d32;
  color: #2e7d32;
  font-weight: bold;
  font-size: 14px;
}
/* 検索結果リスト */
#content ul.city-list {
  display: block;
  list-style: none;
  padding: 0;
  margin: 0;
  border: 1px solid #ccc;
}
#content ul.city-list.other {
  margin-top: 3em;
}
#content ul.city-list > li {
  display: block;
  list-style: none;
  border-bottom: 1px solid #ccc;
  margin: 0;
}
#content ul.city-list > li:last-child {
  border-bottom: none;
}
#content ul.city-list a {
  display: block;
  padding: 0.5em 0 0.5em 0.5em;
  text-decoration: none;
  color: #00a0e9; /* 青 */
  font-weight: bold;
}
#content ul.city-list .count {
  color: #666;
  font-weight: normal;
  margin-left: 5px;
}
/* 内科専門医一覧 */
.result-count {
  color: #2e7d32;
  font-size: 1.5em;
  font-weight: bold;
}
.internist-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1em 0;
}
#content table.internist-table {
  border-collapse: collapse;
  margin: 0;
}
#content table.internist-table th,
#content table.internist-table td {
  border: 1px solid #E5E5E5;
  padding: 0.5em;
  vertical-align: middle;
}
#content table.internist-table th {
  background: #F5F5F5;
  text-align: center;
}
.w-name {
  min-width: 120px;
}
.w-area {
  min-width: 80px;
}
.w-facility {
  white-space: normal;
  word-break: break-word;
}
.w-department {
  min-width: 160px;
}
.w-general {
  min-width: 120px;
}
.kana {
  font-size: 12px;
  color: #666;
}
.center {
  text-align: center;
  font-size: 20px;
}
#content p.result {
  font-size: 1.75em;
  font-weight: bold;
}
@media screen and (max-width: 970px) {
  .internist-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .internist-wrap table.internist-table {
    min-width: 970px;
  }

}