@charset "utf-8";

iframe {
    display: block;
    margin: 10px auto;
}
p.imgarea.caption img {
  width: 500px;
  margin: 0 auto 5px;
}

p.imgarea.caption {
  font-size: 10px;
}

.tx_link {
    text-align: center;
    text-decoration: underline;
        }

.box-head {
    padding: 20px 15px 10px;
    text-align: center;
}
.topbox img {
    width: 100%;
    height: auto;
}
.caption {
    overflow-x: scroll;
    overflow-y: hidden;
    white-space: nowrap;
    scrollbar-width: thin;
    scrollbar-color: #C0C0C0 #eee;
    display: block;
    width: 100%;
  margin: 10px auto;
}
.caption::-webkit-scrollbar-thumb {
    border-radius: 5px;
    background: #C0C0C0;
}
.caption::-webkit-scrollbar {
    height: 5px;
}
.caption::-webkit-scrollbar-track {
    border-radius: 2px;
    background: #eee;
}
.caption br {
    display: none;
}



    

/* oki_20220509 */

@media screen and (max-width: 599px) {
  .rink {
    left: auto !important;
  }

  .incho img {
    width: auto !important;
  }

  img {
    width: 100% !important;
  }

  p.btn-internal {
    margin: auto !important;
  }

  #index p, #category p, #page p {
    margin: auto;
  }

  h2 a {
    font-size: 24px !important;
    text-decoration: none !important;
  }

  h3 a {
    text-decoration: none !important;
  }

}

h2 a {
  font-size: 31px;
  font-weight: bold;
  line-height: 140%;
  margin: 25px auto 40px;
  position: relative;
  text-align: center;
  width: 100%;
  color: #ff5337;
}


.kanren {
  /* border: 3px solid #ff5252; */
  border: 1px solid #ccc;
  /* padding: 20px 30px ; */
  padding: 20px;
  /* margin: 30px 0; */
  margin: 50px 20px 30px 20px;
  font-size: 90%;
  position: relative;
  box-sizing: border-box;
  z-index: 0;
}

.midasi {
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 15px;
}

.kanren ul {
  margin: 0 !important;
}


.kanren br {
  display: none;
}

/* アコーディオンのときに下記追加 */
.readmore-content {
  position: relative;
  overflow: hidden;
  height: 100px;
}

.readmore-content::before {
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  content: "";
  /*以下お好み グラデーションの色と高さ 高さはreadmoreのheight以下にすること*/
  height: 50px;
  z-index: 1;
  background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 0.8) 50%, #fff 100%);
  background: linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 0.8) 50%, #fff 100%);
}

/* 続きを読むボタン */
.readmore-label {
  display: table;
  bottom: 5px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  margin: 5px auto;
  z-index: 2;
  padding: 6px 15px;
  /* background-color: #ff7777; */
  background-color: #00a8c4;
  border-radius: 20px;
  color: #FFF;
  font-weight: bold;
}

.readmore-label:before {
  content: "\7D9A\304D\3092\8AAD\3080";
}

.readmore-check {
  display: none;
}

/*チェック時にボタンを非表示*/
.readmore-check:checked~.readmore-label {
  position: static;
  transform: translateX(0);
  -webkit-transform: translateX(0);
  /* 「続きを読む」を押した後、元に戻す必要がない場合は、上のオプションを消してこの1行だけにする */
  /* display: none; */
}

.readmore-check:checked~.readmore-label:before {
  content: "\9589\3058\308B";
}

/*チェック時に高さを自動に戻す*/
.readmore-check:checked~.readmore-content {
  height: auto;
}

/*チェック時グラデーション等を削除*/
.readmore-check:checked~.readmore-content::before {
  display: none;
}

/* oki_20220509 */


#category .h3, #page .h3 {
  color: #333;
  font-size: 24px;
  font-weight: bold;
  text-align: left;
  line-height: 140%;
  margin: 30px auto 20px;
  padding: 15px 50px 15px 40px;
  position: relative;
  width: 100%;
  background-color: #e8f6f8;
}

