summary {
  display: list-item;
  list-style: none;
  cursor: pointer;
}
details {
  display: block;
}

.p-doctor{}

.p-doctor-atcl{

}
.p-doctor-atcl:nth-child(1){
  padding-block: 13rem 16rem;
}
@media screen and (max-width: 768px) {
  .p-doctor-atcl:nth-child(1){
    padding-block: 17rem 10rem;
  }
}
.p-doctor-atcl:nth-child(2){
  background: #F6EDE3;
  padding-block: 0.8rem 16rem;
}
@media screen and (max-width: 768px) {
  .p-doctor-atcl:nth-child(2){
    padding-block: 10rem;
  }
}
.p-doctor-atcl:nth-child(1) .p-doctor-atcl_inner{
  position: relative;
}
  .p-doctor-atcl:nth-child(1) .p-doctor-atcl_inner::before{
  content: "";
  display: block;
  width: 92.6rem;
  aspect-ratio: 902 / 146;
  background: url("../img/doctor/text_doctors.svg") no-repeat top left / 100%;
  position: absolute;
  top: -12.3rem;
  left: -19.3rem;
  z-index: -1;
}
@media screen and (max-width: 768px) {
  .p-doctor-atcl:nth-child(1) .p-doctor-atcl_inner::before {
    width: 34rem;
    top: -5.3rem;
    left: 50%;
    transform: translateX(-50%);
  }
}
.p-doc-item {
  display: grid;
  grid-template-columns: calc(342 / 1020 * 100%) 1fr;
  gap: 0 calc(83 / 1020 * 100%);
  align-items: start;
}
@media screen and (max-width: 768px) {
  .p-doc-item {
    grid-template-columns: 1fr;
    gap: 0;  
  }
}
.p-doc-item__img-wrap {
  position: sticky;
  top: 0;
  padding-top: 12rem;
}
@media screen and (max-width: 768px) {
  .p-doc-item__img-wrap {
    position: static;
    padding-top: 0;
    justify-self: center;
  }
}
.p-doc-item__img {
  width: 100%;
  aspect-ratio: 342 / 433;
  border-radius: 5px;
  overflow: hidden;
}

@media screen and (max-width: 768px) {
  .p-doc-item__img {
    width: 24.7rem;
  }
}
.p-doc-item__texts {
  margin-top: 18.4rem;
}
@media screen and (max-width: 768px) {
  .p-doc-item__texts {
    margin-top: 3rem;
  }
}
.p-doc-item__role{
  color: #927A43;
}
@media screen and (max-width: 768px) {
  .p-doc-item__role {
    text-align: center;
  }
}
.p-doc-item__name{
  font-size: 2.8rem;
  font-weight: 500;
  margin-top: 2.7rem;
}
@media screen and (max-width: 768px) {
  .p-doc-item__name {
    text-align: center;
    margin-top: 2rem;
  }
}
.p-doc-item__desc {
  line-height: 2;
  margin-block: var(--leading-trim);
  margin-top: calc(var(--leading-trim) + 5rem);
}
@media screen and (max-width: 768px) {
  .p-doc-item__desc {
    padding-inline: 1.5rem;
  }
}
.p-doc-item__list {
  margin-top: 5.4rem;
  background: #fff;
  padding: 5.4rem 4.8rem;
  border-radius: 10px;
}
@media screen and (max-width: 768px) {
  .p-doc-item__list {
    padding: 5rem 2rem;
  }
}
.p-doc-item__list-item {
  display: grid;
  gap: 3.2rem 0;
}
.p-doc-item__list-item:not(:last-child) {
  padding-bottom: 4.8rem;
}
.p-doc-item__list-item + .p-doc-item__list-item {
  border-top: 1px solid #EED9C2;
  padding-top: 4.8rem;
}
.p-doc-item__list-item-ttl {
  font-size: 2rem;
  font-weight: 500;
  color: #927A43;
}
.p-doc-item__list-item-list {
  display: grid;
  gap: 2.4rem 0;
}
.p-doc-item__list-item-list .item {
  letter-spacing: 0.05em;
  display: grid;
  grid-template-columns: 6px 1fr;
  gap: 0 calc(12 / 16 * 1em);
  align-items: start;
  line-height: 1.5;
  letter-spacing: 0.05em;
  margin-block: var(--leading-trim);
}
.p-doc-item__list-item-list .item::before {
  content: "";
  justify-self: center;
  margin-top: 0.5lh;
  width: 4px;
  height: 4px;
  background: url("../img/common/icon_diamond.svg") no-repeat center center / contain;
  transform: translateY(-50%);
}

.p-doc-item__prof {
  border-top: 1px solid #EED9C2;
  border-bottom: 1px solid #EED9C2;
  margin-top: 10.2rem;
}
@media screen and (max-width: 768px) {
  .p-doc-item__prof {
    margin-top: 5rem;
  }
}
.p-doc-prof__ttl {
  
}
.p-doc-prof__ttl-inner {
  display: grid;
  grid-template-columns: 1fr 16px;
  gap: 0 1.6rem;
  align-items: center;
  padding: 2.8rem 2.4rem 2.8rem 1.6rem;
  font-size: 2rem;
  letter-spacing: 0.05em;
  line-height: 1;
}
.p-doc-prof__ttl-icon {
  height: 16px;
  display: grid;
  place-items: center;
}
.p-doc-prof__ttl-inner .p-doc-prof__ttl-icon::before,
.p-doc-prof__ttl-inner .p-doc-prof__ttl-icon::after {
  content: "";
  grid-column: 1;
  grid-row: 1;
  background: #927A43;
}
.p-doc-prof__ttl-inner .p-doc-prof__ttl-icon::before {
  width: 100%;
  height: 1px;
}
.p-doc-prof__ttl-inner .p-doc-prof__ttl-icon::after {
  width: 1px;
  height: 100%;
  transition: transform 0.3s;
}
details[open] .p-doc-prof__ttl-icon::after {
  transform: rotate(90deg);
}
.p-doc-prof__cont {
  border-top: 1px solid #EED9C2;
}
.p-doc-prof__cont-inner {
  padding: 8rem 2.4rem;
}
@media screen and (max-width: 768px) {
  .p-doc-prof__cont-inner {
    padding: 6rem 1.5rem;
  }
}
.p-doc-prof__list {
  display: grid;
  gap: 6.4rem 0;
}
@media screen and (max-width: 768px) {
  .p-doc-prof__list {
    gap: 4rem 0;
  }
}
.p-doc-prof__list-item {
  display: grid;
  grid-template-columns: 1fr calc(297 / 973 * 100%);
  gap: 0 calc(64 / 973 * 100%);
  align-items: start;
}
@media screen and (max-width: 768px) {
  .p-doc-prof__list-item {
    grid-template-columns: 1fr;
    gap: 4rem 0;
  }
}
.p-doc-prof__list-item-text {
  line-height: 2;
  margin-block: var(--leading-trim);
}
.p-doc-prof__list-item-img {
  aspect-ratio: 297 / 198;
  border-radius: 5px;
  overflow: hidden;

  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.l-footer_wrap {
  position: relative;
  background: #F6EDE3;


}
  
.l-footer_wrap::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(247, 244, 240, 0) 0%, #F8E9D9 100%);
}
.l-footer_wrap footer {

}










