@charset "UTF-8";
.patients .h1-basic {
  margin-top: 24px;
  margin-bottom: 80px;
}

/* ****************************************************
   patients - 一般・患者の皆様
***************************************************** */


/* ----------------------------------------
   Header - サイトラベル（一般・患者の皆様）
---------------------------------------- */
.patients header .logo {
  display: flex;
  align-items: center;
  gap: 40px;
}
.patients header .logo .site-label {
  font-size: 1.6rem;
  font-weight: 400;
  white-space: nowrap;
  color: var(--text-color1);
}
.logo.patients-logo > a {
    align-items: center;
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

/* ----------------------------------------
   Header - nav-main（3項目）
---------------------------------------- */
@media screen and (min-width: 960px) {
  .patients .nav-main > ul {
    grid-template-columns: repeat(3, 1fr);
  }
}
.patients .nav-main .header-blank-link {
  display: inline;
}
@media screen and (max-width: 959px) {
  .patients .nav-main .header-blank-link {
    display: block;
    width: 100%;
  }
  .header-blank-link.icon-large {
    padding-right: 24px;
    background-size: 16px;
  }
  .logo.patients-logo > a {
      width: 100%;
      gap: 24px;
  }
  .logo.patients-logo > a > p.site-label {
    font-size: 1rem;
  }
}
@media screen and (max-width: 350px) {
  .logo.patients-logo > a > p.site-label {
    font-size: 2.5vw;
    padding-left: 10px;
  }
}
@media (hover: hover) {
  .patients .nav-main > ul > li > a:hover .header-blank-link {
    text-decoration: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M9.20513 13H13V3H3V6.79487' stroke='%23FFFFFF' stroke-width='1.2' stroke-miterlimit='10' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M7 12V9M7 9H4M7 9L3 13' stroke='%23FFFFFF' stroke-width='1.2' stroke-miterlimit='10' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  }
}


/* ----------------------------------------
   Footer 
---------------------------------------- */
.patients .footer-nav-sub {
  width: auto;
  max-width: 1000px;
  padding-top: 0;
}
.patients .footer-nav-sub::before {
  display: none;
}
.patients footer ul {
  gap: 32px;
}

.patients .patients-sns {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  width: 80vw;
  max-width: 1400px;
  margin: 0 auto 32px;
  font-size: 1.4rem;
}


/* ----------------------------------------
    Header Footer レスポンシブ
---------------------------------------- */
@media screen and (max-width: 959px) {

  .patients header .logo {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }
  .patients header .logo img {
    width: 120px;
    max-height: 36px;
  }
  .patients header .logo .site-label {
    font-size: 1.2rem;
    padding-right: 20px;
  }

  .patients .patients-sns {
    width: 100%;
    max-width: 100%;
    padding: 0 5vw;
    margin-bottom: 24px;
  }

  .patients footer .footer-nav-sub > ul {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
  }
}

.patients-top-breadcrumbs {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0); 
  clip-path: inset(50%);
  white-space: nowrap;  
}

/* ****************************************************
   共通
***************************************************** */
/* ----------------------------------------
   見出し（アイコン付き）
---------------------------------------- */
.patients .h1-basic.health-content-title,
.patients .h1-basic.material-room-title {
  margin-bottom: 40px;
}
.patients .health-content-title img,
.patients .material-room-title img {
  display: block;
  height: auto;
  margin: 0 auto 16px;
}
.patients .health-content-title img {
  width: 94px;
}
/* 横長の図版のため、見た目の大きさを揃えて幅を広めに取る */
.patients .material-room-title img {
  width: 116px;
}

@media screen and (max-width: 959px) {
  .patients .health-content-title img {
    width: 90px;
  }
}

/* ----------------------------------------
   注意書き
---------------------------------------- */
.patients .material-notes {
  margin-top: 96px;
  padding: 32px 50px;
  font-size: 1.6rem;
  line-height: 1.9;
  background: var(--bg2);
}