.area_link_box {
  text-align: center;
}

.area_box {
  background-color: #83d7e5;
  margin: 5px;
  font-size: 20px;
  padding: 10px;
  width: 47%;
  float: left;
}

#index h2::before, #index h2::after {
  background: no-repeat;
}

#index h2 {
  margin-top: 50px;
}

#index h2#a {
  margin-top: 0px;
}

#category ul.column_record {
  display: block;
  width: 90%;
  margin: auto;
  max-height: 300px;
  overflow-y: scroll;
  background: #fcfdfd;
  padding: 10px;
}

ul.column_record li {
  border-bottom: solid 1px #00A8C4;
  display: block;
  margin-bottom: 10px;
  padding: 0px 0px 5px 0px;
}

ul.column_record li::before {
  content: none;
}

ul.column_record li span.day {
  font-size: small;
  display: block;
  background: none;
  color: #000;
  width: 120px;
  margin: 0px;
}

time {
  font-size: 11px;
  color: #777;
}

.box-body table {
  margin: auto;
  font-family: 'Helvetica Neue', 'Helvetica', 'Hiragino Kaku Gothic ProN', YuGothic, 'Yu Gothic Medium', Meiryo, sans-serif;
}

.box-body table th {
  width: 80px;
}

.official {
  width: 90%;
  margin: 0 auto;
  margin-top: 50px;
  padding: 20px;
  background: #f5f5f559;
}

.official ul {
  display: block;
  width: 100%;
  margin: auto;
  margin-bottom: 15px;
  background: #fff;
  padding: 20px;
}

.official ul div.mini {
  border-left: none;
  font-weight: lighter;
  font-size: 10px;
  overflow-x: auto;
  white-space: nowrap;
}

.official ul li {
  display: block;
  border-bottom: 1px dashed #ccc;
  margin-bottom: 10px;
  padding: 0px 0px 5px 0px;
  text-align: left;
}

.official ul li:before {
  content: none;
}

.official ul li:last-child {
  border-bottom: none;
}

.official ul li span {
  font-size: 0.8em;
  display: block;
  background: none;
  color: #000;
  margin: 0px;
  font-weight: bold;
}

.official ul div {
  padding: 0rem 1rem;
  font-weight: bold;
}

.official h4 {
  font-size: 1.3em;
  border-bottom: 3px double #333;
  padding-left: 10px;
}

.official h5 {
  font-size: 1.2em;
  border-bottom: 1px dashed #333;
}

.official h6 {
  font-size: 1.1em;
}

.official h4,
.official h5,
.official h6 {
  font-weight: bold;
  margin: 20px 0;
}

.official h4:before,
.official h5:before,
.official h6 {
  content: none;
}

.center {
  text-align: center;
}

.right {
  text-align: right;
}

.official .inst {
  max-height: 400px;
  max-width: 100%;
  margin: auto;
}

.official table {
  width: 100%;
}

.official table th {
  border-bottom: 1px solid #333;
  width: 60%;
  padding: 5px;
}

.official table td {
  border-bottom: 1px solid #333;
  width: 40%;
  padding: 5px;
}

.center {
  text-align: center;
}

.top_custom dl {
  margin-top: 2em;
}

.top_custom dt {
  font-size: 1.3em;
  font-family: "ãƒ’ãƒ©ã‚®ãƒŽæ˜Žæœ ProN W6", "HiraMinProN-W6", "HGæ˜ŽæœE", "ï¼­ï¼³ ï¼°æ˜Žæœ", "MS PMincho", "MS æ˜Žæœ", serif;
  color: #008ea6;
  border-bottom: 1px solid;
}

.top_custom dd {
  font-weight: normal;
  margin: 10px 10px;
  font-family: 'Helvetica Neue', 'Helvetica', 'Hiragino Kaku Gothic ProN', YuGothic, 'Yu Gothic Medium', Meiryo, sans-serif;
}

