@charset "utf-8";

/*====================================================================================================

  歯周病予防

====================================================================================================*/

.about-hdline {
  padding-bottom:1.8rem;
}

@media print,screen and (min-width:641px) {
  .about-photo {
    -webkit-box-ordinal-group:1;
    -ms-flex-order:0;
    order:0;
  }
  
  .about-txt {
    -webkit-box-ordinal-group:2;
    -ms-flex-order:1;
    order:1;
  }
}

@media screen and (max-width:640px) {
  .about-txt {
    padding-bottom:1.5em;
  }
  
  .about-txt .pc-view {
    display:none;
  }
}


/*----------------------------------------------------------------------------------------------------

  症状・予防
  
----------------------------------------------------------------------------------------------------*/
  
@media print,screen and (min-width:641px) {
  .yobo {
    padding-top:72px;
    padding-bottom:72px;
  }
  
  .yobo .s-checkList {
    margin-top:2em;
    padding-bottom:64px;
    max-width:1080px;
    margin-left:auto;
    margin-right:auto;
  }
  
  .yobo .s-checkList li {
    width:-webkit-calc(33.333333% - 8px);
    width:calc(33.333333% - 8px);
    margin-top:0;
  }

  .s-checkList li:nth-child(n+4) {
    margin-top:8px;
  }
  
  .yobo-subHdline {
    padding-bottom:1em;
  }
  
  .yobo p {
    line-height:2;
  }
}

@media screen and (max-width:640px) {
  .yobo {
    padding-top:1.5em;
    padding-bottom:2.5em;
    text-align:left;
  }
  
  .yobo .s-checkList {
    margin-top:1.5em;
    padding-bottom:2em;
  }
  
  .yobo-subHdline {
    padding-bottom:0.75em;
  }
}


/*----------------------------------------------------------------------------------------------------

  治療について
  
----------------------------------------------------------------------------------------------------*/

.chiryo {
  background-color:#d9f1f1;
}

.chiryo-hdline {
  letter-spacing:0;
}

.chiryo-box {
  border-radius:10px;
  background-color:#fff;
}

.chiryo-ttl {
  position:relative;
}

.chiryo-ttl .hdline {
  color:#12aaa5;
  font-weight:500;
  line-height:1.4;
}

.chiryo-ttl .no {
  line-height:1;
  font-weight:900;
  text-align:center;
  padding-bottom:0.3em;
  border-bottom:4px dotted #2fbfbb;
}

.chiryo-ttl .no svg {
  display:inline-block;
  width:1em;
  height:1em;
  overflow:visible;
}

.chiryo-ttl .no text {
  fill:#fff;
  stroke:#12aaa5;
  stroke-width:2;
  stroke-linejoin:round;
}
    
.chiryo-txt p {
  padding-top:0.8em;
  text-align:left;
}

.chiryo-photo.photos {
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  -webkit-box-pack:justify;
  -ms-flex-pack:justify;
  justify-content:space-between;
  -ms-flex-wrap:wrap;
  flex-wrap:wrap;
}


@media print,screen and (min-width:641px) {
  .chiryo {
    padding-top:96px;
    padding-bottom:96px;
  }
  
  .chiryo-cnt {
    padding-top:72px;
    max-width:1140px;
    margin-left:auto;
    margin-right:auto;
  }
  
  .chiryo-cnt .chiryo-box:not(:first-child) {
    margin-top:64px;
  }

  .chiryo-box {
    display:grid;
    display:-ms-grid;
    grid-template-columns:calc(100% - 400px) 400px;
    grid-template-rows:auto auto;
    -ms-grid-columns:-webkit-calc(100% - 400px) 400px;
    -ms-grid-columns:calc(100% - 400px) 400px;
    -ms-grid-rows:auto auto;
  }
  
  .chiryo-ttl {
    grid-column:1 / 2;
    grid-row:1;
    -ms-grid-column:1;
    -ms-grid-row:1;
    text-align:left;
    padding:96px 72px 0 72px;
  }
  
  .chiryo-ttl .no {
    width:96px;
    position:absolute;
    left:40px;
    top:-0.4em;
  }
  
  .chiryo-txt {
    grid-column:1 / 2;
    grid-row:2;
    -ms-grid-column:1;
    -ms-grid-row:2;
    text-align:left;
    padding:0.2em 72px 72px 72px;
  }
  
  .chiryo-photo {
    grid-column:2 / 3;
    grid-row:1 / 4;
    -ms-grid-column:2;
    -ms-grid-row:1;
    -ms-grid-row-span:3;
    padding:56px 56px 56px 0;
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    -webkit-box-align:end;
    -ms-flex-align:end;
    align-items:flex-end;
    -webkit-box-pack:center;
    -ms-flex-pack:center;
    justify-content:center;
  }
  
  .chiryo-photo img {
    width:100%;
    border-radius:8px;
  }
}

@media screen and (max-width:640px) {
  .chiryo {
    padding-top:3em;
    padding-bottom:2.5em;
  }
  
  .chiryo-hdline {
    font-size:1.88em;
  }
  
  .chiryo-cnt {
    padding-top:3em;
  }
  
  .chiryo-cnt .chiryo-box:not(:first-child) {
    margin-top:2.5em;
  }

  .chiryo-box {
    padding:0 1.75em 2em 1.75em;
  }
  
  .chiryo-ttl {
    padding-top:3.75em;
    padding-bottom:1.5em;
  }
  
  .chiryo-ttl .no {
    font-size:2.4em;
    width:2.2em;
    background-size:auto 0.18em;
    position:absolute;
    left:50%;
    top:-0.4em;
    transform:translateX(-50%);
  }
  
  .chiryo-photo img {
    border-radius:5px;
    width:100%;
    max-width:400px;
    height:-webkit-calc(250 / 640 * 100vw);
    height:calc(250 / 640 * 100vw);
    object-fit:cover;
    font-family:"object-fit:cover;"
  }
  
  .chiryo-box--02 .chiryo-photo img {
    height:-webkit-calc(200 / 640 * 100vw);
    height:calc(200 / 640 * 100vw);
  }
  
  .chiryo-txt {
    padding-top:0.5em;
  }
}

@media screen and (max-width:560px) {
  .chiryo-box {
    padding-left:1.5em;
    padding-right:1.5em;
  }
}

@media screen and (max-width:480px) {
  .chiryo-hdline {
    font-size:1.66em;
  }
}


/*----------------------------------------------------------------------------------------------------

  定期健診
  
----------------------------------------------------------------------------------------------------*/

.teikiBox {
  border:2px dotted #f8a828;
  border-radius:10px;
  font-weight:500;
  padding:1.25em;
  margin-bottom:1.5em;
}

.teikiBox b {
  margin-right:0.5rem;
}

@media print,screen and (min-width:641px) {
  .teiki {
    padding-top:72px;
    padding-bottom:72px;
    font-size:1.1em;
  }
  
  .teikiBox {
    max-width:640px;
    margin-left:auto;
    margin-right:auto;
  }
}

@media screen and (max-width:640px) {
  .teiki {
    padding-top:2.5em;
    padding-bottom:2.5em;
  }
}

@media screen and (max-width:480px) {
  .teikiBox {
    font-size:3.6vw;
  }
}