/* ****************************************************
   一般・患者の皆様 - index.html
***************************************************** */

/* ----------------------------------------
   メインビジュアル
---------------------------------------- */
.patients .patients-mv {
  margin-top: 24px;
}
.patients .patients-mv img {
  display: block;
  width: 100%;
  height: auto;
  box-shadow: 0px 0px 10.01px 0px #7C8A9533;
  border: 3px solid #fff;
  border-radius: 8px;
}

@media screen and (max-width: 959px) {
  .patients .patients-mv img {
    border-radius: 16px;
    border: 1px solid #fff;
  }
}

/* ----------------------------------------
   病気や予防・治療の情報はこちら
---------------------------------------- */
.patients .patients-info {
  margin-top: 96px;
}
.patients .patients-info-list .card-link {
  background: #fff;
}
.patients .patients-info-list .card-link > a {
  align-items: flex-start;
  justify-content: flex-start;
  gap: 24px;
  padding: 24px;
}
.patients .patients-info-list .img-box {
  width: calc(100% + 24px);
  margin: -12px -12px 0;
}
.patients .patients-info-list .img-box img {
  display: block;
  width: 100%;
  max-width: 250px;
  height: auto;
  min-height: 100px;
  object-fit: cover;
}
.patients .patients-info-list .text-box {
  width: 100%;
  font-size: 1.8rem;
  line-height: 1.5;
  text-align: left;
}
@media (hover: hover) {
  .patients .patients-info-list .card-link:hover {
    background: var(--hover-bg1);
  }
}
@media screen and (max-width: 959px) {
  .patients .patients-info-list .img-box {
    width: 100%;
    margin: 0;
  }
}

/* ----------------------------------------
   PICK UP
---------------------------------------- */
.patients .patients-pickup {
  margin-top: 96px;
}
.patients .patients-pickup-list .card-link {
  background: #fff;
}
.patients .patients-pickup-list .card-link > a {
  display: grid;
  grid-template-columns: 1fr 100px;
  align-items: center;
  gap: 16px;
  padding: 24px;
}
.patients .patients-pickup-list .text-box .title {
  display: flex;
  align-items: center;
  font-size: 1.8rem;
  line-height: 1.5;
}
.patients .patients-pickup-list .text-box .text {
  margin-top: 8px;
  font-size: 1.6rem;
  line-height: 1.7;
}
.patients .patients-pickup-list .img-box img {
  display: block;
  width: 100%;
  height: auto;
}
@media (hover: hover) {
  .patients .patients-pickup-list .card-link:hover {
    background: var(--hover-bg1);
  }
}

.card-link .text-box .arrow img {
  width: 20px;
  height: 20px;
  min-width: 20px;
}

.patients .patients-ii {
  margin-top: 96px;
  margin-bottom: 96px;
}
.patients .patients-ii-title {
  margin-bottom: 0;
  text-align: center;
}
.patients .patients-ii-lead {
  margin-top: 16px;
  font-size: 1.6rem;
  line-height: 1.9;
  text-align: center;
}
.patients .patients-ii-list {
  margin-top: 40px;
}
.patients .patients-ii-list > li {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  box-shadow: 3px 3px 6px 0px rgba(64, 123, 190, 0.24), -4px -2px 24px 0px #FFF;
  transition: .4s;
}
.patients .patients-ii-list > li > a {
  display: block;
  width: 100%;
}
.patients .patients-ii-list .img-box {
  aspect-ratio: 5 / 3;
}
.patients .patients-ii-list .img-box img {
  width: 100%;
  height: 100%;
  margin: auto;
  object-fit: cover;
}
.patients .patients-ii-list .text-box {
  padding: 24px 24px 0;
}
.patients .patients-ii-list .text-box h3 {
  margin-bottom: 8px;
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1.5;
  /* color: var(--primary-color); */
}
.patients .patients-ii-list .text-box p {
  font-size: 1.4rem;
  line-height: 1.7;
  /* color: var(--text-color3); */
}
.patients .patients-ii-list .category-wrap {
  margin-top: auto;
  padding: 0 24px 24px;
}
.patients .patients-ii-list .category-link {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0;
}
.patients .patients-ii-list .category-link a {
  display: block;
  font-size: 1.4rem;
  color: var(--primary-color);
}
.patients .patients-ii-list .date-text {
  font-size: 1.3rem;
  line-height: 1.7;
  /* color: var(--text-color3); */
}
@media (hover: hover) {
  .patients .patients-ii-list > li:hover {
    background: var(--hover-bg1);
  }
  .patients .patients-ii-list .category-link a:hover {
    text-decoration: underline;
  }
}

