@charset "UTF-8";
/* default_legacy.cssを水道橋病院センター用に上書き（下層ページ専用）
------------------------------------------------------------------------------------*/
#header .layoutBox {
  display: none !important;
}

#footer {
  margin-top: 80px;
}

h2,
h3,
h4,
h5 {
  border-color: #77665a;
}

h3 {
  border-bottom: none;
  padding-left: 15px;
  padding-top: 5px;
  padding-bottom: 5px;
  border-left: #77665a solid 5px;
  position: relative;
}
h3::after {
  content: "";
  display: block;
  background: #ae9364;
  width: 5px;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
}

h4 {
  border-bottom: none;
  padding-left: 15px;
  border-left: #ae9364 solid 4px;
  position: relative;
}
h4::before {
  background-color: #f99;
}
h4::after {
  content: "";
  display: block;
  background: #dfcdae;
  width: 5px;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
}

h3.accordionBtn,
h4.accordionBtn {
  padding-left: 15px;
}

h5 {
  border-left: #ae9364 solid 5px;
}

.content .linkBtn:not(.gray) a {
  background-color: rgba(255, 255, 255, 0.5);
  color: #fff !important;
}
.content .linkBtn:not(.gray) a:hover {
  background-color: #eee;
}

.breadcrumb-wrap {
  background: none;
  padding: 18px 5px 12px;
}

.breadcrumb li a,
.breadcrumb li a span {
  color: #3e332b;
}

ul.typeDisc li:before {
  background-color: #cbb287;
}

.qaListArea dl dt {
  border-color: #221b17;
}

.qaListArea dl dt:before {
  color: #221b17;
  font-family: "ヒラギノ明朝 ProN W3", "HiraMinProN-W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "MS PMincho", "MS 明朝", serif;
}

.qaListArea dl dd:before {
  color: #928265;
  font-family: "ヒラギノ明朝 ProN W3", "HiraMinProN-W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "MS PMincho", "MS 明朝", serif;
}

.skinTdcSh .sitemapMenu ul {
  margin-top: 0;
  margin-bottom: 0;
}

/* 下層共通
------------------------------------------------------------------------------------*/
main {
  background: url(../images/common/bg_content.png) 0 0 repeat-x;
}

.content {
  padding: 60px 20px 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.03) 0%, rgba(255, 255, 255, 0) 50px, rgba(255, 255, 255, 0) 100%);
}
.content p {
  margin-bottom: 15px;
}
.content p ul:not([class]),
.content p ol:not([class]) {
  margin-top: 7px;
  margin-bottom: 15px;
}
.content p ul:not([class]) {
  list-style-type: disc;
  padding: 0.5em 0 1em 2em;
}
.content p li {
  margin-bottom: 5px;
}

.content-wrapper {
  max-width: 1040px;
  margin: 0 auto;
  display: flex;
  padding: 0 30px 30px;
}

.main-content {
  padding: 20px;
  background: url(../images/common/bg_contentTop_under.png) 0 0 no-repeat;
  background-size: contain;
  width: calc(100% - 210px - 20px);
  margin-right: 20px;
}
.main-content.wide-content {
  background-image: url(../images/common/bg_contentTop_under_large.png);
  width: 100%;
  margin-right: 0;
}

.side-content {
  width: 210px;
}

.slider-banner-wrapper {
  padding: 30px 30px 0;
}

ol {
  font-size: 14px;
}
ol li {
  margin-bottom: 5px;
}

ol.common-list {
  counter-reset: my-counter;
  list-style: none;
  padding: 0;
}
ol.common-list li {
  font-size: 13px;
  margin-bottom: 5px;
  padding-left: 20px;
  position: relative;
}
ol.common-list li:before {
  content: counter(my-counter);
  counter-increment: my-counter;
  border: 1px solid #333;
  color: #333;
  display: block;
  float: left;
  line-height: 14px;
  margin-left: -20px;
  text-align: center;
  height: 14px;
  width: 14px;
  border-radius: 50%;
  font-size: 11px;
  margin-top: 2px;
  padding-left: 1px;
}

/* 見出し
----------------------------*/
.heading-site-title-ruby {
  font-size: 12px;
  display: block;
  margin-top: 35px;
  margin-bottom: 0.5em;
  padding-left: 36px;
  color: #999;
}

.heading-site-title-ruby + .heading-site-title {
  margin-top: 0;
}

.heading-site-title-tel {
  display: block;
  font-size: 25px;
  margin: -15px 0 0;
  padding: 0 0 0 58px;
  color: #ae9364;
  background: url("../images/common/ico_contact.png") 30px 5px no-repeat;
}

