@charset "UTF-8";

/*==========================================
 全デバイス共通［common］
===========================================*/
/*footerを下部に固定*/
#main{
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
footer {
	margin-top: auto;
}
/*==========================================
 PC［1001px~］
===========================================*/
.logo_area p{
	font-weight: bold;
}
/*------------
 h1見出しタイトルエリア
------------*/
#ttl_area {
  padding: 10px 5%;
	width: 95%;
	height: 500px;
	border-radius: 0 20px 0 0;
	display: flex;
	align-items: center;
	background-size: cover;
	background-position: bottom;
	position: relative;
}
h1.content-ttl-h1 {
	width: 180px;
    height: 180px;
    background: #fdfaff;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    border-radius: 15px;
    position: absolute;
    bottom: -20px;
    right: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
	letter-spacing: .25rem;
}
.ttl_area_outline{
	background-image: url("../images/h1-ttl-outline.jpg");
}
#ttl_area.ttl_area_annai{
	background-position: top;
	background-image: url("../images/h1-ttl-annai.jpg");
}
#ttl_area.ttl_area_kyotaku{
	background-position: top;
	background-image: url("../images/h1-ttl-kyotaku.jpg");
}
.ttl_area_renkei{
	background-image: url("../images/h1-ttl-renkei.jpg");
}
#ttl_area.ttl_area_form{
	background-position: top;
	background-image: url("../images/h1-ttl-form.jpg");
}
#ttl_area.ttl_area_bosyu{
	background-position: top;
	background-image: url("../images/h1-ttl-bosyu.jpg");
}
/*------------
 breadcrumb
------------*/
#breadcrumb {
    padding: 10px 30px;
	overflow-x: auto;
	white-space: nowrap;
}
.breadcrumb {
  margin: 0 auto;
  display: flex;
}
.breadcrumb li {
  margin: 0;
  padding: 0;
}
.breadcrumb li:after {
  content: '〉';
  padding: 0 7px;
  font-size: 1rem;
}
.breadcrumb li:last-child:after {
  content: none;
}
.breadcrumb li:before {
  content: none;
}
.breadcrumb a {
  font-size: 1.2rem;
}
.breadcrumb li:last-child a {
  pointer-events: none;
}
/*------------
 各種見出し
------------*/
.content-ttl-h2{
	position: sticky;
	position: -webkit-sticky;
	top: 10px;
}
.content-ttl-h3 {
  margin: 50px auto 20px;
  font-size: 2.25rem;
  line-height: 1.25;
	font-weight: normal;
  font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
  position: relative;
}
.content-ttl-h3:after {
	content: '';
  width: 20px;
  height: 2px;
  position: absolute;
  bottom: 5px;
  background: #554444;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
 .content-ttl-h3.privacy {
	 padding:15px 10px;
	 border-left:solid 5px #C4B8C6; 
 	 background:#F6E9FF; 
  }
.content-ttl-h3.privacy:after {
	content: none;
}
.content-ttl-h4 {
  margin: 10px auto 5px;
  padding: 0 0 10px;
  font-size: 1.7rem;
  line-height: 1.25;
	font-weight: bold;
}
 .content-ttl-h4.privacy {
	 padding: 10px 0;
 	 border-left:solid 5px #C4B8C6; 
	 border-bottom: solid 1px #C4B8C6; 
  }
.content-ttl{
	margin-bottom: 10px;
  padding: 0;
  font-size: 1.7rem;
  line-height: 1.25;
	font-weight: bold;
}
.content-ttl-small {
  font-size: 60%;
}
/*------------
 dlのスタイル
------------*/
.dl_a {
  font-size: 1.6rem;
  line-height: 1.5;
}
.dl_a dt {
  padding: 20px 0 20px 5px;
  float: left;
  font-weight: bold;
}
.dl_a dd {
  padding: 20px 0 20px 150px;
  border-bottom: solid 1px #ddd;
}
.dl_a dd:nth-last-child(1) {
  border: none;
}
/*------------
 ulのスタイル
------------*/
/*スタイルa*/
.ul_a, .ul_b {
	margin-bottom: 30px;
  line-height: 1.25;
}
.ul_a li {
  padding: 30px 0 20px 5px;
}
.ul_a li {
  border-bottom: solid 1px #ddd;
}
.ul_a li:nth-last-child(1),
.ul_b li:nth-last-child(1){
  margin: 0;
}
/*スタイルb*/
.ul_b li {
	margin: 20px 0 ;
   padding: 0 0 20px 20px;
  position: relative;
}
.ul_b li:before {
  content: '●';
  color: #c7b9b9;
  position: absolute;
	top: 3px;
  left: 0;
	font-size: 1.1rem;
}
.links li a{
	margin-bottom: 10px;
}

/*------------
 olのスタイル
------------*/
ol {
	margin: 5% 0;
  counter-reset: count 0;
  font-size: 1.5rem;
  line-height: 1.5;
}
ol li {
  margin-bottom: 30px;
  padding-left: 40px;
  position: relative;
}
ol li:last-child {
  margin-bottom: 0;
}
ol > li:before {
  content: counter(count) ;
  counter-increment: count 1;
	font-size: 3rem;
  position: absolute;
	top: -20px;
  left: 0;
  font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}
.privacyOl li {
	padding-left: 30px;
}
.privacyOl > li:before {
	font-size: 1.3rem;
	top: 2px;
	width: 20px;
	text-align: center;
}
.privacyOl > li:after {
	content: '';
	width: 20px;
	height: 20px;
	border: solid 1px #554444;
	border-radius: 50%;
	position: absolute;
	top: 2px;
	left: 0;
}

/*------------
 imgのスタイル
------------*/
.img100,
.img_h100 {
	margin-bottom: 30px;
	width: 100%;
	height: auto;
	border-radius: 10px;
	display: block;
}
.img_h100 {
	height: 100%;
	object-fit: cover;
}
.img_sp_100{
	margin: 0 auto;
	display: block;
}
.float_right {
  margin: 10px 0 10px 10px;
  float: right;
	z-index: 1;
	position: relative;
}
.cf::after {
  content: "";
  display: block;
  clear: both;
}
/*------------
 テーブルのスタイル
------------*/
/*table {
  margin: 10px 0;
  width: 100%;
  font-size: 1.5rem;
  line-height: 1.5;
}
th {
  padding: 15px;
  background: #F6FCF0;
  border: solid 1px #ddd;
}
td {
  padding: 10px;
  border: solid 1px #ddd;
  vertical-align: middle;
  text-align: center;
}*/
/*------------
 段組
------------*/
.col_2, .col_3 {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
	position: relative;
}
.col_3:after{
	content: '';
	width: 30%;
	display: block;
}
.col_2 > div {
  width: 47%;
}
.col_3 > div{
  width: 30%;
}
/*--------
	 コンテンツ
---------*/
.contents_wrap {
    width: 100%;
}
/*------------
 コンテンツエリア
------------*/
#content_area {
	margin: 0 0 80px;
	background: #fff;
	position: relative;
}
.content_area_innner {
  margin: 0 auto;
	height: 100%;
	padding: 50px 0;
	max-width: 1000px;
	width: 90%;
}
/*--------
　コンテンツ内ナビ
---------*/
.contents_nav{
	margin: 0 0 30px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}
