@import url("//share.cr-cms.net/hp_agency/hpagency.css");
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP&display=swap');
@import url("https://use.fontawesome.com/releases/v5.6.1/css/all.css");
/*-------------------------------------------
テンプレート
フラット02 ホワイト 1カラム
-------------------------------------------*/
/*カラー*/
:root {
	--first-color: #825E40;
	--second-color: #D07D2E;
	--third-color: #6FABA0;
	--text-color: #444;
	--bg-color01: #FFF7EB;
	--bg-color02: #DFE0DF;
	--border-color: #ccc;
}

html {scroll-behavior: smooth;}

#mainArticles, #mainContents, #title_outer, #topMenu_outer, #pankuz, #footer_outer, #mainTopics, #listTopics, #topMenu .topMenu, #mainArticles_body {
    width: 1080px;
    margin: 0 auto;
}
.mainArticles .article, .mainArticles div.gallery {
    width: 100%;
}

body {
    font-size: 16px;
    line-height: 1.8;
    font-family: 'Noto Sans JP', sans-serif;
  	color:var(--text-color);
    font-weight: normal;
    letter-spacing: 0.5px;
}

#wrap {
	min-width: 1200px;
}


#contents {
	background: var(--bg-color01);
}

a {
	text-decoration: underline;
	color: #16987b;
}

strong, b {
    font-weight: bold;
    background: linear-gradient(transparent 60%, #fffacd 0%);
    font-size: 1.1em;
}

body *,
#title a:hover {
	transition: 0.5s;
}

body.ams-build *{
  transition: unset;
}

a:hover, #topMenu .topMenu li a:hover,
.mainTopics .topics li .more a,
.mainContents .article h3 a:hover,
.sideServices ul li a:hover,
.footer li a:hover {
	text-decoration: none;
}

#mainArticles a:hover img,
#sideBanners  a:hover img,
div.freeHtml a:hover img,
div.image img.gallery:hover,
a:hover {
  filter: alpha(opacity=75);
  -moz-opacity:0.75;
  opacity:0.75;
  transition: 0.5s;
}

.mainArticles .article, .mainArticles div.gallery, #mainTopics, #listTopics {
    margin-bottom: 35px;
}

.mainArticles .article, .mainArticles div.gallery {
    padding-bottom: 20px;
    border: none;
}

.mainArticles .article_right img, .mainArticles .article_left img, .gallery_grid li.galleryGrid .image img {
	border-radius: 5px;
}


/*改行*/
.article p,
.article iframe{
    margin-bottom: 1em;
}

div.gallery .comment {
	text-align: center;
}

/*記事ブロック*/
.mainArticles .article_body,
#mainTopics{
	background: rgba(255,255,255,0.7);
	padding: 1em;
	border-radius: 9px;
}

.mainArticles .article.mb0 {
	padding-bottom: 0;
	margin-bottom: -10px;
}

.mainArticles .article.mb0.article_body {
	border-radius: 0;
}

.mainArticles .mb0 .article_body {
	padding-bottom: 0;
	border-radius: unset;
}

/*TOPイメージを幅100%に*/
.mainImage #slider li img {
    max-width: 90%;
}
.slick-slide{
    height: 100%!important;
}
#mainImage {
    background-color: #fff;
}

/*---------------------------
ヘッダー
----------------------------*/
/*タイトル*/
#title {
    padding: 0;
    margin: 0 auto;
    height: auto;
    padding-top: 15px;
    margin-bottom: 50px;
    background-color: var(--bg-color01);
}
#title_outer {
    height: 120px;
    width: 1080px;
    margin: auto;
    background: url(/materials/179134404563001.png) no-repeat right top;
    background-size: 420px auto;
    /* padding: 25px 0 0; */
}
#title h1 {
    background: url(/materials/179127254494401.png) no-repeat center left;
    margin: 0;
    padding: 0;
    text-align: left;
    height: 70px;
    background-size: 440px auto;
}
#title h1 a {
    display: inline-block;
    overflow: hidden;
    text-indent: 110%;
    white-space: nowrap;
    height: 100%;
    width: 440px;
}

#title .description {
    overflow: hidden;
    text-indent: 110%;
    display: none;
    white-space: nowrap;
}

