/* 出っ歯CSS */
/* common.cssで共通指定 */


/*出っ歯は治ります
=======================================================*/
#overbite{
  background-color: #fff5fc;
  overflow: hidden;
}
.overbite-ttl{
  display: block;
  width: 100%;
  box-sizing: border-box;
  background: #fd578e;
  color: #fff;
  padding: 15px 40px;
  text-align: center;
  line-height: 1.4;
  font-weight: 500;
  position: relative;
  font-size: 20px;
}
/* 吹き出しの三角形 */
.overbite-ttl::after{
  content: "";
  position: absolute;
  bottom: -17px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 18px 18px 0 18px;
  border-style: solid;
  border-color: #fd578e transparent transparent transparent;
}
.overbite-main{
  display: inline-block;
  font-size: 24px;
  font-weight: 500;
  padding: 6px 12px;
  border: 3px solid #fff;
  margin-right: 8px;
}
#overbite p{
  font-size: 1.6rem;
  line-height: 1.8;
  color: #333;
  text-align: left;
  margin: 20px 10px 10px;
}
.overbite-text{
  display: inline-block;
}
.overbite-ttl span:last-child{
  display: block;
  font-size: 18px;
  margin-top: 8px;
}

/* 大人の出っ歯症例
=======================================================*/
#adult-case{
  background-color: #fff5fc;
  padding-top: 40px;
  overflow: hidden;
}
.adult-case__title{
  position: relative;
  width: 90%;
  margin: 0 auto 30px;
  padding: 1.5rem 2.5rem;
  box-sizing: border-box;
  border: 4px solid #f48fb1;
  background: #fff;
  text-align: center;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.4;
}
.adult-case__title::before{
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: calc(100% - 8px);
  height: calc(100% - 8px);
  border: 4px dotted #f48fb1;
  box-sizing: border-box;
}
.adult-case__number{
  width: fit-content;
  margin: auto;
  margin-top: 10px;
  margin-bottom: 10px;
  padding: 2px 20px;
  background: #f48fb1;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  border-radius: 999px;
}
.adult-case__images{
  width: 90%;
  margin: 0 auto;
}
.adult-case__image{
  display: block;
  width: 100%;
  margin: 0 auto 15px;
}
.adult-case__detail-box{
  width: 90%;
  margin: 0 auto;
  word-break: break-all;
  position: relative;
  z-index: 1;
}
.adult-case__detail-text{
  display: block;
  width: 100%;
  font-size: 12px;
  line-height: 1.8;
  margin-bottom:10px;
}
.adult-case__intro {
  width: 90%;
  margin: 0 auto 30px;
  color: #616161;
  font-size: 14px;
  line-height: 1.8;
}

.adult-case__intro p {
  margin-bottom: 14px;
}

.adult-case__intro p:last-child {
  margin-bottom: 0;
}

/* 子どもの出っ歯症例
=======================================================*/
#child-case{
  padding-top: 20px;
  padding-bottom: 30px;
  background-color: #fff5fc;
  overflow: hidden;

}
.child-case__title{
  position: relative;
  width: 90%;
  margin: 0 auto 30px;
  padding: 1.5rem 2.5rem;
  box-sizing: border-box;
  border: 4px solid #f48fb1;
  background: #fff;
  text-align: center;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.4;
}
.child-case__title::before{
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: calc(100% - 8px);
  height: calc(100% - 8px);
  border: 4px dotted #f48fb1;
  box-sizing: border-box;
}
.child-case__text{
  width: 90%;
  margin: 30px auto 30px;
  line-height: 1.9;
  color: #616161;
}
.child-case__lead{
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 15px;
}
.child-case__text p{
  margin-bottom: 15px;
  line-height: 1.3;
}
.child-case__images{
  width: 90%;
  margin: 0 auto;
}
.child-case__image{
  display: block;
  width: 100%;
  margin: 0 auto 15px;
}
/* アコーディオン */
.child-case__accordion{
  width: 90%;
  margin: 0 auto;
  word-break: break-all;
}
.child-case__accordion-title{
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #eaf9ff;
  padding: 10px;
  cursor: pointer;
}
.child-case__accordion-text{
  width: 90%;
  font-family: "NotoSansJP Medium";
  font-size: 14px;
  line-height: 1.5;
}
.child-case__accordion-arrow{
  width: 15px;
  transition: transform .3s ease-in-out;
}
.child-case__accordion-title.open .child-case__accordion-arrow{
  transform: rotate(-180deg);
}
.child-case__accordion-content{
  display: none;
}
.child-case__accordion-body{
  background: #fff;
  padding: 10px;
  color: #616161;
  font-family: "NotoSansJP Medium";
}
.child-case__detail{
  display: block;
  font-size: 12px;
  line-height: 1.8;
  color: #616161;
}
.child-case__intro {
  width: 90%;
  margin: 0 auto 30px;
  color: #616161;
  font-size: 14px;
  line-height: 1.8;
}

.child-case__intro p {
  margin-bottom: 14px;
}

.child-case__intro p:last-child {
  margin-bottom: 0;
}