.contents_nav li{
	margin: 0 10px;
	padding: 20px 10px;
}
.contents_nav li a{
	padding: 10px 30px 10px 10px;
	text-decoration: none;
	position: relative;
	border: solid 1px #554444;
	background: #fff;
}
.contents_nav li a:after{
	content: '';
	width: 8px;
  height: 8px;
  border: 2px solid;
  border-color:  transparent transparent #554444 #554444;
  transform: rotate(-45deg);
	position: absolute;
	top: 12px;
	right: 15px;
}
.contents_nav li a:hover{
	color: #cc7eb1;
}
/*--------
　テキストのスタイル関連
---------*/
.m-bottom10{
	margin-bottom: 10%;
}
main p{
	line-height: 1.6;
	margin-bottom: 20px;
    text-align: justify;
}
main p:last-child{
	margin-bottom: 0;
}
#content_area a{
	text-decoration: underline;
}
#content_area a.btm{
	text-decoration: none;
}
a[target="_blank"] {
	padding-right: 20px;
  position: relative;
  display: inline-block;
}
a[target="_blank"]:hover {
  color: #cc7eb1;
}
a[target="_blank"]:after {
  content: '';
  position: absolute;
  bottom: 5px;
  right: 5px;
  width: 12px;
  height: 12px;
  background-image: url("../images/icon-blank.svg");
}
/*地色*/
.bk_color {
  margin: 20px 0;
  padding: 3% 5%;
  background:#FDFAFF;
	border-left: 5px #ccb8c5 solid;
}
.bk_color.privacy {
  background:#F6E9FF;
}
.text_center {
  text-align: center;
}
.text_right {
  text-align: right;
}
.text_strong {
  margin: 0;
  font-weight: bold;
}
.text_small {
  font-size: 1.3rem;
}
.read_area{
	margin: 5% auto;
	text-align: center;
}
p.read{
	text-align: center;
	font-size: 3rem;
	font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}
