@charset "utf-8";

img {
  vertical-align: bottom;
}
.bld {
  font-weight: bold;
}
.center {
  text-align: center;
}
.right {
  text-align: right;
}
section {
  margin-bottom: 50px;
}
#restorative {
  font-size: 100%;
  background-color: #fff;
  padding: 50px calc((100% - 980px) / 2);
}
#restorative #head h1 {
  text-align: center;
  margin-bottom: 40px;
}
#restorative #head .ttl {
  max-width: 600px;
  width: 90%;
  margin: 0 auto;
}
#restorative #head .about {
  padding: 0;
  margin: 30px 0;
  border: solid 6px #214a9d;
  display: flex;
  align-items: center;
}
#restorative #head h2 {
  font-size: 120%;
  color: #214a9d;
  margin: 0 40px 0 0;
  padding: 20px 40px;
}
#restorative #head p {
  margin: 0;
}
#restorative #body {
  background-color: #f9f9f9;
  font-size: 120%;
  padding: 30px 0;
}
#restorative #body .inner {
  padding: 0 80px;
  background-color: #f9f9f9;
  color: #666;
}
#restorative #body h2 {
  text-align: center;
  margin-bottom: 40px;
  color: #2767ac;
  font-size: 26px;
}
#restorative #body h3 {
  margin: 40px 0;
  padding: 0 0 10px 0;
  border-bottom: solid 3px #2767ac;
  font-size: 130%;
  font-weight: normal;
}
#restorative #body p {
  line-height: 1.8;
}
#restorative #gaiyo {
  border: solid 4px #54a5ed;
  background-color: #fff;
  padding: 60px 60px 30px;
}
#restorative #gaiyo h4 {
  color: #54a5ed;
  text-align: center;
  margin: 0 0 40px 0;
  font-size: 120%;
}
#restorative #gaiyo .gaiyo {
  margin: 40px 0;
  border-bottom: solid 1px #ccc;
}
#restorative #gaiyo .gaiyo dt,
#restorative #gaiyo .gaiyo dd {
  padding: 20px 0;
}
#restorative #gaiyo .gaiyo dt {
  border-top: solid 1px #ccc;
  float: left;
  width: 20%;
  color: #54a5ed;
  font-weight: bold;
  text-align: center;
}
#restorative #gaiyo .gaiyo dd {
  border-top: solid 1px #ccc;
  margin-left: 20%;
}
#restorative #gaiyo figure {
  text-align: center;
}
#restorative #gaiyo .chu {
  background-color: #f3f3f3;
  font-size: 90%;
  padding: 20px;
}
#restorative #gaiyo p:last-child {
  text-align: center;
  font-size: 140%;
  color: #54a5ed;
  font-weight: bold;
}
#restorative .access dt,
#restorative .access dd {
  padding: 10px 0;
}
#restorative .access dt {
  float: left;
  width: 20%;
  color: #54a5ed;
  font-weight: bold;
  text-align: center;
}
#restorative .access dd {
  margin-left: 20%;
}
#restorative .topics {
  padding: 10px;
  text-align: center;
  border: solid 1px #ec9800;
  font-weight: bold;
  background-color: #fff09e;
}
.foot-link {
  font-size: 90%;
  background-color: #ddd;
  border-radius: 10px;
  padding: 20px;
  margin: 50px 0 20px;
}
.foot-link li {
  margin: 10px;
  list-style-type: disc;
}

/* PC ------------------------------------------------------- */
@media only screen and (min-device-width: 641px),
  only screen and (min-device-width: 668px),
  only screen and (min-width: 481px) {
  .sp_only {
    display: none;
  }
}

/* SP ------------------------------------------------------- */
@media only screen and (max-device-width: 640px),
  only screen and (max-device-width: 667px),
  only screen and (max-width: 480px) {
  .pc_only {
    display: none;
  }
  #restorative #head .about {
    display: block;
    padding: 3vw;
  }
  #restorative #head h2,
  #restorative #head p {
    margin: 0;
    padding: 0;
  }
  #restorative #body,
  #restorative #gaiyo {
    padding: 3vw;
  }
  #restorative #body .inner {
    padding: 0 3vw;
  }
  #restorative #gaiyo h4 {
    margin-bottom: 10px;
  }
  #restorative #gaiyo .gaiyo dt,
  #restorative #gaiyo .gaiyo dd {
    padding: 4px;
    margin: 0;
    width: 100%;
    float: none;
    border: none;
    text-align: left;
  }
  #restorative #gaiyo .gaiyo dd {
    border-bottom: solid 1px #ccc;
    padding-top: 0;
  }
  #restorative #gaiyo .chu ul {
    margin: 10px 0 0 10px;
    padding: 0;
  }
  #restorative .access dt,
  #restorative .access dd {
    padding: 0;
  }
  #restorative .access dt {
    float: none;
    width: 100%;
    text-align: left;
  }
  #restorative .access dd {
    margin: 0 0 10px 0;
  }
}
