#partners {
  background: #f0f4f8;
}
@media (max-width: 768px) {
  #partners {
    padding: 3rem 1rem;
  }
}
@media (max-width: 768px) {
  #partners .container {
    padding: 0;
  }
}
@media (max-width: 768px) {
  #partners h2 {
    font-size: 1.8rem;
  }
}

.partner-archive {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  padding: 2rem;
  align-items: stretch;
}
@media (max-width: 1024px) {
  .partner-archive {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .partner-archive {
    padding: 0;
  }
}

.clinic-card {
  display: flex;
  flex-direction: row;
  height: 240px;
  align-items: stretch;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  margin-bottom: 0.5rem;
}
@media (max-width: 1024px) {
  .clinic-card {
    flex-direction: column;
    height: auto;
  }
}

.clinic-card__image {
  width: 240px;
  height: 240px;
  flex-shrink: 0;
}
.clinic-card__image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}
@media (max-width: 1024px) {
  .clinic-card__image {
    width: 100%;
    aspect-ratio: 1/1;
    height: auto;
  }
  .clinic-card__image img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
  }
}

.clinic-card__info {
  flex: 1;
  padding: 1rem 1.2rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
}
@media (max-width: 1024px) {
  .clinic-card__info {
    height: auto;
    width: 100%;
  }
}

.clinic-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.6rem;
  position: relative;
  display: inline-block;
}
.clinic-card__title::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background-color: #a12327;
  margin-top: 0.2rem;
}

.clinic-card__buttons {
  margin: 0.4rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.clinic-card__buttons .btn-site {
  background-color: #a12327;
  color: #fff;
  padding: 0.4rem 1rem;
  border-radius: 6px;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.clinic-card__buttons .btn-site svg.icon {
  width: 1em;
  height: 1em;
  stroke: currentColor;
}
.clinic-card__buttons .btn-site:hover {
  background-color: rgb(119.1071428571, 25.8928571429, 28.8520408163);
}
.clinic-card__buttons .btn-toggle {
  display: block;
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}
@media (min-width: 1025px) {
  .clinic-card__buttons .btn-toggle {
    display: none;
  }
}

.clinic-card__details {
  flex: 1;
  overflow-y: auto;
  margin-top: auto;
}
@media (max-width: 1024px) {
  .clinic-card__details {
    display: none;
    height: 0;
    opacity: 0;
    overflow: hidden;
  }
  .clinic-card__details.is-open {
    display: block;
    height: auto;
    opacity: 1;
    overflow: visible;
  }
}
.clinic-card__details p {
  font-size: 0.9rem;
  margin: 0.3rem 0;
  line-height: 1.6;
  word-break: break-word;
}
.clinic-card__details::-webkit-scrollbar {
  width: 6px;
}
.clinic-card__details::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 3px;
}

.clinic-card__subtitle {
  color: #a12327;
  font-size: 0.95rem;
  font-weight: bold;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  border-left: 4px solid #a12327;
  padding-left: 0.5rem;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}
.pagination ul {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.pagination li .page-numbers {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  background-color: #f0f0f0;
  text-decoration: none;
  color: #333;
  font-weight: 500;
}
.pagination li .page-numbers.current {
  background-color: #a12327;
  color: #fff;
}
.pagination li .page-numbers:hover {
  background-color: rgb(119.1071428571, 25.8928571429, 28.8520408163);
  color: #fff;
}

.search-loading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1rem 0;
  justify-content: center;
  color: #555;
}
.search-loading .spinner {
  width: 24px;
  height: 24px;
  border: 3px solid #ccc;
  border-top-color: #a12327;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

#reset-search {
  background-color: #ccc;
  color: #333;
  padding: 0.4rem 1rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-left: 0.5rem;
}
#reset-search:hover {
  background-color: rgb(178.5, 178.5, 178.5);
}

#partner-search-form {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  background: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  margin-top: 4rem;
  margin-bottom: 2rem;
}
#partner-search-form p {
  letter-spacing: 0.2rem;
}
#partner-search-form label {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 0.4rem;
}
#partner-search-form input[type=text],
#partner-search-form select {
  width: 100%;
  padding: 0.6rem 0.8rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  border: 1px solid #052158;
}
#partner-search-form input[type=text]:focus,
#partner-search-form select:focus {
  border-color: #a12327;
  outline: none;
  box-shadow: 0 0 0 2px rgba(161, 35, 39, 0.2);
}
#partner-search-form button[type=submit] {
  background-color: #a12327;
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
  align-self: flex-end;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.2s ease;
}
#partner-search-form button[type=submit] svg {
  width: 1em;
  height: 1em;
}
#partner-search-form button[type=submit]:hover {
  background-color: rgb(119.1071428571, 25.8928571429, 28.8520408163);
}
@media (max-width: 768px) {
  #partner-search-form {
    flex-direction: column;
  }
  #partner-search-form button[type=submit] {
    width: 100%;
    justify-content: center;
  }
}

