/* //////////////////////////////////////////// */
/* ///// BOX STYLE //////////////////////////// */
/* //////////////////////////////////////////// */

/* HEADING BOX
=============================================== */
@media screen and (min-width: 768px) {
  .HeadingBox_ h1 { font-size: 30px; font-weight: bold; }
  .HeadingBox_ h2 { font-size: 25px; font-weight: bold; }
  .HeadingBox_ h3 { font-size: 20px; font-weight: bold; }
  .HeadingBox_ h4,.HeadingBox_ h5,.HeadingBox_ h6 { font-size: 18px; font-weight: bold; }
}
@media screen and (max-width: 767px) {
  .HeadingBox_ h1 { font-size: 20px; font-weight: bold; }
  .HeadingBox_ h2,.HeadingBox_ h3,.HeadingBox_ h4,
  .HeadingBox_ h5,.HeadingBox_ h6 { font-size: 18px; font-weight: bold; }
}

/* --- Preset Style --- */
.HdgStyleA_ {
  border-bottom: 3px #3B75BE solid;
  padding: 5px 5px;
  letter-spacing: 2px;
}

.HdgStyleB_ {
  padding: 7px 15px;
  background-color: #e9fbff;
}

.HdgStyleC_ {
  border-bottom: 1px #3B75BE solid;
  padding: 3px;
}

.HdgStyleD_ { padding: 3px 5px; }
.HdgStyleD_ > * {
  border-left: 6px #3B75BE solid;
  padding-left: 10px !important;
}
.HdgStyleD_ h1 {
  letter-spacing: 3px;
}


.HdgStyleE_ {
  margin-bottom: 50px;
  text-align: center;
  letter-spacing: 0.075em;
}
.HdgStyleF_ {
  margin-bottom: 30px;
  text-align: center;
  letter-spacing: 0.075em;
}
/*
 */
.HdgStyleE_ h1,
.HdgStyleF_ h1 {
  display: inline-block;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2em;
  color: #4198d2;
}
.HdgStyleE_ span{
  display: block;
  font-size: 18px;
  font-weight: 200;
  color: #333;
}
@media screen and (max-width: 767px) {
  .HdgStyleE_ {
    margin-bottom: 30px;
  }
  .HdgStyleE_ h1 {
    font-size: 26px;
    line-height: normal;
  }
  .HdgStyleE_ span{
    font-size: 16px;
  }
  
  .HdgStyleF_ {
    margin-bottom: 30px;
  }
  .HdgStyleF_ h1 {
    font-size: 26px;
  }
}


/* 見出し
--------------------------- */
.HdgStyleE_ h1{
  position: relative;
  color: #4198d2;
}
.HdgStyleE_ h1::after{
  content: "";
  position: absolute;
  top: 52%;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: #f0dd7c;
}
.HdgStyleE_ span{
  margin-top: 20px;
  color: #444444;
  font-weight: normal;
}
@media (max-width: 768px){
  .HdgStyleE_ h1::after{
    content: "";
    position: absolute;
    top: 52%;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #f0dd7c;
  }
}