@media screen and (max-width: 959px) {
  .patients .h1-basic {
    margin-bottom: 48px;
  }

  .patients .patients-info,
  .patients .patients-pickup {
    margin-top: 72px;
  }

  .patients .patients-pickup-list .text-box .title {
    font-size: 1.6rem;
  }
  .patients .patients-pickup-list .text-box .text {
    font-size: 1.4rem;
  }

  .patients .patients-ii {
    margin-top: 72px;
    margin-bottom: 56px;
  }
  .patients .patients-ii-lead {
    font-size: 1.4rem;
    text-align: left;
  }
  .patients .patients-ii-list {
    margin-top: 24px;
  }
  .patients .patients-ii-list .text-box,
  .patients .patients-ii-list .category-wrap {
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media screen and (max-width: 699px) {
  .patients .patients-info,
  .patients .patients-pickup {
    margin-top: 48px;
  }
  .patients .patients-ii {
    margin-top: 48px;
  }

  /* アイコン＋テキストの横並びカードに切り替え */
  .patients .patients-info-list .card-link > a {
    flex-direction: row;
    align-items: center;
    gap: 16px;
    padding: 8px;
  }
  .patients .patients-info-list .img-box {
    flex: 0 0 130px;
    width: 130px;
  }
  .patients .patients-info-list .text-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }
  .patients .patients-info-list .text-box .arrow {
    flex-shrink: 0;
    margin-left: 0;
  }

  .patients .patients-pickup-list .card-link > a {
    grid-template-columns: 1fr 84px;
    align-items: start;
    padding: 24px;
  }
}


/* ****************************************************
   病気と健康の話 - health-content.html
***************************************************** */

/* ----------------------------------------
   コンテンツ一覧
---------------------------------------- */
.patients .health-content-list {
  gap: 40px 32px;
}
.patients .health-content-list .card-link {
  background: #fff;
}
.patients .health-content-list .card-link > a {
  align-items: stretch;
  justify-content: flex-start;
  gap: 0;
  padding: 8px;
  text-align: left;
}
.patients .health-content-list .img-box img {
  display: block;
  width: 100%;
  height: auto;
}
.patients .health-content-list .text-box {
  padding: 24px 16px 16px;
}
.patients .health-content-list .sub-title {
  font-size: 1.4rem;
  line-height: 1.5;
}
.patients .health-content-list .title {
  font-size: 1.8rem;
  line-height: 1.5;
}
.patients .health-content-list .text {
  margin-top: 8px;
  font-size: 1.4rem;
  line-height: 1.7;
}
@media (hover: hover) {
  .patients .health-content-list .card-link:hover {
    background: var(--hover-bg1);
  }
}

@media screen and (max-width: 959px) {
  .patients .health-content-list {
    gap: 32px 24px;
  }
}

@media screen and (max-width: 699px) {
  /* 画像を左カラムにし、テキストはひとまとめにして画像の上下中央に揃える */
  .patients .health-content-list {
    gap: 16px;
  }
  .patients .health-content-list .card-link > a {
    display: grid;
    grid-template-columns: 86px 1fr;
    align-items: center;
    gap: 0 12px;
    padding: 10px;
    min-height: 150px;
  }
  .patients .health-content-list figure.img-box {
    display: flex;
    align-items: center;
    height: 100%;
    background: #beddd8;
    border-radius: 6px 0 0 6px;
  }
  .patients .health-content-list .img-box picture {
    display: block;
    width: 100%;
  }
  .patients .health-content-list .text-box {
    padding: 0;
  }
  .patients .health-content-list .sub-title {
    font-size: 1.2rem;
    line-height: 1.7;
  }
  .patients .health-content-list .text {
    font-size: 1.2rem;
    line-height: 1.7;
  }
}


/* ****************************************************
   病気とおくすりの資料室 - material-room.html
***************************************************** */

.patients [hidden] {
  display: none !important;
}



/* ----------------------------------------
   絞り込みタブ
---------------------------------------- */
.patients .material-tabs {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  align-items: center;
  gap: 8px;
  margin: 0 auto 56px;
  padding: 8px;
}
.patients .material-tab {
  padding: 14px 8px;
  font-size: 1.6rem;
  font-weight: bold;
  line-height: 1.4;
  color: var(--text-color1);
  text-align: center;
  white-space: nowrap;
  border-radius: 9999px;
  transition: .4s;
  cursor: pointer;
}
@media (hover: hover) {
  .patients .material-tab:hover {
    background: #d9e5f2;
    box-shadow: 2px 2px 6px 0px #AFBFC7 inset, -1px -1px 4px 0px #FFF inset;
  }
}
.patients .material-tab.current {
  color: var(--text-color2);
  background: var(--accent-color1);
  box-shadow: 2px 2px 6px 0px #2f5f95 inset, -2px -2px 4px 0px #90c0f7 inset;
}
/* @media (hover: hover) {
  .patients .material-tab.current:hover {
    color: var(--primary-color);
    background: var(--bg1);
  }
} */
.patients .material-tab:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}