#topics {
  padding: 4rem 0;
  background: #e1ecf7;
}
#topics .container {
  max-width: 1200px;
  width: 95%;
  padding: 4rem 2rem;
}
#topics .container.is-full {
  max-width: none;
}
#topics h2 {
  font-family: dnp-shuei-mincho-pr6n, serif;
}
#topics .topics-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  #topics .topics-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  #topics .topics-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}
#topics .topics-cards .topics-heading-item {
  background: transparent;
  padding: 0;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
#topics .topics-cards .topics-heading-item .topics-heading__ttl {
  font-size: 2rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 0.5rem;
}
@media (min-width: 1024px) {
  #topics .topics-cards .topics-heading-item .topics-heading__ttl {
    font-size: 2.93rem;
  }
}
#topics .topics-cards .topics-heading-item .topics-heading__txt {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
}
#topics .topics-card {
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  position: relative;
  width: 100%;
  background-color: var(--card-bg);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: background-color 0.3s;
}
#topics .topics-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background-image: var(--wm);
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.08;
  pointer-events: none;
}
#topics .topics-card__top-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--badge-color);
  padding: 0.75rem 1rem;
  text-decoration: none;
  color: var(--badge-text-color);
  font-weight: bold;
  font-size: 1.1rem;
  gap: 0.5rem;
  border-radius: 0;
  transition: background-color 0.3s, opacity 0.3s;
}
#topics .topics-card__top-link:hover {
  background-color: #364c8a;
}
#topics .topics-card__badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
#topics .topics-card__badge-icon {
  width: 32px;
  height: 32px;
  -o-object-fit: contain;
     object-fit: contain;
}
#topics .topics-card__badge-text {
  font-size: 1.1rem;
  color: var(--badge-text-color);
}
#topics .topics-card__more {
  font-size: 0.95rem;
  font-weight: normal;
  color: var(--badge-text-color);
}
#topics .topics-card__body {
  padding: 2rem 1.25rem;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
  transition: background-color 0.3s;
}
#topics .topics-card__body:hover {
  background-color: #f7f7f7;
}
#topics .topics-card__latest.is-empty {
  text-align: center;
  color: #888;
  font-size: 0.95rem;
}
#topics .topics-card__date {
  display: block;
  font-size: 0.9rem;
  color: #999;
  margin-bottom: 0.25rem;
}
#topics .topics-card__title {
  font-size: 1.1rem;
  font-weight: bold;
  line-height: 1.4;
}
#topics .topics-card__title a {
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
#topics .topics-card__title a:hover {
  text-decoration: underline;
}

.deptbox {
  background: #f0f4f8;
}
.deptbox .topics-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 600px) {
  .deptbox .topics-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .deptbox .topics-list {
    grid-template-columns: repeat(3, 1fr);
  }
}
.deptbox .card-topics {
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border-radius: 0.5rem;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.deptbox .card-topics:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}
.deptbox .card-topics a {
  color: inherit;
  text-decoration: none;
  display: block;
}
.deptbox .card-topics .thumbnail {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background-color: #eee;
}
.deptbox .card-topics .thumbnail img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
  display: block;
}
.deptbox .card-topics .body {
  padding: 1rem;
}
.deptbox .card-topics .body .date {
  font-size: 0.9rem;
  color: #999;
  display: block;
  margin-bottom: 0.25rem;
}
.deptbox .card-topics .body .title {
  font-size: 1rem;
  font-weight: bold;
  line-height: 1.4;
}
.deptbox article {
  width: 100% !important;
}
.deptbox .container {
  max-width: 1200px !important;
  width: 95%;
}
.deptbox .related-posts .card-topics {
  border: 1px solid #ddd;
  padding: 1rem;
  background: #fff;
  transition: box-shadow 0.3s ease;
}
.deptbox .related-posts .card-topics:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.deptbox .related-posts .card-topics .thumbnail img {
  display: block;
  width: 100%;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
}
.deptbox .related-posts .card-topics .title {
  font-size: 1rem;
  font-weight: bold;
}