.imgarea img {
  margin: 2rem auto 0;
  display: block;
}

#index h3#toporal,
#index h3#topootsuka,
#index h3#tophidaka {
  background-color: #00a8c4;
  color: #fff;
}
.flex_clinic_title {
    font-size: 31px;
    font-weight: bold;
    line-height: 140%;
    margin: 60px auto 40px;
    padding: 0 56px 0 56px;
    position: relative;
    text-align: center;
    width: 100%;
    color: #ff5337;
	font-family: "ヒラギノ明朝 ProN W6", "HiraMinProN-W6", "HG明朝E", "ＭＳ Ｐ明朝", "MS PMincho", "MS 明朝", serif;
}
.flex_clinic_area {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.flex_clinic_area .box {
    background: #fff;
    width: 32%;
    padding: 10px;
	box-shadow: 0 0 0 4px #78f7e5;
}

#contents .flex_clinic_area .box .catch {
    text-align: center;
    background: #e8f6f8;
    margin: -10px -10px 0;
    font-size: 18px;
    padding: 10px;
}
.flex_clinic_area .box .name,
#contents .flex_clinic_area .box h3 {
    padding: 0;
    font-size: 20px;
    text-align: center;
    border: none;
    margin-top: 20px;
    min-height: 140px;
	color: #008ea6;
	font-weight: bold;
}
.flex_clinic_area .box .name span,
#contents .flex_clinic_area .box h3 span {
    font-size: 14px;
    line-height: 1.5;
}
.flex_clinic_area .box .title {
    font-size: 24px;
    font-weight: bold;
    text-align: left;
    line-height: 140%;
    margin: 30px auto 20px;
    padding: 15px 50px 15px 40px;
    position: relative;
    width: 100%;
    background-color: #e8f6f8;
}
.flex_clinic_area .incho img {
    max-height: 200px;
    margin-bottom: 10px;
}

.flex_clinic_area .incho {
    min-height: 260px;
}

.flex_clinic_area .btn-internal a,.flex_clinic_area .btn-web a,.flex_clinic_area .btn-tel a {
    width: 100%;
    font-size: 14px;
}


.flex_clinic_area .box ul {
    min-height: 190px;
}

.review {
    background: #e8f6f8;
    padding: 15px;
    margin-bottom: 20px;
    text-align: left;
}

.review p {
    text-align: left;
}

.clinic_area .btn-web a {
    margin-bottom: 50px;
}

#index .clinic_area h5 {
    text-align: left;
    margin: 40px auto 10px;
    padding: 0;
    border-bottom: 2px solid #6edcef;
}


.career {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.career .incho {
    width: 40%;
}

.career ul {
    width: 60%;
}

#index .clinic_area h5::before,#index .clinic_area h5::after {
    content: none;
}
p.noto {
    font-size: 12px;
}
.FV-index span {
    font-weight: bold;
}
#index h2#a {
    margin-top: 20px;
}

.layoutoheight01{
	height:100px;
}

.layoutoheight02{
	height:150px;
}

.layoutoheight03{
	height:200px;
}


.table-layout table tbody .layoutoheight01 td , .table-layout table tbody .layoutoheight01 th{
	font-size:13px;
}

.table-layout table tbody .layoutoheight02 td , .table-layout table tbody .layoutoheight02 th{
	font-size:13px;
}

.table-layout table tbody .layoutoheight03 td , .table-layout table tbody .layoutoheight03 th{
	font-size:13px;
}