/*--------
　病院のご紹介
---------*/
.dr_name{
	font-size: 1.8rem;
	text-align: right;
	font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}
/*--------
　診療案内
---------*/
ul.subject{
	display: flex;
	justify-content: space-between;
}
ul.subject li{
	padding: 70px 0 0;
	width: 23%;
	text-align: center;
	position: relative;
}
ul.subject li:before{
	margin: 0 auto;
	content: '';
	position: absolute;
	top: 0px;
	right: 0;
	left: 0;
	width: 50px;
	height: 50px;
	background-repeat: no-repeat;
	background-position: center;
}
ul.subject li:nth-of-type(1):before{
	background-image: url("../images/annai/icon01.svg");
}
ul.subject li:nth-of-type(2):before{
	background-image: url("../images/annai/icon02.svg");
}
ul.subject li:nth-of-type(3):before{
	background-image: url("../images/annai/icon03.svg");
}
ul.subject li:nth-of-type(4):before{
	background-image: url("../images/annai/icon04.svg");
}

/*------------
 お知らせ一覧
------------*/
/*お知らせのリスト*/
.info-list {
  width: 100%;
}
.info-list dd a {
  padding: 10px 20px 30px 0;
  overflow: visible;
  white-space:normal;
  text-overflow:inherit;
}
/*--ページャー--*/
.pagination {
  margin: 5% auto 0;
  text-align: center;
}
#content_area .pagination a {
  height: 35px;
  width: 35px;
  font-size: 9pt;
  line-height: 35px;
  text-align: center;
  letter-spacing: 0;
  display: inline-block;
  background: #eee;
  transition: .3s;
  text-decoration: none;
	border-radius: 5px;
}
#content_area .pagination a:hover {
  color: #FFF;
  background: #cc7eb1;
}
#content_area .pagination .current {
  background: #554444;
  color: #fff
}
/*------------
 お知らせ詳細
------------*/
#news_contents .news_ttl{
		margin: 0 0 20px;
	  font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
	font-weight: normal;
	font-size: 3rem;
	line-height: 1.25;
}
#news_contents h2{
	font-size: 2.5rem;
	margin: 20px 0;
}
#news_contents h3{
	font-size: 2rem;
	margin: 20px 0;
}
#news_contents h4{
	font-size: 1.8rem;
	margin: 20px 0;
}
.news_date{
	margin-bottom: 10px;
	font-size: 1.4rem;
}
#news_contents .btm{
	margin: 10% auto 0;
	text-decoration: none;
}
#news_contents ul.news-img {
	display: flex;
	flex-wrap: wrap;
}
#news_contents ul.news-img li {
	text-align: center;
	width: 48%;
	margin-bottom: 2rem;
}
#news_contents ul.news-img li:nth-child(2n) {
	margin-left: 4%;
}
#news_contents ul.news-img li a {
	display: block;
	position: relative;
  width: 100%;
  padding-bottom: 68%;
  box-sizing: border-box;
	margin-bottom: 5px;
}
#news_contents ul.news-img li a img {
	position: absolute;
  width: 100%;
  height: 100%;
	top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  object-fit: cover;
}
#news_contents .file-title {
	margin-top: 40px;
}
#news_contents ul.file li {
	list-style-type: disc;
	margin-left: 2rem;
}
#news_contents ul.file li a[target="_blank"]:after {
	width: 0;
}
#news_contents p {
	word-break: break-all;
}

