@charset "UTF-8";
/* 
Theme Name:豊中庄内ヴェルデデンタルクリニック
*/
/* mv
------------------------------------------------------*/
/* greeting */
#greeting {
  position: relative;
}
#greeting .cmt {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  margin-bottom: 1em;
  position: relative;
  z-index: 1;
}
#greeting .cmt .director {
  width: 33%;
}
#greeting .cmt .director dl {
  font-weight: 500;
  margin: 0 auto;
  padding: 1rem 0;
  position: relative;
  text-align: center;
  width: 100%;
}
#greeting .cmt .director dl dt {
  letter-spacing: .05em;
  line-height: 1.2;
  margin-bottom: .3em;
}
#greeting .cmt .director dl dd {
  font-size: 1.8rem;
  letter-spacing: .05em;
  line-height: 1.2;
}
#greeting .cmt .director dl dd span {
  display: block;
  font-size: 2.8rem;
  padding-bottom: .3em;
}
#greeting .cmt .txt {
  width: 62%;
}
#greeting .cmt .txt p {
  margin-bottom: 1.5em;
}
#greeting .profile {
  padding: 3em 0;
  position: relative;
}
#greeting .profile h3 {
  font-weight: 500;
  margin-bottom: 1.5em;
  width: fit-content;
  position: relative;
  padding-bottom: 10px;
}
#greeting .profile h3:after {
  content: "";
  width: 100%;
  height: 3px;
  display: block;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(45deg, #945f42 0%, #945f42 10%, #e9b800 70%, #e9b800 100%);
}
#greeting .profile ul {
  position: relative;
  z-index: 1;
}
#greeting .profile ul li dl {
  display: flex;
  justify-content: flex-start;
}
#greeting .profile ul li dl dt {
  padding-right: 1em;
  width: 36%;
}
#greeting .profile ul li dl dd {
  width: 64%;
}
#greeting .qa {
  display: flex;
  justify-content: space-between;
  margin-bottom: 70px;
  position: relative;
  z-index: 1;
  background: linear-gradient(45deg, #945f42 0%, #945f42 10%, #e9b800 70%, #e9b800 100%);
  padding: 3rem;
}
#greeting .qa .title {
  display: grid;
  place-items: center;
  width: 23%;
}
#greeting .qa h3 {
  color: #FFF;
  line-height: 1.2;
  text-align: center;
}
#greeting .qa h3 span {
  font-size: 5.9rem;
  font-weight: normal;
}
#greeting .qa > div {
  position: relative;
  width: 71%;
}
#greeting .qa dl {
  display: flex;
  justify-content: space-between;
  color: #FFF;
  flex-wrap: wrap;
}
#greeting .qa dl dt {
  width: 12em;
  text-align: right;
}
#greeting .qa dl dd {
  width: calc(100% - 13em);
}
@media screen and (max-width: 767px) {
  #greeting .cmt {
    display: block;
  }
  #greeting .cmt .director {
    margin: 0 auto 1em;
    width: 100%;
  }
  #greeting .cmt .txt {
    width: auto;
  }
  #greeting .profile ul {
    position: relative;
    z-index: 1;
  }
  #greeting .profile ul li {
    margin-bottom: 2.5rem;
  }
  #greeting .profile ul li dl {
    display: block;
  }
  #greeting .profile ul li dl dt {
    padding-right: 0;
    width: 100%;
    font-weight: bold;
  }
  #greeting .profile ul li dl dd {
    width: 100%;
    padding-left: 2rem;
  }
  #greeting .qa {
    display: block;
    padding: 2rem;
  }
  #greeting .qa .title {
    display: grid;
    place-items: center;
    width: 100%;
    border-bottom: 1px solid #FFF;
    padding-bottom: 2rem;
    margin-bottom: 2rem;
  }
  #greeting .qa > div {
    position: relative;
    width: 100%;
  }
  #greeting .qa dl {
    display: flex;
    justify-content: space-between;
    color: #FFF;
    flex-wrap: wrap;
  }
  #greeting .qa dl dt {
    width: 48%;
    text-align: right;
  }
  #greeting .qa dl dd {
    width: 48%;
  }
}