#topMenu {
	top: 135px;
  	background: var(--bg-color01);
}

#wrap_body {
	padding-top: 0;
	border-top: #89674b 5px solid;
}
/*---------------
ギャラリー
---------------*/
.gallery.contents .image {
	background: #FFF;
	border-radius: 50%;
	max-width: 90%;
}

/*--------------------------
Menu
*--------------------------*/
#topMenu_outer {
    margin: 0 auto;
    background: none;
}
#topMenu_body {
}
#topMenu .topMenu li {
    width: 20%;
    height: 100%;
    box-sizing: border-box;
    padding: 0;
    position: relative;
}
#topMenu .topMenu li a {
    background: none;
    box-sizing: border-box;
    color: var(--text-color);
    font-size: 18px;
    font-weight: normal;
    letter-spacing: 0;
    padding: 8px 0;
    width: 100%;
    height: 50px;
}
#topMenu .topMenu li a:hover {
    background: #0000000d;
    color: var(--second-color);
}

/*---------------------------
見出し
----------------------------*/
#mainArticles h2, #mainServices h2, #mainTopics h2, #listTopics h2 {
    border: none;
    font-size: 1.5em;
    color: var(--first-color);
    font-feature-settings: 'palt';
    letter-spacing: .1em;
}

#mainTopics h2{
	margin-top:25px;

}

.mainContents .article h3, .mainContents div.gallery h3 {
    font-size: 1.35em;
    color: var(--first-color);
    border-top: 1px solid #999;
    letter-spacing: 0.1em;
    padding: 0;
    padding-top: 20px;
    margin: 50px 0 30px;
    position: relative;
}
.mainContents .article h3::before, .mainContents div.gallery h3::before {
    background: var(--second-color);
    content: '';
    display: block;
    width: 20%;
    height: 4px;
    position: absolute;
    top: -3px;
}

/*ブログタイトル*/
.mainContents .article h3 a {
  line-height: 1.5;
  font-size: 1.35em;
}
/*ブログ一覧お知らせ*/
.mainContents .article h3 a, .article h3 a:hover {
  text-decoration: none;
  font-size: 1.35em;
}
.mainContents .article h4 {
    padding: 10px;
    font-size: 1.25em;
    color: var(--second-color);
    line-height: 1.2em;
    letter-spacing: 0.1em;
    margin: 10px 0 16px;
    border-bottom: solid 2px var(--second-color);
    display: inline-block;
}
.mainContents .article h5 {
    font-size: 1.2em;
    line-height: 1.7;
    padding: 0.2em 0 0.2em 18px;
    margin: 1em 0 1em 0.2em;
    border-left: 4px solid var(--third-color);
    letter-spacing: 0.05em;
    display: flex;
}
.mainContents .article h6 {
    font-size: 1em;
    text-align: left;
    line-height: 1.5;
    color: var(--text-color);
    margin-bottom: 0.8em;
    position: relative;
    padding: 0.2em;
}
.mainContents .article h6::first-letter {
    color: var(--first-color);
    font-weight: bold;
    font-size: 130%;
    margin-right: 10px;
    padding-right: 10px;
}

/*---------------------------
サイド
----------------------------*/
#side{
width:1080px;
clear: both;
color:#333;
}
.sideServices, .sideServices ul li a, .sideMobile {
    color: #333;
}
.footer a:hover, .footer p a:hover, .sideServices ul li a:hover {
    color: #644735;
}
#sideContents_outer {
    padding: 30px 0 80px 0;
	width: 1080px;
}

#sideContact a:hover {
  transition: none;
}
#sideContents {
    margin-top: 0;
    background: #f7f7f7;
}
#sideContents p {
	margin-bottom: 0;
}
#sideContents img {
    margin-bottom: 20px;
}

.sideMobile h2, .sideMobile p,.sideServices h2,
.sideBlogCategories h2, .sideBlogDates h2,
.sideBlogCategories a, .sideBlogDates a  {
    font-size: 16px;
}

.sideServices ul li a {
    font-size: 16px;
}

.freeHtml_outer {
    font-size: 16px;
    border-radius: 15px;
}