/*----------------------------------------------------
PC用css
----------------------------------------------------*/
@media screen and (min-width: 600px) {

.topbox {
    min-height: 220px;
	padding: 15px 30px 35px; !important;
}
.box-head {
    min-height: 85px;
}

  nav ul a {
    padding: 0 15px;
  }

  nav ul a span {
    text-align: center;
  }

  header h1, header .title a {
    width: 80%;
  }

  /* å…±æœ‰ãƒ‘ãƒ¼ãƒ„ã¯ã˜ã¾ã‚Š */
  div#lower_bottom:hover {
    opacity: .5;
  }

  div#lower_bottom {
    display: block;
    margin: 30px 0px;
  }

  /* å…±æœ‰ãƒ‘ãƒ¼ãƒ„ãŠã‚ã‚Š */
  .table-layout table tbody td .table {
    font-weight: bold;
    color: #ff5337;
  }

  /*  p span{
  font-weight:bold;
  }*/

  .sp_br {
    display: none;
  }

  header h1::before, header .title a::before {
    background: #000;
    color: #fff;
    content: "PR";
    padding: 3px 10px;
    font-size: 30px;
  }

  .noimg {
    transform: rotate(-10deg) !important;
    -moz-transform: rotate(-10deg) !important;
    -webkit-transform: rotate(-10deg) !important;
    font-size: 3rem !important;
    background: #fff !important;
    border-radius: 14px !important;
    width: 182px !important;
    text-align: center !important;
    padding: 15px !important;
    border: solid;
    color: #ed7d31;
  }

  .noimg0001 {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    line-height: 1.2;
    margin: 0px !important;
  }

  .noimg0001 span {
    font-weight: bold !important;
    font-size: 3rem !important;
    color: #008ea6 !important;
  }

  .noimg0002 {
    font-size: 1.5rem;
    text-align: center;
    padding: 1rem;
    width: 100%;
    margin: 0px !important;
    font-weight: bold;
    color: #fff;
  }

.pc_telnumber {
    text-align: center;
}


.layoutoheight01 th{
	width:10px;
}

.layoutoheight02 th{
	width:10px;
}

.layoutoheight03 th{
	width:10px;
}

}

