@charset "UTF-8";
*, *:before, *:after {
  box-sizing: border-box;
}
p, h2, h3, h4, h5, li, th, td {
  text-align: justify;
  text-justify: inter-ideograph;
}
h1, h2, h3, h4, h5, p, li, th, td {
  color: #4D4D4D;
  font-size: 15px;
}
strong {
  font-weight: bold;
}
article {
  overflow-x: hidden;
}
.sub-content .inner {
  width: calc(100% - 32px);
  padding: 80px 0;
  margin: auto;
}
.inner p {
  margin-bottom: 16px;
}
.inner p + p {
  margin-top: -16px;
}
.inner > img {
  margin-bottom: 40px;
}
.sub-content .inner > *:last-child, .sub-content .inner div *:last-child {
    margin-bottom: 0;
}
.bgcolor0 {
  background-color: #fff;
}
.bgcolor2 {
  background-color: #fcf9ef;
}
.bgcolor3 {
  background-color: #f8f8f8;
}
.title-box {
  background-color: #f9f8f8;
  padding: 16px 0;
}
h1, h2 {
  font-size: 35px;
  font-weight: bold;
  text-align: center;
}
h2 {
  margin-bottom: 80px;
}
.e-sentence {
  color: #8a8047;
  text-align: center;
  line-height: 1;
}
h2 + .e-sentence {
  margin-top: -80px;
  margin-bottom: 80px;
}
h3 {
  color: #777;
  font-size: 28px;
  font-weight: bold;
  border-bottom: 1px solid #777;
  padding-bottom: .3em;
  margin-bottom: 1em;
}
h4 {
  color: #0f3b5d;
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 1em;
}
h5 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 1em;
}
.main-visual {
  min-height: 560px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 80px 0;
}
.main-visual-inner {
  max-width: 1000px;
  width: calc(100% - 32px);
  margin: auto;
}
.main-visual-content {
  max-width: 500px;
  float: right;
}
.main-visual h2 {
  font-size: 35px;
  line-height: 1.4;
  font-weight: bold;
  text-align: left;
  text-shadow: 2px 0px 3px #fff, 0px 2px 3px #fff, -2px 0px 3px #fff, 0px -2px 3px #fff;
  margin-bottom: 16px;
}
.main-visual p {
  text-shadow: 2px 0px 3px #fff, 0px 2px 3px #fff, -2px 0px 3px #fff, 0px -2px 3px #fff;
}
.container, .w-container, .f-container, .flow-container {
    margin-bottom: 40px;
}
.f-container {
    display: flex;
    justify-content: space-between;
    counter-reset: fc;
}
.f-item {
    flex: 1 1 auto;
    flex-basis: 0;
    margin-bottom: 0;
}
.f-item:not(:first-of-type) {
    margin-left: 40px;
}
.f-item img {
    max-width: 100%;
    margin: 0 auto 40px;
}
.w-container {
  background-color: #fff;
  padding: 40px;
}
.flow-container {
  background-color: #fff;
  padding: 56px 124px 80px;
  counter-reset: flow-counter;
}
.flow-container-inner {
  padding: 0 40px;
}
.flow-item {
  border: 1px solid #0f3b5d;
  padding: 0px 40px 32px;
  background-color: #fff;
  counter-increment: flow-counter;
  position: relative;
  margin-bottom: 60px;
}
.flow-container .flow-item:not(:last-of-type):after {
  content: "";
  display: block;
  width: 62px;
  height: 50px;
  background-image: url(../img/allow.gif);
  position: absolute;
  bottom: -56px;
  left: 50%;
  transform: translateX(-50%);
}
.flow-item .flow-h {
  color: #777;
  font-size: 20px;
  font-weight: bold;
  line-height: 1;
  margin: 40px 0 24px 96px;
}
.flow-item .flow-h:before {
  content: "Flow";
  position: absolute;
  display: inline-block;
  min-width: 80px;
  min-height: 80px;
  border: 1px solid #0f3b5d;
  top: -20px;
  left: 40px;
  background-color: #fff;
  color: #0f3b5d;
  font-weight: bold;
  text-align: center;
  padding-top: 8px;
}
.flow-item .flow-h:after {
  content: "0"counter(flow-counter);
  position: absolute;
  color: #0f3b5d;
  font-size: 48px;
  font-weight: bold;
  top: 10px;
  left: 56px;
  font-family: serif;
}
.flow-item img {
  float: right;
  max-width: 30%;
  margin-left: 24px;
}
.linemidtb, .flow-container .flow-title {
  color: #0f3b5d;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  letter-spacing: 0.1em;
  border-top: 1px solid #0f3b5d;
  border-bottom: 1px solid #0f3b5d;
  padding: 16px;
  margin-bottom: 40px;
}
table.base {
  width: 100%;
  border-top: 1px solid #ddd;
  border-left: 1px solid #ddd;
  margin-bottom: 24px;
}
.base th, .base td {
  background-color: #fff;
  border-bottom: 1px solid #ddd;
  border-right: 1px solid #ddd;
  padding: 24px;
}
.base th {
  background-color: #f8f8f8;
}
table + .table-note {
  margin-top: -16px;
  margin-bottom: 40px;
}
.sub-content .max777, .sub-content .max856, .sub-content .max900, .sub-content .max1000, .sub-content .max1200 {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.sub-content .max1000 {
  max-width: 1000px;
}
.sub-content .max777 {
  max-width: 777px;
}
.sub-content .max856 {
  max-width: 856px;
}
.sub-content .max900 {
  max-width: 900px;
}
.sub-content .w100 {
  width: 100vw;
  max-width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}
.dm-container {
    counter-reset: dm-counter;
}
.dm-item {
    background-color: #fff;text-align: -webkit-center;
    border-radius: 24px;
    padding: 72px 0 56px;
    margin-top: 32px;
    position: relative;
}
.demerit .dm-item {
    border: 1px solid #0f3b5d;
}
.dm-item:before {
    content: "メリット";
    min-width: 72px;
    min-height: 72px;
    background-color: #0f3b5d;
    color: #fff;
    display: block;
    text-align: center;
    padding-top: 10px;
    position: absolute;
    top: -32px;
    left: 50%;
    transform: translateX(-50%);
}
.demerit .dm-item:before {
    color: #0f3b5d;;
    background-color: #fff;
    border: 1px solid #0f3b5d;
}
.dm-item:after {
    content: counter(dm-counter);
    counter-increment: dm-counter;
    color: #fff;
    font-size: 40px;
    font-family: serif;
    display: inline-block;
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
}
.demerit .dm-item:before {
    content: "デメリット";
    color: #0f3b5d;
    letter-spacing: -2px;
}
.demerit .dm-item:after {
    color: #0f3b5d;
}
.dm-item-inner {
    padding: 0 40px;
}
.dm-item-inner h3 {
    border: none;
    padding: 0;
}
footer .clinic {
  background-attachment: scroll;
}
.naibulink{
text-decoration:underline;	
}
@media screen and (max-width: 767px) {
.sub-content .inner {
  width: 100%;
  padding: 40px 16px;
}
.inner img {
  max-width: 100%;
}
.inner .sp100 {
  max-width: none;
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}
.fl-r, .fl-l {
  float: none;
}
h1 {
  font-size: 30px;
}
.main-visual {
  min-height: auto;
  padding: 250px 16px 0;
}
.main-visual-inner {
  background-color: rgba(255, 255, 255, .8);
  width: 100%;
  padding: 16px;
}
.main-visual-content {
  max-width: 100%;
  float: none;
}
.main-visual h2 {
  font-size: 23px;
  text-shadow: none;
}
h2 {
  font-size: 23px;
  margin-bottom: 40px;
}
h2 + .e-sentence {
  margin-top: -40px;
  margin-bottom: 40px;
}

h3 {
  font-size: 22px;
}
.base th, .base td {
  padding: 8px;
}
.main-visual p {
  text-shadow: none;
}
.flow-container {
  padding: 40px 24px;
}
.flow-container-inner {
  padding: 0 16px;
}
.flow-item {
  padding: 0 16px 16px;
  margin-bottom: 80px;
}
.flow-item .flow-h {
  margin: 0 0 16px;
}
.flow-item .flow-h:before, .flow-item .flow-h:after {
  left: 50%;
  transform: translateX(-50%);
}
.flow-item img.sp-only {
  float: none;
  display: block;
  margin: 80px auto 16px;
}
.sub-content .max777, .sub-content .max856, .sub-content .max900, .sub-content .max1000, .sub-content .max1200 {
  max-width: 100%;
}
.w-container {
  padding: 24px 16px;
}
.f-container {
  display: block;
}
.f-item:not(:first-of-type) {
  margin: 24px auto 0;
}
.f-item img {
    max-width: 100%;
    margin: 0 auto 24px;
}
.container, .w-container, .f-container {
  margin-bottom: 24px;
}
.dm-item {
    border-radius: 12px;
    padding: 56px 16px 16px;
}
.dm-container .dm-item {
    margin: 56px auto 0;
}
.dm-item-inner {
    padding: 0;
}
#spgnav-wrap {
  overflow: auto;
}
#spgnav-wrap *, #spgnav-wrap *:before, #spgnav-wrap *:after {
  box-sizing: content-box;
  text-align: center;
}
#spgnav-wrap table span:before {
  line-height: 0;
}
#spgnav-wrap #spgnav-panel {
  overflow: auto !important;
}
.headerbox-item {
  text-align: left;
}


}