/* ----------------------------------------
   資料カード一覧
---------------------------------------- */
.patients .material-list {
  gap: 32px;
}
.patients .material-card {
  background: #fff;
}
.patients .material-card > a {
  gap: 32px;
  padding: 32px 24px;
  justify-content: flex-start;
}
/* 資料サムネイルは縦横比がまちまちなため、枠の高さを固定して
   画像を中央寄せし、カード間でテキストの開始位置を揃える */
.patients .material-card .img-box {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 288px;
}
.patients .material-card .img-box img {
  width: auto;
  /* max-width: 200px; */
  height: auto;
  max-height: 100%;
}
.patients .material-card .text-box {
  width: 100%;
  font-size: 1.6rem;
  line-height: 1.6;
  text-align: left;
}
@media (hover: hover) {
  .patients .material-card:hover {
    background: var(--hover-bg1);
  }
}

/* 該当0件 */
.patients .material-empty {
  padding: 80px 0;
  font-size: 1.6rem;
  text-align: center;
  color: var(--text-color3);
}

@media screen and (max-width: 959px) {

  .patients .material-tabs {
    gap: 4px;
    margin-bottom: 40px;
  }
  .patients .material-tab {
    padding: 12px 2px;
    font-size: 1.3rem;
  }

  .patients .material-list {
    gap: 20px;
  }
  .patients .material-card > a {
    gap: 20px;
    padding: 24px 16px;
  }
  .patients .material-card .img-box {
    height: 260px;
  }
  /* .patients .material-card .img-box img {
    max-width: 180px;
  } */
  .patients .material-notes {
    margin-top: 56px;
    padding: 24px;
    font-size: 1.4rem;
  }
}

@media screen and (max-width: 699px) {
  .patients .material-tabs {
    grid-template-columns: repeat(4, 1fr);
    gap: 6px 4px;
    padding: 8px 4px;
    border-radius: 20px;
  }
}
@media screen and (max-width: 449px) {
  .patients .material-tab {
    font-size: 1.2rem;
  }
}