/*----------------------------------------------------
SPã‚µã‚¤ãƒˆcss
----------------------------------------------------*/
@media screen and (max-width: 599px) {

  div#lower_bottom:hover {
    opacity: .5;
  }

  div#lower_bottom {
    display: block;
    margin: 30px 0px;
  }

  /* å…±æœ‰ãƒ‘ãƒ¼ãƒ„ãŠã‚ã‚Š */
  .table-layout table tbody td .table {
    font-weight: bold;
    color: #ff5337;
  }

  /*p span{
  font-weight:bold;
  }*/
  #category .h3, #page .h3 {
    font-size: 20px;
    font-weight: bold;
    text-align: left;
    line-height: 140%;
    margin: 20px auto 20px;
    padding: 10px 10px 10px 20px;
    position: relative;
    width: 100%;
    background-color: #f3fbfc;
  }

  p.btn-web, p.btn-tel {
    padding-bottom: 3px;
  }

  p.btn-web, p.btn-tel {
    padding-bottom: 3px;
    width: 80%;
  }

  p.btn-link.clearfix {
    width: 80%;
  }

  .rink {
    margin: 0 auto;
    position: relative;
    text-align: center;
    width: auto;
    left: 30px;
  }

  ul.column_record {
    display: block;
    width: 90%;
    margin: auto;
    max-height: 300px;
    overflow-y: scroll;
    padding: 10px;
    border: solid 1px #FFCC00;
    margin-bottom: 15px;
  }

  ul.column_record li {
    display: block;
    background: none;
    border-bottom: solid 1px #ff9933;
    margin-bottom: 10px;
    padding: 0px 0px 5px 0px;
  }

  ul.column_record li::before {
    content: none;
  }

  ul.column_record li span.day {
    font-size: small;
    display: block;
    background: none;
    color: #000;
    width: 120px;
    margin: 0px;
  }

  .btn-internal a {
    margin: 30px 0px;
  }

  .top_custom {
    width: 100%;
    margin: 0 auto;
  }

  .top_custom .btn-link {
    margin: 1em auto;
  }

  #index {
    margin: 0 auto;
    padding: 15px 0 0 0;
    width: 94%;
    overflow: hidden;
  }

  .pc_br {
    display: none;
  }

  img {
    width: auto;
  }

  .official {
    width: 100%;
  }

  #index .official ul {
    margin: 0 auto 20px;
  }

  p.btn-internal {
    width: 80%;
  }

  .imgarea.caption img {
    max-width: 90%;
  }

  header h1::before, header .title a::before {
    background: #000;
    color: #fff;
    content: "PR";
    padding: 3px 10px;
    font-size: 16px;
  }






  .noimg {
    transform: rotate(-10deg) !important;
    -moz-transform: rotate(-10deg) !important;
    -webkit-transform: rotate(-10deg) !important;
    font-size: 2rem !important;
    background: #fff !important;
    border-radius: 14px !important;
    width: 120px !important;
    text-align: center !important;
    padding: 9px !important;
    border: solid;
    color: #ed7d31;
    margin: 10px !important;
  }

  .noimg0001 {
    text-align: center;
    font-size: 1.5rem;
    color: #333;
    line-height: 1.2;
    margin: 0px !important;
  }

  .noimg0001 span {
    font-weight: bold !important;
    font-size: 2rem !important;
    color: #008ea6 !important;
  }

  .noimg0002 {
    font-size: 0.8rem;
    text-align: center;
    padding: 0rem;
    width: 100%;
    margin: 0px !important;
    font-weight: bold;
    color: #fff;
  }

  #lower_bottom a {
    text-decoration: none;
  }

  .pc {
    display: none !important;
  }

  footer .frame-head.sp {
    background-image: url(https://www.avoidfailure-implant.com/wp/wp-content/uploads/footer_arrow_icon-sp.png);
    background-size: 15px;
    padding: 20px 50px 20px 20px;
  }

  footer .frame-head.sp.open {
    background-image: url(https://www.avoidfailure-implant.com/wp/wp-content/uploads/footer_arrow_icon-sp_up.png);
  }
.pc_telnumber {
    display:none;
}
.flex_clinic_title {
    font-size: 24px;
    padding: 0;
    margin-bottom: 20px;
}
.flex_clinic_area .box {
    width: 100%;
    box-shadow: 0 0 0 4px #f4fbfa;
    margin: 0 auto;
    border-radius: 8px;
    border: 2px solid #f4fbfa;
    margin-bottom: 30px;
}

.flex_clinic_area {
    margin-top: 30px;
}

.flex_clinic_area .box ul {
    min-height: auto;
}

#contents .flex_clinic_area .box .catch {
    font-size: 30px;
    line-height: 1.5;
}

#contents .flex_clinic_area .box .catch span {
    font-size: 30px;
}
.flex_clinic_area .box .name,
#contents .flex_clinic_area .box h3 {
    min-height: auto;
    font-size: 26px;
}
.flex_clinic_area .box .name span,
  #contents .flex_clinic_area .box h3 span {
    font-size: 16px;
    line-height: 1.5;
    display: block;
}


#index .clinic_area h2 {
    padding: 0;
    font-size: 22px;
}

#index .clinic_area h4 {
    text-align: center;
    padding: 10px;
    font-size: 18px;
}

.career {
    display: block;
}

.career .incho {
    width: 100%;
}

#index .career ul {
    width: 100%;
    margin: 20px 0 0;
}

#index .career ul li {
    margin-bottom: 20px;
}

.clinic_area .btn-web a {
    margin-top: 20px;
    margin-bottom: 10px;
    padding: 10px 20px 10px 10px;
}

.clinic_area .table-layout {
    overflow: unset;
    white-space: normal;
}

iframe {
    width: 100%;
    height: 250px;
}	
	
.layoutoheight01{
	height:auto;
}

.layoutoheight02{
	height:auto;
}

.layoutoheight03{
	height:auto;
}
	
.flex_clinic_area .table-layout{
	white-space:normal;
}
	
	
.box-body {
    padding: 10px 30px 35px; !important;
}
	
	

}


.box-body {
    padding: 10px 30px 35px; !important;
}