/*==========================================
 tb［540px-1024px以下］
===========================================*/
@media screen and (max-width: 1024px) {
	/*------------
	 h1見出しタイトルエリア
	------------*/
	h1.content-ttl-h1 {
	width: 200px;
    height: 200px;
    bottom: -30px;
    right: -10px;
	}
	/*------------
	 各種見出し
	------------*/
	.content-ttl-h2{
		padding: 70px 30px 0 0;
		position: relative;
	}
	.content-ttl-h2:before{
		left: -30px;
	}

	/*--------
	 コンテンツ内ナビ
	---------*/
	.contents_nav{
		justify-content: start;
	}
	.contents_nav li {
    margin: 0 5px;
    padding: 15px 10px;
	}
	.col_2 > div{
		width: 100%;
	}

}
/*==========================================
 sp［540px以下］
===========================================*/
@media screen and (max-width: 540px) {
	/*------------
	 header
	------------*/
	#top_logo_area{
		padding: 10px;
		width: 100%;
    	height: 75px;
	}
	#top_logo_area .logo{
		margin: 0;
	    max-width: 200px;
	}
	#top_logo_area .logo_area_text{
		text-align: left;
	}
	/*------------
	 breadcrumb
	------------*/
  .breadcrumb li:after {
    padding: 0 5px;
  }
  .breadcrumb a {
    font-size: 1rem;
  }
	/*------------
	 各種見出し
	------------*/
	#ttl_area{
		height: 80vh;
	}
  .content-ttl-h2 {
	  padding: 70px 0 0;
    margin: 15% auto 10%;
  }
	 footer .content-ttl-h2 {
		     margin: 0 auto 10%;
	}
	.content-ttl-h2:before {
		left: 0;
		right: 0;
	}
  .content-ttl-h3 {
    margin: 15% auto 5%;
	  font-weight: bold;
  }
	
  .content-ttl-h4 {
    margin: 10% auto;
	  font-weight: bold;
  }
	/*------------
	 dlのスタイル
	------------*/
    .dl_a dt {
    width: 100%;
    padding: 15px 5px 0 5px;
    float: none;
  }
  .dl_a dd {
    width: 100%;
    padding: 5px 5px 15px;
  }
	/*------------
	 ulのスタイル
	------------*/
  /*スタイルa*/
  .ul_a, .ul_b {
    line-height: 1.5;
    text-align: justify;
  }
	.ul_a li {
	  padding: 30px 0 10px 5px;
	}
	/*スタイルb*/
	.ul_b li {
		margin: 10px 0 ;
	   padding: 0 0 10px 20px;
	  position: relative;
	}
	/*------------
	 imgのスタイル
	------------*/
	.float_right {
    margin: 5% auto;
    float: none;
    display: block;
	}
	.img-block {
		margin: 10px auto;
	  }
	.img_sp_100{
			width: 100%;
	}
	/*------------
	 テーブルのスタイル
	------------*/
  .table-scroll {
    overflow-x: scroll;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
	  position: relative;
  }
	.table-scroll:before,
	.table-scroll:after {
		content: 'スクロールで表示→';
		font-size: 1.2rem;
	}
  table {
    font-size: 1.4rem;
  }
	/*------------
	 段組
	------------*/
  .col_3 > div, .col_3 > li {
    width: 100%;
  }
	/*------------
	 コンテンツエリア
	------------*/
	main p{
		font-size: 1.5rem;
	}
	/*--------
	 コンテンツ内ナビ
	---------*/
	.contents_nav{
		margin: 20px auto;
	    width: 90%;
	}
	.contents_nav li{
		width: 50%;
		margin: 0;
	    padding: 0 0;
	}
	.contents_nav li a{
	    height: 100%;
		display: block;
		border-top: none;
	}
	.contents_nav li:nth-of-type(1) a,
	.contents_nav li:nth-of-type(2) a{
		border-top: solid 1px #445555;
	}
	.contents_nav li:nth-of-type(even) a{
		border-left: none;
	}
	/*--------
	　テキストのスタイル関連
	---------*/
	/*地色*/
	.bk_color {
	  padding: 10% 5%;
	}
	/*--------
	 診療案内
	---------*/
	ul.subject{
		flex-wrap: wrap;
	}
	ul.subject li{
		padding: 70px 0 0;
		width: 48%;
	}
	/*------------
	 お知らせ一覧
	------------*/
	.info-list dd a{
		padding: 10px 0;
	}
	/*--ページャー--*/
	.pagination {
	  margin: 15% auto 0;
	}
	.pagination a,
	.pagination span{
	  height: 30px;
	  width: 30px;
	  line-height: 30px;
	}
	/*------------
	 お知らせ詳細
	------------*/
	/*single.phpナビのスタイル*/
	.single_nav {
	  margin: 0;
	  width: 100%;
	}
	.single_nav p {
	  align-self: center;
	}
	.single_nav a {
	  font-size: 1.2rem;
	  text-decoration: none;
	}
	.navitop {
	  width: 60%;
	  text-align: center;
	}
	.navileft {
	  width: 15%;
	}
	.naviright {
	  width: 15%;
	  text-align: right;
	}
	#news_contents ul.news-img li {
		width: 100%;
	}
	#news_contents ul.news-img li:nth-child(2n) {
		margin-left: 0;
	}

}
