@charset "utf-8";

/** ***************************************************************************
 * セリフ
 * ************************************************************************* */

#main [class*="serif"] {
  margin-bottom: 15px;
  font-size: 1.89em;
}

/** ***************************************************************************
 * スタッフ
 * ************************************************************************* */

#staff-1 div.staff {
  padding: 1.5em;
  border: 2px solid rgb(var(--accentcolor-6));
  background-color: #fff;
}

@media screen and (min-width:768px) {

  #staff-1 div.staff {
    padding: unset;
    border: unset;
    background-color: unset;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
    z-index: 0;
  }

  #staff-1 div.staff:has(.image)::after {
    content: '';
    width: 83%;
    height: 300px;
    background-color: rgb(var(--accentcolor-2));
    position: absolute;
    z-index: -1;
    top: 10%;
    left: calc(50% - 41.5%);
  }

  #staff-1 div.staff:not(:has(.image))::after {
    content: '';
    width: 100%;
    height: 100%;
    background-color: rgb(var(--accentcolor-2));
    position: absolute;
    z-index: -1;
    top: 20px;
    left: 20px;
  }

}

/**
 * 画像
 */

#staff-1 div.staff div.image {
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
  text-align: center;
}

#staff-1 div.staff div.image img {
  border-radius: 20px;
}

@media screen and (min-width:768px) {

  #staff-1 div.staff div.image {
    width: 40%;
    margin: unset;
  }

  #staff-1 div.staff div.image img {
    border-radius: 30px;
  }

}

/**
 * 内容
 */

@media screen and (min-width:768px) {

  #staff-1 div.staff div.content {
    padding: 1.5em 4em 2em;
    border: 2px solid rgb(var(--accentcolor-6));
    background-color: #fff;
  }

  #staff-1 div.staff div.image + div.content {
    width: 54%;
    margin-top: 80px;
    padding-left: 2em;
    padding-right: 2em;
  }

}

/* 名前 */

#staff-1 div.staff div.content div.name {
  margin-bottom: 15px;
  color: rgb(var(--accentcolor-3));
  font-size: 1.25em;
  font-weight: 500;
  text-align: center;
}

@media screen and (min-width:768px) {

  #staff-1 div.staff div.content div.name {
    font-size: 1.22em;
    text-align: unset;
  }

}

/* プロフィール */

#staff-1 div.staff div.content dl.profile dt {
  font-weight: 500;
}

#staff-1 div.staff div.content dl.profile dt::before {
  content: '■';
}

#staff-1 div.staff div.content dl.profile dt ~ dt {
  margin-top: 0.75em;
}

@media screen and (min-width:768px) {

  #staff-1 div.staff div.content dl.profile {
    font-size: 0.889em;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
  }

  #staff-1 div.staff div.content dl.profile dt {
    width: 4em;
    padding-right: 1em;
    flex-shrink: 0;
  }

  #staff-1 div.staff div.content dl.profile dt::before {
    content: none;
  }

  #staff-1 div.staff div.content dl.profile dt ~ dt {
    margin: unset;
  }

  #staff-1 div.staff div.content dl.profile dd {
    width: calc(100% - 4em);
  }

}

/** ***************************************************************************
 * 非常勤職員
 * ************************************************************************* */

/**
 * タイトル
 */

#staff-2 section.staff .column-title {
  margin-bottom: 15px;
  font-weight: 500;
}

/**
 * 内容
 */

#staff-2 section.staff div.content {
  padding: 10px 20px 30px;
  background-color: rgb(var(--accentcolor-2));
}

#staff-2 section.staff div.content tr:first-child {
  border-top: none;
}

@media screen and (min-width:768px) {

  #staff-2 section.staff div.content {
    padding: 30px 40px 40px;
  }

  #staff-2 section.staff div.content th {
    border-top: none;
  }

  #staff-2 section.staff div.content td {
    border-top: none;
  }

}

/** ***************************************************************************
 * 院内スタッフ
 * ************************************************************************* */

#staff-3 div.content tr:first-child {
  border-top: none;
}

@media screen and (min-width:768px) {

  #staff-3 div.content th {
    border-top: none;
  }

  #staff-3 div.content td {
    border-top: none;
  }

}