/* IMAGE BOX
=============================================== */
img.ImgBorderA_ { margin: 3px; border: 1px #ccc solid; padding: 1px; }
img.ImgBorderB_ { margin: 3px; border: 5px #fff solid; box-shadow: 0 0 2em rgba(0,0,0,.75); }

a:hover img.ImgHover_ { opacity: 0.7; }

/* BUTTON BOX
=============================================== */
/* --- Preset Style --- */
a.BtnStyleA_ {
  border-radius: 50vw;
  padding: 10px 0;
  background: #4298d3  url(/img/fm/ask01/style/btn-arrow.png) 95% center / 8px no-repeat;
  font-size: 18px;
  font-weight: bold;
  color: #fff;
}
a.BtnStyleA_:hover {
  background-color: #004a9f;
  text-decoration: none;
}

a.BtnStyleB_ {
  border-radius: 50vw;
  padding: 10px 0;
  background: #4298d3  url(/img/fm/ask01/style/bk-arrow.png) 5% center / 8px no-repeat;
  font-size: 18px;
  font-weight: bold;
  color: #fff;
}
a.BtnStyleB_:hover {
  background-color: #004a9f;
  text-decoration: none;
}

/* 訪問診療セクションのボタン
   BtnStyleC_を利用 */
@media screen and (min-width: 768px) {
  #pb_visit {
    margin: 0 auto;
    width: 600px;
  }
}
@media screen and (max-width: 767px) {
  #pb_visit {
    margin: 0 auto;
    width: 100%;
  }
}
a.BtnStyleC_ {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 20px;
  padding: 0 0 0 30px;
  width: 300px;
  height: 70px;
  background-color: #4298d3;
  font-size: 18px;
  font-weight: bold;
  color: #fff;
}
a.BtnStyleC_ span{
  display: inline-block;
  font-size: 11px;
  font-weight: normal;
}
.TelBtn a.BtnStyleC_ {
  background: #4298d3 url(/img/fm/ask01/style/btn-tel.png) 30px center / 32px no-repeat;
}
.PdfBtn a.BtnStyleC_ {
  background: #4298d3 url(/img/fm/ask01/style/btn-pdf.png) 30px center / 32px no-repeat;
}
a.BtnStyleC_:hover {
  background-color: #004a9f;
  text-decoration: none;
}

a.BtnStyleD_ {
  border-radius: 50vw;
  padding: 10px 0;
  background-color: #4298d3;
  text-indent: -10px;
  font-size: 18px;
  font-weight: bold;
  color: #fff;
}
a.BtnStyleD_:hover {
  background-color: #004a9f;
  text-decoration: none;
}

/* TABLE BOX
=============================================== */
.TableBox_ table caption { font-weight: bold; }

table.ThW40P th { width: 40% !important; }
table.ThW50P th { width: 50% !important; }