@media (max-width: 768px) {
  .deptsingle .content-area {
    flex: 1 1 100% !important;
    max-width: 100% !important;
  }
}
@media (max-width: 768px) {
  .deptsingle .sidebar-area {
    display: none;
    max-width: 100%;
    margin-top: 2rem;
  }
}
.deptsingle .sidebar-area .sidebar-box {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.breadcrumb__item a {
  color: #fff;
}

.dept .pagination-wrap ul {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  list-style: none;
  padding: 0;
}
.dept .pagination-wrap .page-numbers {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: #f0f0f0;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s;
}
.dept .pagination-wrap .page-numbers.current {
  background: #333;
  color: #fff;
}
.dept .pagination-wrap .page-numbers:hover {
  background: #ddd;
}

.topics-card .topics-card__banner {
  display: block;
}
.topics-card .topics-card__banner img {
  width: 100%;
  height: auto;
  display: block;
}

.copy-wrapper {
  bottom: 0 !important;
}
@media (max-width: 768px) {
  .copy-wrapper {
    bottom: auto !important;
  }
}

.safety-statement {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  line-height: 1.9;
  font-size: 1rem;
  color: #212529;
}
.safety-statement h1 {
  font-size: 1.75rem;
  margin-bottom: 2rem;
  font-weight: 600;
  text-align: center;
}
.safety-statement h2 {
  font-size: 1.25rem;
  margin: 2.5rem 0 1rem;
  font-weight: 600;
  border-left: 4px solid #435f96;
  padding-left: 0.75rem;
}
.safety-statement p {
  margin-bottom: 1.5rem;
}
.safety-statement ul {
  margin: 1rem 0 1.5rem 1.5rem;
  list-style: disc;
}
.safety-statement ul li {
  margin-bottom: 0.5rem;
}
.safety-statement .date {
  text-align: right;
  margin-top: 3rem;
  font-size: 0.9rem;
  color: #555;
}

.download-cta {
  margin: 3rem auto 0;
  padding: 1.5rem;
  background: #f7f7f7;
  border-radius: 1rem;
}
.download-cta .download-cta__inner {
  display: grid;
  gap: 0.75rem;
  align-items: center;
  justify-items: start;
}
@media (min-width: 640px) {
  .download-cta .download-cta__inner {
    grid-template-columns: 1fr auto;
    gap: 1rem;
  }
}
.download-cta .download-cta__lead {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: #435f96;
  font-weight: 600;
}
.download-cta .download-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  padding: 0.9rem 1.2rem;
  border-radius: 999px;
  background: #a12327;
  color: #fff;
  font-weight: 600;
  line-height: 1;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}
.download-cta .download-cta__btn:hover, .download-cta .download-cta__btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  opacity: 0.95;
}
.download-cta .download-cta__btn:active {
  transform: translateY(0);
  box-shadow: none;
}
.download-cta .download-cta__icon {
  display: inline-grid;
  place-items: center;
}
.download-cta .download-cta__icon svg {
  display: block;
  fill: currentColor;
}
.download-cta .download-cta__label {
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}
.download-cta .download-cta__meta {
  font-size: 0.85rem;
  opacity: 0.9;
}

.qa {
  padding: 4rem 1.5rem;
  background: #f9f9f9;
  margin-bottom: 4rem;
}
.qa .qa__title {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  text-align: center;
  color: #435f96;
  font-weight: 700;
}
.qa .qa__item {
  max-width: 1200px;
  margin: 0 auto;
}
.qa .qa__q {
  font-size: 1.5rem;
  font-weight: 600;
  color: #a12327;
  margin-bottom: 1rem;
}
.qa .qa__a {
  line-height: 1.9;
  font-size: 1rem;
  color: #212529;
}
.qa .qa__a p {
  margin-bottom: 1rem;
}
.qa .qa__a a {
  border-bottom: 1px solid;
}

#firstView {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(24px, 6vh, 64px) 16px;
  overflow: hidden;
  background: #b23d40;
}
#firstView > span {
  position: absolute;
  inset: 0;
  z-index: 0;
}
#firstView > span video {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
  display: block;
}
#firstView .copy-wrapper {
  position: relative;
  z-index: 1;
  width: min(90%, 1100px);
  margin: 0 auto;
  text-align: center;
}
@media (max-width: 768px) {
  #firstView .copy-wrapper {
    width: 100%;
  }
}
#firstView .main-copy {
  color: #fff;
  letter-spacing: 0.15em;
  line-height: 1.5;
  font-weight: 500;
  font-family: dnp-shuei-mincho-pr6n, serif;
  font-size: clamp(24px, 5vw, 56px);
  margin: 0 0 0.5em;
}
#firstView .sub-copy {
  color: #fff;
  letter-spacing: 0.15em;
  line-height: 1.8;
  font-weight: 500;
  font-family: dnp-shuei-ymincho-std, serif;
  font-size: clamp(14px, 2.2vw, 22px);
  margin: 0;
}
#firstView .fv-news {
  margin: clamp(12px, 2.4vh, 24px) auto 0;
  width: min(100%, 1000px);
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: saturate(1.1) blur(2px);
          backdrop-filter: saturate(1.1) blur(2px);
  border-left: 4px solid #435f96;
  padding: clamp(12px, 2vh, 20px) clamp(14px, 2.4vw, 24px);
  text-align: left;
  color: #212529;
  border-radius: 8px;
}
#firstView .fv-news h2 {
  font-size: clamp(16px, 2.2vw, 20px);
  margin: 2rem 0 2rem;
  color: #435f96;
  font-weight: 700;
}
#firstView .fv-news p {
  margin: 0 0 1rem;
  line-height: 1.8;
  font-size: clamp(13px, 1.9vw, 16px);
}
#firstView .fv-news a {
  color: #a12327;
  font-weight: 600;
  border-bottom: 1px solid;
  word-break: break-all;
  display: inline-block;
  margin-top: 1rcap;
}
@media (max-height: 700px) {
  #firstView {
    padding-top: 24px;
    padding-bottom: 24px;
  }
  #firstView .main-copy {
    font-size: clamp(22px, 4.2vw, 44px);
  }
  #firstView .sub-copy {
    font-size: clamp(13px, 1.8vw, 18px);
  }
}
@supports not (min-height: 100svh) {
  #firstView {
    min-height: 100vh;
  }
}