/*リスト*/
.sideServices ul,
.sideBlogCategories ul {
    overflow: hidden;
}
.sideServices ul li a,
.sideBlogCategories a {
	font-size: 15px;
    background: none;
	padding: 2px 5px 3px 5px;
}
.sideServices li,
.sideBlogCategories li {
    padding: 0.5em 0 0.4em 0.2em;
    margin-right: 1em;
    margin-left: 0.2em;
    line-height: 1.5;
    border-bottom: 1px dotted #999;
    display: flex;
}

/*ブログカテゴリ*/
.sideBlogCategories h2, .sideBlogDates h2 {
    margin-bottom: 0px;
}
.sideBlogCategories li {
    margin-top: 0px;
    margin-bottom: 0px;
}


/*---------------------------
フッター
----------------------------*/
#footer {
    background-color: var(--bg-color02);
}

.footer .topMenu {
    height: auto !important;
    width: max-content;
    margin: 0 auto;
}
.footer * {
    font-size: 14px;
    color: #333;
}

.footer li a {
    color: #333;
    font-size: 16px;
}

.footer .copyright {
    padding: 30px 0 5px 0;
    clear: both;
    width: max-content;
    margin: 0 auto;
}

/*---------------------------
リスト
----------------------------*/
ol.pp {
padding-left: 2em;
}
ol.pp li {
list-style-type: decimal;
padding: 5px;
}
ul.notes {
    list-style-type: none;
    margin-left: 1em;
    line-height: 1.9em;
    margin-bottom: 1em;
    margin-top: 1em;
}
ul.notes li::before {
content: "◆";
margin-left: -1em;
font-family: "メイリオ", sans-serif;
}
ul.ps {

list-style-type: none;
margin-left:1em;
}
ul.ps li::before {
content: "※";
margin-left: -1em;
font-family: "メイリオ", sans-serif;
}
ul.maru {
list-style-type: none;
margin-left:30px;
	margin-bottom: 0.5em;
}

ul.maru li::before {
    content: "●";
    margin-left: -1.5em;
    margin-right: 0.5em;
    font-family: "メイリオ", sans-serif;
    font-size: 70%;
    color: #ccc;
}

ul.simpleList { padding-left: 1em; }
ul.simpleList li { list-style-type: disc; padding: 5px; }