/* --- Preset Style --- */
table.TblStyleA_ th {
  border: 1px #ccc solid;
  width: 35%;
  background-color: #f5f5f5;
  text-align: left;
}
table.TblStyleA_ td { border: 1px #ccc solid; }

table.TblStyleB_ tr { border-bottom: 1px #4298d3 dotted; }
table.TblStyleB_ th {
  padding: 15px 20px 15px 40px;
  width: 30%;
  text-align: left;
}
@media screen and (max-width: 767px) {
  table.TblStyleB_ th {
    padding: 15px 0px 15px 5px;
    width: 180px;
    white-space: nowrap;
  }
}

table.TblStyleC_ tr { border-bottom: 1px gray dotted; }
table.TblStyleC_ th { width: 30%; background-color: #f5f5f5; }

table.TblStyleD_ tr:nth-child(even) { background-color: #f5f5f5; }
table.TblStyleD_ tr:nth-child(odd) { background-color: #fff; }
table.TblStyleD_ th { width: 25%; text-align: center; }
table.TblStyleD_ td { text-align: left; }

table.TblStyleE_ { border: 1px #ccc solid; }
table.TblStyleE_ th { border: 1px #ccc solid; background-color: #f5f5f5; white-space: nowrap;  text-align: left; }
table.TblStyleE_ td { border: 1px #ccc solid; }

table.TblStyleF_ { border: 1px #ccc solid; }
table.TblStyleF_ th { width: 25%;  border: 1px #ccc solid; background-color: #f5f5f5; white-space: nowrap;  text-align: left; }
table.TblStyleF_ td { border: 1px #ccc solid; }

/* TEXT BOX
=============================================== */
/* 矢印リンク
--------------------------- */
.ArrowLinkR_ { margin: 0; padding: 0; overflow: hidden; }
.ArrowLinkR_ a {
  float: right;
  display: inline-block;
  margin: 0 5px 0 0;
  padding: 0 0 0 15px;
  background: url(/img/fm/ask01/style/link-arrow.png) 0px 4px no-repeat;
}

.ArrowLinkL_ { margin: 0; padding: 0; overflow: hidden; }
.ArrowLinkL_ a {
  float: left;
  display: inline-block;
  margin: 0 0 0 5px;
  padding: 0 0 0 15px;
  background: url(/img/fm/ask01/style/link-arrow.png) 0px 4px no-repeat;
}

/* LIST STYLE
--------------------------- */
/* 丸チェック */
ul.ListCheckA_{ margin: 0 0 20px 10px; padding: 0; list-style: none; }
ul.ListCheckA_ li { position: relative; margin-bottom: 10px; padding: 5px 0 5px 30px; }
ul.ListCheckA_ li:before {
  position: absolute;
  top: 50%; left: 0;
  margin-top: -12px;
  border-radius: 50%;
  width: 24px; height: 24px;
  background: #8b1129 url(/img/com/ps01/check-mark-circle.png) left center no-repeat;
  background-size: 24px;
  content: "";
}

/* 四角チェック */
ul.ListCheckB_ { margin: 0 0 20px 10px; padding: 0; list-style: none; }
ul.ListCheckB_ li {
  margin-bottom: 10px;
  padding: 5px 0 5px 30px;
  background: url(/img/com/ps01/check-mark-square.png) left center no-repeat    ;
  background-size: 24px;
}

/* 丸ナンバー */
ol.ListNumA_ { margin: 0 0 20px 10px; padding: 0; counter-reset:number; list-style:none; }
ol.ListNumA_ li { 
  position: relative;
  margin: 10px 0;
  padding: 10px 0 10px 50px;
  font-size: 20px;
}
ol.ListNumA_ li:before {
  position: absolute;
  top: 50%; left: 0;
  margin-top: -20px;
  border-radius: 50%;
  width: 40px; height: 40px;
  background-color: #29c4a0;
  text-align: center;
  line-height: 40px;
  font-weight: bold;
  color: #fff;
  counter-increment: number;
  content: counter(number);
}
/* 四角ナンバー */
ol.ListNumB_ { margin: 0 0 20px 10px; padding: 0; counter-reset:number; list-style:none; }
ol.ListNumB_ li { position: relative; margin: 5px 0; padding: 10px 0 10px 50px; font-size: 20px; }
ol.ListNumB_ li:before {
  position: absolute;
  top: 50%; left: 0;
  margin-top: -20px;
  border-radius: 5px;
  width: 40px; height: 40px;
  background-color: #6dcff6;
  text-align: center;
  line-height: 40px;
  font-weight: bold;
  color: #fff;
  counter-increment: number;
  content: counter(number);
}

/* リスト背景色 */
ul.ListBgColor_,ol.ListBgColor_ {
  border-radius:10px;
  padding: 20px;
  background-color: #f5f5f5;
}
.ListBgColor_ li { margin: 0 0 10px 30px; }
.ListBgColor_ > :last-child { margin-bottom: 0; }

/* 行間多め */
.ListMgnB15_ li,.ListMgnB15 li { margin-bottom: 15px; }

/* リストマークなし */
.ListStyleNone_,.ListStyleNone { margin: 0; padding: 0; list-style: none; }

/* BLOCKQUOTE
--------------------------- */
.TextBox_ blockquote {
  display: block;
  margin: 0px auto;
  border: 1px dotted #ccc;
  border-radius:10px;
  padding: 10px;
  font-size:12px;
}

.Indent p {
  text-indent:1em;
}

/* //////////////////////////////////////////// */
/* ///// PROPERTY ///////////////////////////// */
/* //////////////////////////////////////////// */

/* フォントカラー */
.FntColorA_ { color: #4f89c7 !important; }
.FntColorB_ { color: crimson !important; }
.FntColorC_ { color: #fff !important; }
.FntColorD_ { color: #444 !important; }
.FntColorE_ { color: #0082b5 !important; }

/* 背景色 */
.BgColorA_ { background-color: #f0f0f0 !important; }
.BgColorB_ { background-color: #e7f8f8 !important; }
.BgColorC_ { background-color: #ffffff !important; }
.BgColorD_ { background-color: #4f89c7 !important; }
.BgColorE_ { background-color: #1e2d3c !important; }

/* BOXの影 */
.ShadowA_ { box-shadow: 1px 1px 5px 1px rgba(0,0,0,0.1); }
.ShadowB_ {
  box-shadow: 8px 8px #52c8aa;
}

/* 線の色 */
.Bdr_,.BdrT_,.BdrB_,.BdrTB_,.BdrL_,.BdrR_,.BdrLR_ { border-color: #ccc; }
.Dotted_ { border-color: gray; }
.Dashed_ { border-color: #ccc; }

.BdrColorA_ { border-color: #29c4a0 !important; }

/* //////////////////////////////////////////// */
/* ///// SET BOX STYLE //////////////////////// */
/* //////////////////////////////////////////// */

/* SET BOX HEADING
--------------------------- */
.SetBox_ .HeadingBox_ > * { font-weight: bold; }

/* SET STYLE
--------------------------- */
/* 一覧スタイルA */
.SetListStyleA {
  clear: both;
  margin-bottom: 15px;
  padding: 0 0 15px;
}
.SetListStyleA .ImageBox_ img { max-width: 280px; }
.SetListStyleA .HeadingBox_ a { color: #444; }

@media screen and (min-width: 768px) {
  /* 一覧スタイルA */
  .SetListStyleA { overflow: hidden; }
  .SetListStyleA .ImageBox_ {
    float: left;
    box-sizing: border-box;
    margin: 0;
    width: 300px;
  }
  .SetListStyleA .TextArea_ {
    float: left;
    box-sizing: border-box;
    width: calc(100% - 300px);
  }

  /* 高さ揃え */
  .HeightL .CB_ { min-height: 500px; }
  .HeightM .CB_ { min-height: 400px; }
  .HeightS .CB_ { min-height: 260px; }

  /* 高さ揃え時ボタンを下部中央に配置 */
  .HeightL .SetBox_ .ButtonBox_,
  .HeightM .SetBox_ .ButtonBox_,
  .HeightS .SetBox_ .ButtonBox_ {
    position: absolute;
    bottom: 10px; left: 0; right: 0;
    margin: 0 auto;
    padding: 0 10px;
  }

  /* フロート画像を縮小しボタンを下部に配置 */
  .SetFImageStyleA .SetBox_ { height: 300px; overflow:hidden; }
  .SetFImageStyleA .SetBox_ .TextBox_ img { max-width: 40%; max-height: 150px; }
  .SetFImageStyleA .SetBox_ .ButtonBox_ {
    position: absolute;
    bottom: 10px; left: 0; right: 0;
    margin: 0 auto;
    padding: 0 10px;
  }

  /* ImageBoxとTableBoxの表示幅比率 */
  .Image25Table70 .ImageBox_ { width: 25%; }
  .Image25Table70 .TableBox_ { width: 70%; }
}
@media screen and (max-width: 767px) {
  /* 一覧スタイルA */
  .SetListStyleA .HeadingBox_ { text-align: center; }
  .SetListStyleA .HeadingBox_ a { text-decoration: underline; }
}

/* //////////////////////////////////////////// */
/* ///// STYLE INPUT  ///////////////////////// */
/* //////////////////////////////////////////// */
.Mgn0 { margin: 0 !important; }

/* -- SMP -- */
@media screen and (max-width: 767px) {
  .TableBoxScroll {
    max-width: 100%;
    overflow: auto;
  }
}

/* 活動内容 */
.DotBdrB {
  border-bottom: 3px dotted #CCC;
}

.NewRelease {
  display: inline-block;
  margin-left: 10px !important;
  padding: 2px 5px !important;
  border: 1px solid red;
  animation: blink 1s ease-in-out infinite alternate;
  font-size: 11px;
  color: red;
}
@keyframes blink {
    0% {opacity: 0;}
  100% {opacity: 1;}
}