/*----------------------------------------------------
キャプチャ調整
----------------------------------------------------*/


/* ---- 画像：記事中の <div style="text-align:center"> 内を対象 ---- */
div[style*="text-align:center"] img,
div[style*="text-align: center"] img {
  max-width: 100%;    /* 親（記事カラム）を超えない */
  height: auto;       /* 縦横比を保持して縮小 */
  display: block;
  margin: 0 auto;     /* 中央寄せ */
  object-fit: contain;/* 切り抜かずに収める（好みに応じて cover に） */
}

/* ---- iframe (Google Map等) をレスポンシブにするラッパー ---- */
.map-responsive {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 比。調整可（例 75% = 4:3） */
  height: 0;
  overflow: hidden;
}
.map-responsive iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---- テーブルが横にはみ出す場合の回避（横スクロール） ---- */
.table-layout {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* ---- TOPサムネイル高さ調整 ---- */
/* ---- PC ---- */
.topbox img{
  display: block;        /* 画像下の余白防止 */
  width: 100%;           /* 親幅にフィット（任意） */
  height: 114px;         /* 見せたい高さを固定 */
  object-fit: cover;     /* はみ出す分はトリミング */
  object-position: top;  /* 上側を優先して表示（中央なら center） */
  padding: 10px 30px 35px; !important;
}

.topbox .caption{
  margin-top: 8px;       /* 任意：キャプションとの間隔 */
  font-size: 12px;
  color: #666;
}

/* ---- SP ---- */
/* PC/タブレット：114pxでクロップ */
.topbox.clip-114 {
  height: 114px;
  overflow: hidden;
  position: relative;
}

/* 画像の安定表示 */
.topbox.clip-114 > img {
  display: block;
}

/* SP：152pxでクロップ */
@media (max-width: 767.98px) {
  .topbox.clip-114 {
    height: 152px;
  }
}



/* ---- TOPCSS編集 ---- */

body .box {
  background: none;
}

.box-head {
        background: #83d7e5;
    }


.pc.permalink .box-body{
  padding: 10px 30px 35px !important;
  box-shadow: 0 0 0 2px #83d7e5 inset; /* 内側に薄い縁 */
}


@media screen and (min-width: 600px) {
  .clinic_area{
    background:#fff;
    border: 2px solid #83d7e5;
    border-radius: 12px;
    padding: 18px 20px;
    margin: 0 0 24px 0;
    box-shadow: 0 0 0 5px #e8f6f8 inset; /* 内側に薄い縁 */
  }
}


/* SPのみ：clinic_area を縁で囲う */
@media screen and (max-width: 599px) {

  .clinic_area{
    background: #fff;
    border: 2px solid #83d7e5;
    border-radius: 10px;
    padding: 14px 14px;
    margin: 0 0 18px 0;
    box-shadow: 0 1px 8px rgba(0,0,0,.07);
  }

}




	
/*----------------------------------------------------
    共通css
----------------------------------------------------*/

h2 a, h3 a, h4 a, h5 a, .caption a {
    pointer-events: none !important;
    background-image: none !important;
    text-decoration: none !important;
}
h2 a:after, h3 a:after, h4 a:after, h5 a:after {
    display: none !important;
}
#contents .btn-internal a {
    display: none;
}
#contents .btn-internal.down a {
    display: block;
}
#contents .btn-internal.up a {
    display: block;
}
.blind {
    display: none;
}


/*----------------------------------------------------
    PCサイトcss
----------------------------------------------------*/
@media screen and (min-width: 600px) {
/*/////////////PC用のCSSをここに作成してください。/////////////*/

#index {
    float: none;
    margin: 0 auto;
}

}/*////////////////////PC用CSSここまで///////////////////*/



/*----------------------------------------------------
    SPサイトcss
----------------------------------------------------*/
@media screen and (max-width: 599px) {
/*/////////////SP用のCSSをここに作成してください。/////////////*/



}/*////////////////////SP用CSSここまで///////////////////*/