@charset "utf-8";

/** ***************************************************************************
 * 紹介文
 * ************************************************************************* */

/**
 * ナビゲーション
 */

#lead div.nav ul.list {
  padding: 1.5em;
  border-radius: 8px;
  background-color: #f5f5f5;
}

#lead div.nav ul.list a {
  text-decoration: none;
  display: inline-block;
  transition: color 0.3s ease-in-out 0.0s;
  color: inherit;
}

#lead div.nav ul.list a:hover {
  color: rgb(var(--accentcolor-1));
}

/** ***************************************************************************
 * 入院までの流れ
 * ************************************************************************* */

#flow-1 div.flow dl.list div.item::after {
  background-color: #16bcd5;
}

#flow-1 div.flow dl.list dt {
  color: #16bcd5;
}

@media screen and (min-width:768px) {

  #flow-1 div.flow dl.list div.item {
    width: calc(100% / 5 - 48px);
  }

  #flow-1 div.flow dl.list dd.image::after {
    background-color: #16bcd5;
  }

}

/** ***************************************************************************
 * 入院決定後の流れ
 * ************************************************************************* */

#flow-2 div.necessity dl.list {
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
}

#flow-2 div.necessity dl.list dt {
  padding: 0.25em 1em 0.375em;
  color: #fff;
  line-height: 1.5;
  font-size: 1.125em;
  font-weight: 500;
  text-align: center;
  background-color: rgb(var(--accentcolor-1));
}

#flow-2 div.necessity dl.list dd {
  padding: 1em 1em 1.5em;
  line-height: 1.5;
  font-size: 0.9375em;
  background-color: #f5f5f5;
}

/** ***************************************************************************
 * 入院手続き
 * ************************************************************************* */

/**
 * 家族等について
 */

#process-3 div.necessity dl.list {
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
}

#process-3 div.necessity dl.list dt {
  padding: 0.25em 1em 0.375em;
  color: #fff;
  line-height: 1.5;
  font-size: 1.125em;
  font-weight: 500;
  text-align: center;
  background-color: rgb(var(--accentcolor-1));
}

#process-3 div.necessity dl.list dd {
  padding: 1em 1em 1.5em;
  line-height: 1.5;
  font-size: 0.9375em;
  background-color: #f5f5f5;
}

@media screen and (min-width:768px) {

  #process-3 div.necessity ul.list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0 1em;
  }

  #process-3 div.necessity ul.list li {
    min-width: calc(100% / 3 - 0.75em);
  }

}