ul.StyleCheckList {
    position: relative;
    /*--list-style: outside none;--*/
    list-style-type: none;
    line-height: 2;
    padding-left: 2.5em;
}
ul.StyleCheckList li {
    position: relative;
    font-size: 16px;
}
ul.StyleCheckList li::before {
    display: block;
    content: '';
    position: absolute;
    top: 0.4em;
    left: -2em;
    width: 0.9em;
    height: 0.5em;
    border-left: 4px solid #d07d2e;
    border-bottom: 4px solid #d07d2e;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}


/*よくあるご質問*/
ul.faq {
    padding: 10px 0 20px;
}
ul.faq li.qus ,
ul.faq li.ans {
    display: block;
    font-size: 100%;
    line-height: 1.6;
    margin-bottom: 20px;
    padding-left: 45px;
}
ul.faq li.qus::before ,
ul.faq li.ans::before {
    border-radius: 4px;
    color: #fff;
    display: inline-block;
    font-size: 100%;
    height: 32px;
    line-height: 32px;
    margin: 0 8px 0 -40px;
    text-align: center;
    width: 32px;
}
ul.faq li.qus::before {
    background-color: var(--second-color);
    content: "Q";
}
ul.faq li.ans::before {
    background-color: var(--third-color);
    content: "A";
}

ul.faq li.qus{
	font-weight:bold;
}

/*---------------------------
テーブル
----------------------------*/
/*デフォルト*/
.article table:not(.contactTable) {
    border-collapse: collapse;
    border-left: 1px solid #ccc;
    border-spacing: 0;
    border-top: 1px solid #ccc;
    margin: 20px auto;
    width: 100%;
}
.article table:not(.contactTable) td,
.article table:not(.contactTable) th {
    border-bottom: 1px solid #ccc;
    border-right: 1px solid #ccc;
    height: auto;
    padding: 10px;
    box-sizing: border-box;
}
.article table:not(.contactTable) th {
    background-color: #f7f7f7;
    text-align: center;
}

/*normalTbl*/
.article table.normalTbl {
    border-collapse: collapse;
    border-left: 1px solid #ccc;
    border-spacing: 0;
    border-top: 1px solid #ccc;
    margin: 20px 0;
    width: 100%;
    letter-spacing: 0.05em;
}
.article table.normalTbl th {
	background-color: #f7f7f7;
	border-bottom: 1px solid #ccc;
	border-right: 1px solid #ccc;
	color: #555;
	height: auto;
	line-height: 150%;
	padding: 10px;
	text-align: center;
	vertical-align: middle;
	width: 33%;
}
.article table.normalTbl td {
	border-bottom: 1px solid #ccc;
	border-right: 1px solid #ccc;
	height: auto;
	line-height: 150%;
	padding-top: 10px;
	padding-right: 15px;
	padding-bottom: 10px;
	padding-left: 15px;
}

/* 診療時間 */
.article table.timeTbl{
	border-collapse:collapse;
	width:100%;
	background-color: #FFF;
	margin-top: 20px;
}
.article table.timeTbl th,
.article table.timeTbl td{
  padding:5px;
  text-align:center;
  border:solid 1px #ccc;
}
.article table.timeTbl th{
  background:#f7f7f7;
} 




/*---------------------------
 トップの最新情報 #mainTopics
 最新情報一覧ページ #listTopics 
----------------------------*/
#mainTopics {
    margin-top: 3em;
    padding: 0 1.5em 2em 1.5em;
    border-bottom: none;
    border-radius: 4px;
    width: 820px;
}
#mainTopics h2, #listTopics h2 #mainTopics h2, #listTopics h2 {
    font-size: 30px;
    margin-top: 1.5em;
}
#mainTopics .topics li {
    padding: 15px 10px 9px;
    position: relative;
    border-bottom: dotted 1px #ccc;
}
/*日付*/
#mainTopics .topics li p.date ,
#listTopics .topics li p.date {
    font-size: 16px;
	color: var(--third-color);
}
/*リンクタイトル*/
#mainTopics .topics li h3 ,
#listTopics .topics li h3 {
    font-size: 16px;
    font-weight: normal;
}
#mainTopics .topics li h3 a ,
#listTopics .topics li h3 a {
     color: #555;
}
/*リード文*/
#mainTopics .topics li p.description ,
#listTopics .topics li p.description {
    font-size: 16px;
	color: #666;
}
/*続き*/
#mainTopics .topics li p.more ,
#listTopics .topics li p.more {
    font-size: 16px;
}

#mainTopics .topics li .more a{
	display: inline-block;
    padding: 2px 16px;
    font-size: 15px;
    border-radius: 20px;
    border: none;
    background: var(--third-color);
    color: #FFF;
}
.mainTopics .topics li .more a:hover {
    opacity:0.7;
}

/*一覧を見る*/
#mainTopics .listview {
    font-size: 16px;
    margin: 0 auto;
}

.mainTopics .topics {
    width: 100%;
    padding: 0;
    margin: 0px 0 15px;
    border-bottom: none;
}

#mainTopics .listview a {
    display: inline-block;
    background:var(--second-color);
    color: #fff;
    font-weight: 400;
    text-align: center;
    font-size: 16px;
    border-radius: 4px;
    padding: 6px 30px;
    text-decoration: none;
}

.mainTopics .topics li .more a {
	background: var(--third-color);
	color: #FFF;
	border: none;
	border-radius: 5%;
}

.mainTopics .topics li .more a:hover {
	color: #FFF;
	border: inherit;
}

/*---------------------------
ギャラリー サイト案内・画像 
----------------------------*/
/*ギャラリー*/
.gallery_grid li.galleryGrid .galleryGrid_outer {
    padding: 20px;
}
.gallery_grid li.galleryGrid .image {
    margin-bottom: 10px;
}

div.gallery .comment {
    font-size: 15px;
    line-height: 1.5;
    font-feature-settings: "palt";
}

div.gallery.about .comment::first-line {
font-size: 16px;
color: #00472f;
	font-weight:bold;
}