.heading-site-title {
  margin: 50px 0 15px;
  padding: 0 24px;
  font-size: 30px;
  font-weight: normal;
  line-height: 1.2;
}

.heading-lg {
  margin: 50px 0 15px;
  padding: 0 0 4px;
  font-size: 22px;
  line-height: 1.2;
  border-bottom: 5px solid #77665a;
}

.heading-md {
  margin: 30px 0 10px;
  padding: 5 0 5 15px;
  font-size: 17px;
  line-height: 1.2;
  border-bottom: none;
  border-left: #77665a solid 5px;
  position: relative;
}

.heading-sm {
  margin: 20px 0 10px;
  padding: 1px 0 0 15px;
  font-size: 115%;
  line-height: 1.2;
  border-left: 5px solid #ae9364;
  position: relative;
  border-bottom: none;
}
.heading-sm::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  display: block;
  background: #f99;
}
.heading-sm::after {
  content: "";
  display: block;
  background: #dfcdae;
  width: 5px;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
}

.img-map {
  position: relative;
  z-index: 1;
}
.img-map svg {
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100%;
}

/* 下層個別指定
------------------------------------------------------------------------------------*/
/* 初めて受診する方
----------------------------*/
.receptionFlow {
  margin: 0 -8px 15px;
}

/* 採用情報
----------------------------*/
.content-recruit {
  padding: 0;
}

/* 歯科のはなし
----------------------------*/
.story-wrapper .side-in-content {
  display: flex;
}
.story-wrapper .side-in-content .content {
  width: calc(100% - 210px - 20px);
  margin-right: 20px;
}
.story-wrapper .story-title {
  margin-bottom: 22px;
}

/* contents-historyTable */
table.tblBox.historyTable {
  width: 100%;
  border-spacing: 0 1px;
  border-collapse: separate;
}

table.tblBox.historyTable th,
table.tblBox.historyTable td {
  padding: 12px 15px;
  border: none;
  border-bottom: 1px solid #ddd;
}

table.tblBox.historyTable .headerRow th {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0) 100%);
}

.historyTable .modalMotion a {
  position: relative;
  display: block;
  max-width: 200px;
  border: #333 solid 1px;
}

.historyTable .modalMotion a:before {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 18px;
  height: 18px;
  content: "";
  background: url(../images/common/ico_plus.jpg) 0 0 no-repeat;
}

/* Media Query
------------------------------------------------------------------------------------*/
/* 768px~1080px
----------------------------*/
@media screen and (min-width: 768px) and (max-width: 1080px) {
  .main-content {
    margin-right: 20px;
  }
}
/* 767px
----------------------------*/
@media screen and (max-width: 767px) {
  #footer {
    margin-top: 30px;
  }

  .breadcrumb-wrap {
    padding: 0;
  }

  .breadcrumb {
    padding: 5px 10px;
  }

  /* 下層共通
----------------------------*/
  .content {
    overflow-wrap: break-word;
    padding: 30px 0 0;
  }
  .content p {
    font-size: 13px;
  }
  .content a {
    font-size: 13px;
  }
  .content ul:not([class]),
  .content ol:not([class]) {
    margin-bottom: 15px;
  }

  .content-wrapper {
    width: 100%;
    display: block;
    padding: 0;
  }

  .main-content {
    background: linear-gradient(to bottom, rgba(240, 238, 229, 0.8) 0%, white 3%);
    width: 100%;
    padding: 20px 6%;
    margin-right: 0;
  }

  .side-content {
    width: 100%;
    margin-right: 0;
    padding: 0 6%;
  }

  /* 見出し
----------------------------*/
  .heading-site-title-ruby {
    padding-left: 12px;
  }

  .heading-site-title-tel {
    font-size: 23px;
    padding: 0 0 0 33px;
    background-position: 5px 5px;
  }

  .heading-site-title {
    font-size: 24px;
    padding: 0;
    margin-top: 20px;
  }

  .heading-lg {
    font-size: 17px;
    margin: 20px 0;
  }

  .heading-md {
    font-size: 16px;
    margin: 20px 0;
  }

  .heading-sm {
    font-size: 16px;
  }

  /* 初めて受診する方
  ----------------------------*/
  .receptionFlow {
    margin: 0 0 15px;
  }

  	/* 歯科のはなし
  ----------------------------*/
  .story-wrapper {
    padding-top: 0;
  }
  .story-wrapper .side-in-content .content {
    width: 100%;
    margin-right: 0;
  }
  .story-wrapper .side-in-content {
    display: block;
  }
  .story-wrapper .side-content {
    padding: 0;
  }
}
