@charset "UTF-8";

.directory-hero,
.content-hero {
  max-width: 1040px;
  width: 93%;
  margin: 0 auto;
  padding: min(9vw, 88px) 0 min(5vw, 48px);
}

.directory-lead,
.content-lead {
  max-width: 780px;
  margin: 24px auto 0;
  text-align: center;
  font-size: 1rem;
  line-height: 1.9;
}

.site-search {
  max-width: 920px;
  width: 93%;
  margin: 0 auto min(6vw, 64px);
}

.site-search input,
.directory-tools input,
.directory-tools select {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #DFD9D0;
  border-radius: 8px;
  padding: 18px 20px;
  font-size: 1rem;
  background: #fff;
}

.site-search__results {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.site-search__results a,
.site-search__results p {
  display: block;
  border: 1px solid #DFD9D0;
  border-radius: 8px;
  padding: 14px 16px;
  background: #fff;
}

.site-search__results strong,
.site-search__results span {
  display: block;
}

.site-search__results span {
  margin-top: 4px;
  color: #65684a;
  font-size: 0.9rem;
}

.prefecture-block,
.directory-list,
.content-grid,
.article-body,
.article-related,
.directory-tools {
  width: 93%;
  margin-left: auto;
  margin-right: auto;
}

.prefecture-block {
  max-width: 1120px;
  margin-bottom: min(6vw, 64px);
}

.prefecture-block__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.prefecture-block__head h2 {
  font-size: clamp(1.15rem, 1.05rem + 0.35vw, 1.45rem);
  font-weight: 700;
}

.prefecture-block__head a {
  color: #65684a;
  font-weight: 700;
}

.directory-tools {
  max-width: 920px;
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 12px;
  margin-bottom: min(5vw, 48px);
}

.directory-tools--single {
  grid-template-columns: 1fr;
}

.directory-list {
  max-width: 1120px;
  display: grid;
  gap: 24px;
  margin-bottom: min(8vw, 88px);
}

.directory-list--compact {
  gap: 14px;
  margin-bottom: 0;
}

.career-feature-link {
  display: grid;
  gap: 6px;
  border: 1px solid #DFD9D0;
  border-radius: 8px;
  background: #FAFAED;
  padding: 18px 22px;
  margin-bottom: 18px;
}

.career-feature-link span {
  color: #909467;
  font-size: 0.88rem;
  font-weight: 700;
}

.career-feature-link strong {
  font-size: 1.08rem;
  font-weight: 700;
}

.career-feature-link small {
  color: #65684a;
  font-size: 0.92rem;
}

.prefecture-feature {
  max-width: 920px;
  width: 93%;
  margin: -28px auto min(5vw, 48px);
}

.pharmacy-card {
  display: grid;
  grid-template-columns: 240px 1fr auto;
  align-items: center;
  gap: 28px;
  border: 1px solid #DFD9D0;
  border-radius: 8px;
  background: #fff;
  padding: 28px 30px;
}

.pharmacy-card__image,
.pharmacy-card img.pharmacy-card__image {
  width: 100%;
  max-width: 270px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.pharmacy-card__meta {
  color: #909467;
  margin-bottom: 8px;
}

.pharmacy-card h2 {
  font-size: 1.25rem;
  font-weight: 700;
}

.pharmacy-card p {
  line-height: 1.8;
}

.pharmacy-card__button {
  display: inline-block;
  border-radius: 8px;
  background: #00CEE0;
  color: #fff;
  padding: 18px 28px;
  font-weight: 700;
  white-space: nowrap;
}

.content-grid {
  max-width: 1120px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: min(9vw, 96px);
}

.content-card,
.article-body {
  border: 1px solid #DFD9D0;
  border-radius: 8px;
  background: #fff;
}

.content-card {
  display: block;
  padding: 24px;
}

.content-card__meta {
  color: #909467;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.content-card h2,
.content-card h3 {
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.55;
}

.content-card p {
  margin-top: 10px;
  font-size: 0.95rem;
}

.article-body {
  max-width: 920px;
  margin-bottom: min(9vw, 96px);
  padding: min(6vw, 56px);
}

.article-body h2 {
  margin-top: 40px;
  padding-bottom: 8px;
  border-bottom: 1px solid #DFD9D0;
  font-size: 1.35rem;
  font-weight: 700;
}

.article-body h3 {
  margin-top: 28px;
  font-size: 1.12rem;
  font-weight: 700;
}

.article-body p,
.article-body li {
  margin-top: 14px;
  line-height: 1.9;
}

.article-body ul,
.article-body ol {
  margin-top: 12px;
  padding-left: 1.4em;
}

.article-body table {
  width: 100%;
  margin-top: 20px;
  border-collapse: collapse;
}

.article-body th,
.article-body td {
  border: 1px solid #DFD9D0;
  padding: 12px;
  vertical-align: top;
}

.article-body th {
  background: #FAFAED;
  font-weight: 700;
}

.article-related {
  max-width: 920px;
  margin-top: -56px;
  margin-bottom: min(9vw, 96px);
}

.article-related a {
  color: #65684a;
  font-weight: 700;
}

@media screen and (max-width: 900px) {
  .content-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pharmacy-card {
    grid-template-columns: 160px 1fr;
  }

  .pharmacy-card__button {
    grid-column: 1 / 3;
    text-align: center;
  }
}

@media screen and (max-width: 600px) {
  .directory-tools,
  .content-grid,
  .pharmacy-card {
    grid-template-columns: 1fr;
  }

  .prefecture-block__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .pharmacy-card__button {
    grid-column: auto;
  }

  .article-body {
    padding: 28px 20px;
  }
}