.child-case__intro-lead {
  color: #d65f91;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}

.child-case__case-title {
  width: 90%;
  margin: 0 auto 15px;
  color: #616161;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

.child-case__case-title span {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  font-weight: 500;
}
.child-case__point-box{
    width: 90%;
    margin: 30px auto;
    padding: 10px;
    background: #fff9fb;
    border: 1px solid #f6dce7;
    border-radius: 20px;
    box-sizing: border-box;
}
.child-case__point{
    display: flex;
    gap: 15px;
    align-items: center;
    padding: 18px 0;
}
.child-case__point:not(:last-child){
    border-bottom: 1px solid #f6dce7;
}
.child-case__point--lead{
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.child-case__point.child-case__point--lead{
    gap: 0;
}
.child-case__point--lead .child-case__content{
    flex: initial;
}
.child-case__icon{
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
}
.child-case__point--lead .child-case__icon{
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    margin-bottom: 4px;
}
.child-case__icon img{
    display: block;
    width: 70%;
    height: 70%;
    object-fit: contain;
    gap: 0px;
}
.child-case__point--lead .child-case__icon img{
    width: 100%;
    height: auto;
}
.child-case__content{
    flex: 1;
}
.child-case__content h3{
    margin: 0;
    color: #f48fb1;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
}
.child-case__content p{
    margin: 0;
    color: #616161;
    font-size: 12px;
    line-height: 1.3;
}




/* 子どもの出っ歯治療装置
=======================================================*/
.child-note{
    width: 90%;
    margin: 40px auto 0;
    padding: 25px;
    background: #fafafa;
    border: 1px solid #ddd;
    border-radius: 8px;
}
.child-note__head{
    display: table;
    margin: 0 auto 25px;
    padding: 8px 20px;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.4;
    color: #08BE91;
    border-top: 2px solid #08BE91;
    border-bottom: 2px solid #08BE91;
    text-align: center;
}
.child-note__body{
    color: #616161;
    line-height: 1.8;
}
.child-note__item{
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px dashed #ddd;
}
.child-note__item:first-of-type{
    margin-top: 10;
    padding-top: 0;
    border-top: none;
}
.child-note__item h3{
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 500;
    color: #08BE91;
}
.child-note__item p{
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}
.child-note__title{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 500;
    color: #08BE91;
    text-align: center;
}
.child-note__thumb{
    width: 160px;
    height: 120px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
}

/* 出っ歯を治すと人生が変わります
=======================================================*/
.future{
    position: relative;
    overflow: hidden;
    padding-top: 10px;
    padding-bottom: 10px;
}
.future::before,
.future::after{
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 50px;
    z-index: 2;
    pointer-events: none;
}
.future::before{
    top: 0;
    background: linear-gradient(
        to bottom,
        #feffe7,
        rgba(255,249,232,0)
    );
}
.future::after{
    bottom: 0;
    background: linear-gradient(
        to top,
        #f8f9fb,
        rgba(245,245,245,0)
    );
}
.future__image{
    display: block;
    width: 100%;
    box-shadow: 0 0 30px rgba(0,0,0,.08);
}
.future__copy{
    position: absolute;
    top: 50%;
    right: 22%;
    transform: translateY(-50%);
    display: flex;
    gap: 20px;
}
.future__copy-sub{
    writing-mode: vertical-rl;
    font-size: 20px;
    color: #e91e63;
    margin: 0;
}
.future__copy-main{
    writing-mode: vertical-rl;
    font-size: 22px;
    font-weight: 700;
    color: #e91e63;
    margin: 0;
}

/* 院長メッセージ
=======================================================*/
#director-message{
    padding: 60px 0;
    background: #f8f9fb;
}
.director-message__inner{
    width: 90%;
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    padding: 40px 25px;
    box-sizing: border-box;
    box-shadow: 0 5px 20px rgba(0,0,0,.08);
}
.director-message__heading{
    position:relative;
    text-align:center;
}
.director-message__circle{
    position:absolute;

    width:90px;
    height:90px;

    background:#bbdbfb;
    border-radius:50%;

    left:50%;
    transform:translateX(-180px);
    top:-10px;
}
.director-message__title{
    position:relative;
    display:inline-block;
    font-size: 22px;
    font-weight: 500;
    color: #1f3b5b;
}
.director-message__photo{
    text-align: center;
    margin-bottom: 30px;
}
.director-message__photo img{
    width: 220px;
    max-width: 100%;
    border-radius: 50%;
    border: 5px solid #eef3f8;
}
.director-message__content{
    color: #555;
    line-height: 1.5;
    font-size: 15px;
}
.director-message__content p{
    margin-bottom: 20px;
}
.director-message__voice{
    margin: 25px 0;
    padding: 20px;
    background: #f4f8fc;
    border-left: 4px solid #1f3b5b;
    list-style: none;
}
.director-message__voice li{
    margin-bottom: 10px;
    font-weight: 500;
    color: #1f3b5b;
}
.director-message__voice li:last-child{
    margin-bottom: 0;
}
.director-message__name{
    text-align: right;
    margin-top: 40px;
    color: #1f3b5b;
    line-height: 1.8;
}
.director-message__name span{
    font-size: 24px;
    font-weight: 700;
}