/*画像*/
.mainArticles .article img{width: 100%;}
.mainArticles .article img,
.mainArticles .article .image{
    max-width: 1080px;
}
.mainArticles .article .article_center {
	max-width: 1080px;
}
.mainArticles .article_right img, .mainArticles .article_left img {
    max-width: 420px;
}

.mainArticles .article_right .image {
    margin: 5px 10px 0 30px;
}

.mainArticles .article_left .image {
    margin: 5px 30px 0 10px;
}

/*---------------------------
パーツ
----------------------------*/
/*ボタン*/
/*ボタン*/
a.linkbtn {
    width: fit-content;
    font-size: 18px;
    padding: 8px 5%!important;
    margin: 1em auto;
    display: inline-block;
    color: #ffffff;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
}
a.linkbtn::after{
	font-family: "Font Awesome 5 Free";
	content: '\f105';
	font-weight: 900;
	margin-left: 1em;
}
a.linkbtn:hover{
	color: #ffffff;
	text-decoration: none;
}
a.linkbtn{
    background:var(--first-color);
}

/*囲い*/
div.envelope {
    margin-top: 5px;
    margin-bottom: 2em!important;
    padding-top: 1.5em;
    padding-bottom: 2em!important;
    padding-right: 2em;
    padding-left: 2.5em;
	background: #ecfff9	!important;
    box-sizing: border-box;
    border-radius: 1em;
}
div.envelope p {
margin-bottom: 0!important;
}


/*番号付きリスト*/
ol.StyleOrderList {
    counter-reset: number 0;
    list-style: outside none none;
    padding-left: 44px;
    line-height: 2;
    margin-top: 1em;
	margin-left: 10px;
}
ol.StyleOrderList li::before {
    background: #6dd0ac;
    border-radius: 50%;
    color: #fff;
    content: counter(number, decimal);
    counter-increment: number 1;
    display: inline-block;
    height: 33px;
    margin-left: -45px;
    margin-right: 0.5em;
    text-align: center;
    width: 35px;
    font-size: 1em;
    padding-bottom: 3px;
}
ol.StyleOrderList li {
	font-size: 1.1em;
    margin-bottom: 0.4em;
    border-bottom: 1px dotted #ccc;
}

/*-------------------------------------------
フロー図（記事）
-------------------------------------------*/
.mainArticles .article.flow {
    position: relative;
    margin: 0 auto 66px;
    box-sizing: border-box;
    overflow: visible;
}

.mainArticles .article.flow::after {
	content: "";
	display: block;
	width: 25px;
	height: 25px;
	border-right: 5px solid var(--first-color);
	border-bottom: 5px solid var(--first-color);
	position: absolute;
	left: 50%;
	bottom: -40px;
	margin-left: -11px;
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	transform: rotate(45deg);
	box-sizing: border-box;
}

.mainArticles .article.flow.end::after{
	content:none;
}

.side_info {
	display: flex;
	align-items:center;
}

.side_info h2, .side_info div{
	width:50%;
}

.side_info h2 img{
	width:70%;
	display:block;
	margin:0 auto;
}
/*診療内容ボタン*/
ul.guide li {
width: calc(100% / 3 - 8px);
float: left;
margin-right: 8px;
margin-bottom: 0.5em;
}
/*リンクボタン*/
a.btn {
display: flex;
padding: 8px;
text-align: center;
text-decoration: none;
font-size: 16px;
font-weight: 400;
background: #825E40;
border: solid 1px #825E40;
color: #fff;
border-radius: 6px;
justify-content: center;
}
/*a.btn:before {
content: ">";
transform: scaleY(0.5);
font-family: monospace;
margin-right: .15em;
}*/
a.btn:hover {
color: #825E40;
background:none;
border: solid 1px #825E40;
text-decoration: none;
}

/*LINEボタン*/
.btn_line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #06c755;
  width: 60%;
  margin-inline: auto;
  padding-block: 16px;
  color: #fff;
  font-size: 120%;
  font-weight: bold;
  text-decoration: none;
  border-radius: 320px;
  transition: all ease-out .25s;
}

.btn_line:hover {
  color: #fff !important;
  filter: brightness(1.1);
}

.btn_line img {
  width: 40px !important;
  height: auto;
  margin: 0 !important;
}