@charset "utf-8";

/** ***************************************************************************
 * このような変化が気になったらご相談ください
 * ************************************************************************* */

#counseling div.counseling div.content {
  padding: 1.5em 1em 1.875em 120px;
  line-height: 1.5;
  font-size: 0.9375em;
  border-radius: 8px;
  background: #f5f5f5 url("../_image/dementia/diagnosis/image-illust-1.png") top 1em left 1em / 90px auto no-repeat;
}

/** ***************************************************************************
 * 主な検査について
 * ************************************************************************* */

#exam div.exam dl.list div.item {
  display: grid;
  grid-template-columns: 0.3fr 0.7fr;
  grid-template-rows: repeat(2, auto);
  grid-column-gap: 15px;
}

#exam div.exam dl.list div.item:not(:first-child) {
  margin-top: 15px;
}

#exam div.exam dl.list dt {
  margin-bottom: 5px;
  color: rgb(var(--accentcolor-1));
  line-height: 1.5;
  font-size: 1.125em;
  font-weight: 500;
  grid-area: 1 / 2 / 2 / 3;
  align-self: flex-end;
}

#exam div.exam dl.list dd {
  line-height: 1.5;
  grid-area: 2 / 2 / 3 / 3;
}

#exam div.exam dl.list dd.image {
  grid-area: 1 / 1 / 3 / 2;
  text-align: center;
}

@media screen and (min-width:768px) {

  #exam div.exam dl.list {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 30px 40px;
  }

  #exam div.exam dl.list div.item {
    width: calc(100% / 4 - 30px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
  }

  #exam div.exam dl.list div.item:not(:first-child) {
    margin-top: unset;
  }

  #exam div.exam dl.list dt {
    margin-bottom: unset;
    text-align: center;
    align-self: unset;
  }

  #exam div.exam dl.list dd.image {
    order: -2;
  }

}
