@charset "UTF-8";
@import url("//share.cr-cms.net/hp_agency/hpagency.css");

/*---------------------------
テンプレート
フラット03 ブラウン 1カラム
----------------------------*/

@font-face {
  font-family: "Yu Gothic M";
  src: local("Yu Gothic Medium");
}
@font-face {
  font-family: "Yu Gothic M";
  src: local("Yu Gothic Bold");
  font-weight: bold;
}
body{
	font-size: 16px;
  	color: #333;
    letter-spacing: 0.14em;
    line-height: 1.8em;
  	background: #fff;
	font-family: "Helvetica Neue", HelveticaNeue, "Segoe UI", "游ゴシック体", YuGothic, "Yu Gothic M", "游ゴシック Medium", "Yu Gothic Medium", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN W3", HiraKakuProN-W3, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", 3"メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	padding-top: 0;
}

#wrap {
    margin: 180px auto 0;
    max-width:2000px;
}
a {
    color: #7faf1c;
	text-decoration: none;
}
a:hover {
    color: #6a553e;
}
#mainArticles a:hover img, #sideBanners a:hover img, div.freeHtml a:hover img, div.image img.gallery:hover, #title h1 a:hover {
    filter: alpha(opacity=75);
    -moz-opacity: 0.75;
    opacity: 0.75;
}

.comment {
    text-align: center;
    padding: 0 20px;
    line-height: 20px;
    font-size: small;
}

strong{
  /*color:#921f1f;*/
  color:#333;
  font-weight:bold;
  font-size:1.1em;
}

/*----------------------------------------------------------
ヘッダー
----------------------------------------------------------*/

#wrap_body {
}

/*----------------------------------------------------------
タイトル部
----------------------------------------------------------*/
#title{
	height:170px;
	background:#fff;
}
#title_outer {
	background: #FFF;
      margin-top: 20px;
}

#title_body {
	padding-top: 5px;
	background: url(/materials/179143518370701.png) no-repeat right #FFF;
}
#title h1 {
	background: url(/materials/179143803409201.png) no-repeat;
	background-size: 360px;
}
#title h1 a {
	display: inline-block;
	height: 60px;
	overflow: hidden;
	text-indent: 110%;
	white-space: nowrap;
	width:400px;
}
#title .description{
	text-align:left;
	color: #555;
	font-size:14px;
  line-height: 20px;
  letter-spacing: 0.18em;
}


/*----------------------------------------------------------
メインイメージ
----------------------------------------------------------*/
#mainImage_body #slider img {
    width: 100%;
    max-width: 2560px;
    background-color:#fff;
}
.mainImage #slider li {
    height: auto !important;
}
#mainImage_outer{
  background-color:#fff;
}
.mainImage img
{
	width:100%;
}

/*----------------------------------------------------------
グローバルナビゲーション
----------------------------------------------------------*/
#topMenu{
    top:140px;
    border-bottom:3px solid #3592bb;


}
#topMenu_outer {
    background: #FFF;
    box-shadow: unset;
    max-width:100%;
}
#topMenu .topMenu li a {
    padding: 0;
    background: none;
    font-weight: normal;
    position: relative;
    font-feature-settings: "palt";
    color:#555;
    font-size:1em;
}
#topMenu .topMenu li a,
#topMenu .topMenu li a:hover,
#topMenu{
    line-height: 44px;
    height: 44px;
}
ul#topMenu_body {
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
}
#topMenu .topMenu li {
    -webkit-flex-grow: 1;
    flex-grow: 1;
}


#topMenu .topMenu li:hover {
    background: none;
}
#topMenu .topMenu li a:hover {
    border: none;
    color: #666;
}
#topMenu .topMenu li a:hover:before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    width: 30%;
    height: 4px;
    background: #ccc;
}

/*----------------------------------------------------------
コンテンツ
----------------------------------------------------------*/

#mainContents {
    padding: 80px 0 40px 0;
    background-color:#fff;
}
.mainArticles .article_body,
#topMenu_body,
#title_body{
    width: 1100px;
}
.mainArticles .article {
	padding-bottom: 0px;
	border-bottom: none;
}
.mainArticles .article p {    padding-bottom: 12px;
}

.mainArticles .article_right .image {
    margin: 0;
    margin-left: 30px;
    max-width: 52%;
}
.mainArticles .article_left .image {
    margin: 0;
    margin-right: 30px;
    max-width: 52%;
}

/*----------------------------------------------------------
カラム
----------------------------------------------------------*/
.article {
  /*MultipleColumn*/
  /*ImageLayout*/
}
.article.col2 {
  flex-basis: 49%;
}
.article.col3 {
  flex-basis: 32.5%;
}
.article.col4 {
  flex-basis: 24%;
}
.article.col5 {
  flex-basis: 19%;
}
.article.col2, .article.col3, .article.col4, .article.col5 {
  margin: 0 auto 40px;
}
.article.col2.bg, .article.col2.theme, .article.col2.gray, .article.col3.bg, .article.col3.theme, .article.col3.gray, .article.col4.bg, .article.col4.theme, .article.col4.gray, .article.col5.bg, .article.col5.theme, .article.col5.gray {
  padding: 40px;
}
.article.col2.bg h3, .article.col2.theme h3, .article.col2.gray h3, .article.col3.bg h3, .article.col3.theme h3, .article.col3.gray h3, .article.col4.bg h3, .article.col4.theme h3, .article.col4.gray h3, .article.col5.bg h3, .article.col5.theme h3, .article.col5.gray h3 {
  margin-top: 0;
  padding-top: 0;
}
/*----------------------------------------------------------
最新情報
----------------------------------------------------------*/

#mainTopics {
    border-bottom: none;
    border:1px solid #ccc;
    padding:2em;
    width:auto;
    border-radius:6px;
    margin-top:2em;
}
#mainTopics .topics li .thumb, #mainTopics .topics li .thumb img {
	max-width: 100px;
	max-height: 100px;
}
#mainTopics .topics li .date, .mainTopics .topics li .date {
	font-size: 14px;
}
#mainTopics .topics h3, .mainTopics .topics li h3 {
	font-size: 16px;
}
.mainTopics .topics li h3 a {
	text-decoration: underline;
}
#mainTopics .topics .description, .mainTopics .topics li .description {
	font-size: 14px;
	color: #aaa;
	margin-top: 0px;
}
#mainTopics .topics li .more a, .mainTopics .topics li .more {
	padding: 8px 16px;
	font-size: 14px;
  	border-radius: 4px;
}
.mainTopics .topics li .more a {
    border: none;
    background-color: #6a553e;
    border-radius: 2px;
    color: #fff;
    border: 1px solid #43a5d0;
}
.mainTopics .topics li .more a:hover {
	border: none;
	background-color: #fff;
	color: #6a553e;
  	border: 1px solid #43a5d0;
}
.mainTopics .topics {
	width: 100%;
	padding: 0;
	margin: 0px 0 15px;
  	border-bottom: none;
}
.mainTopics .topics li {
	padding: 40px 0px;
	font-size: 14px;
}
#mainTopics .listview {
    font-size: 14px;
    background: #fc8375;
    padding: 4px 8px;
}
#mainTopics .listview a {
    background: none;
  	padding-left: 0;
  	color:#fff;
}


.mainTopics .topics li .more a {
    border: none;
    background-color: #3592bb !important;
    border-radius: 2px;
    color: #fff;
    border: 1px solid #3592bb !important;
}
.mainTopics .topics li .more a:hover {
    color: #6a553e !important;
    border: 1px solid #6a553e !important;
    background-color: #fff !important;
}
#mainTopics .listview {
    font-size: 14px;
    background: #fff;
  padding: 4px 8px;
  	color: #7eb100 !important;
}
#mainTopics .listview  a{ 
   padding: 4px 8px;
   color: #6a553e !important;
}


/*----------------------------------------------------------
見出し
----------------------------------------------------------*/

#mainArticles h2, #mainTopics h2, #mainServices h2, #mainTopics h2, #listTopics h2 {
    margin-bottom: 60px;
    padding-bottom: 0px;
    border-bottom: none;
    font-size: 30px;
    letter-spacing: 0.2em;
    color: #666;
    text-align: center;
  background-color: #fff;
    border-bottom: none;
    border-top: none;
  font-weight: bold;
}
.mainContents .article h3, #mainTopics h2, #listTopics h2, .mainContents div.gallery h3,.freeHtml h3 {
    text-align: center;
    font-size: 26px;
    color: #555;
    letter-spacing: 0.14em;
    margin: 4em 0 40px;
    position: relative;
    padding-bottom: 14px;
  background-color: #fff;
    border-left: none;
      padding-left: 0;
  font-weight: normal;
}
.mainContents .article h3::after, #mainTopics h2::after, #listTopics h2::after, .mainContents div.gallery h3::after,.freeHtml h3:after {
    content: '';
    position: absolute;
    width: 10%;
    height: 4px;
    bottom: 0;
    left: 44.8%;
    background: #a7a19d;
}
.mainContents .article h3 a {
    text-decoration: none;
}

.mainContents .article h4{
  font-size:18px;
  color:#93622d;
    letter-spacing: 0.1em;
}

.mainContents .article h4::before {
  content: "●";
  margin-left: -1em;
  font-family: "メイリオ", sans-serif;
}

.mainContents .article h5 {
    padding: 4px;
    font-size: 16px;
    margin: 20px 0 10px;
    border-bottom: solid 1px #CCC;
}
/*mainservice*/
#mainServices .services {
    padding: 0 36px;
}

#mainTopics h2{
  margin-top:0.5em;
}

/*----------------------------------------------------------
サイドコンテンツ
----------------------------------------------------------*/
#sideContents {
    background: #3592bb;
}
#sideServices {
    
    width: 60%;
    float: left;
}
.freeHtml {
    font-size: 16px;
}
.sideServices ul li a,
.sideBlogCategories a, 
.sideBlogDates a{
    font-size: 16px;
}

.sideServices ul li {
    display: block;
    padding: 5px 20px 5px 15px;
    text-decoration: none;
    font-size: 1em;
    float: left;
    width: 40%;
}

#sideBanners li {
    text-align: center;
    float: left;
}
      
.freeHtml_outer {
    padding: 15px;
    text-align: left;
}
.freeHtml img {
    width:auto;
    max-width: 100%;
}

.side-title{
    font-weight: bold;
    border-bottom: 1px solid;
    display: inline-block;
    font-size: 18px;
}

.freeHtml_body p {
    font-size: 16px;
    color: #000;
  margin-bottom: 5px;
}

/*リンクボタン*/
a.linkbtn {
background-color: #3bc1d4;
    border-radius: 24px;
    color: #fff;
    margin: 17px;
    padding: 6px 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}
a.linkbtn:hover {
    background-color:#a6e2eb;
    color:#fff;
}


#sideBanners ul {
    overflow: hidden;
    background: #fff;
}

/*----------------------------------------------------------
フッター
----------------------------------------------------------*/

#footer {
  border-top: solid 1px #DDD;
  background-color:#fff;
}
.footer .topMenu{
  width:635px;
  margin:0 auto;
}

.footer * {
    font-size: 16px;
}
.footer li a {
    font-size: 16px;
}
.footer li a:hover {
    color:#6a553e;
    text-decoration:underline;
}

a, .footer a:hover, .footer p a:hover, #topMenu .topMenu li a:hover, #title a:hover {
    color: #3592bb;
}

.footer p a:hover{
    text-decoration:underline;
}


/*----------------------------------------------------------
テーブル
----------------------------------------------------------*/

.article table p {
    margin: 0;
}
.article table:not(.contactTable) {
    border-collapse: collapse;
    border-left: 1px solid #ccc;
    border-spacing: 0;
    border-top: 1px solid #ccc;
    margin: 10px auto;
}
.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;
}


/*テーブル*/
.article table.table{
  border-collapse:collapse;
  width:100%;
  margin:0 0 15px 0 !important;
}
.article table.table th,
.article table.table td{
  padding:6px;
  border:solid 1px #ddd;
  background:#fff !important;
}
.article table.table th{
  background:#faf6f1 !important;
  width:25%;
}

/*-------------------------------------
テーブル(診療時間)
---------------------------------------*/

table.table2{
  border-collapse:collapse;
  margin:0 0 20px 0;
  width:100%;
}
table.table2 th,
table.table2 td{
  padding:7px;
  text-align: center;
  background:#fff !important;
  border:solid 1px #ccc;
}
table.table2 th{
  background:#faf6f1 !important;
}



/*----------------------------------------------------------
お問い合わせテーブル
----------------------------------------------------------*/

table.contactTable tr td label {
    display: block;
    margin-left: 6px;
}
table.contactTable th {
    width: 30%;
    background: #fff;
}
table.contactTable th, table.contactTable td {
    padding: 16px 5px;
    border-top: solid 1px #aaa;
}
table.contactTable input.button, table.contactTable input[type="button"] {
    display: block;
    float: left;
    line-height: 40px;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    text-align: center;
    height: 60px;
    margin: 8px;
    margin-bottom: 16px;
    border: none;
    border-radius: 2px;
  	cursor: pointer;
}
table.contactTable input.button:hover,table.contactTable input[type="button"]:hover {
    filter: alpha(opacity=75);
    -moz-opacity: 0.75;
    opacity: 0.75;
}
table.contactTable input.button{
	width: 33%;
	background: #43a5d0;
}
table.contactTable input.button:hover {
	background: #43a5d0;
}
table.contactTable input[type="button"]{
	width: 100px;
	background: #aaa;
}
table.contactTable input[type="button"]:hover {
	background: #ccc;
}
table.contactTable input[type="text"], table.contactTable input[type="password"], table.contactTable textarea {
    padding: 6px;
    border: solid 1px #b6b6b6;
    font-size: 16px;
    margin-left: 6px;
}
.validator-form .validator-message-valid,
.validator-form .validator-message-invalid{
    padding-left: 24px;
    font-size: 14px;
    padding-top: 2px;
}
p.contact-note {
    padding: 14px 20px 0px;
    font-size: 14px;
    background: #eee;
    margin: 20px;
    font-weight: bold;
    color: #ca2f2f;
}



/*-------------------------------------------
その他
-------------------------------------------*/
.mainArticles .article {
    overflow: visible;
}

/* 固定ヘッダーのアンカー対策 */
#contents [id*="Anc_"] {
  margin-top : -170px;
  padding-top : 170px;
}
.ams-build #contents [id*="Anc_"] {
  margin : 0;
  padding : 0;
}

ul.maru {
  list-style-type: none;
  margin:1em 1em 1em 1.2em;
  font-weight:normal;
  color:#333;
}
ul.maru li::before {
  content: "●";
  margin-left: -1em;
  font-family: "メイリオ", sans-serif;
}

ul.ps {

list-style-type: none;
margin-left:1em;
color:#6b5b3d;
}
ul.ps li::before {
content: "※";
margin-left: -1em;
font-family: "メイリオ", sans-serif;
}

/*サイドコンテンツ*/
#side{
  width:980px;
  clear: both;
}
#side p{
  margin-bottom:0em;
}
#side_left{
  float:left;
  margin:0 30px 0 0;
}
#side_right{
  float:left;
  text-align:left;
  margin:0 0 50px 0;
}
#side_right span{
  font-size:200%;
  font-weight:bold;
}


/*プロフィール*/
dl.profile{
  max-width: 700px;
  font-size:16px;
  margin:0;
}
dl.profile dt{
  float:left;
  clear:left;
  width:130px;
  font-weight:normal;
  padding:1px 0 1px 16px;
  background:url(/materials/153498436046701.png) 0 13px no-repeat;
}
dl.profile dd{
  float:left;
  width:550px;
}


/*---------------------------
編集画面調整用
---------------------------*/
.ams-build #wrap { margin: 0 auto; }
.ams-build #title { position: absolute; }
.ams-build #topMenu { position: absolute; }
.ams-build #mainImage { margin-top: 210px; }


.sideServices ul li a {
    padding: 0 ; 
}

#side_left {
    float: left;
    margin: 0 30px 0 0;
}


/*写真横並び*/
.photo-gallery {
  display: flex;
  gap: 15px; /* 写真同士の間隔 */
  margin-top: 15px; /* テキストとの間隔 */
}

.photo-gallery img {
  width: 49%; /* 均等に半々の幅にする */
  height: auto; /* アスペクト比を維持 */
  object-fit: cover;
  border-radius: 4px; /* 必要に応じて角丸を設定 */
}

/* スマホなど画面幅が狭い時に縦並びへ自動切り替えする場合 */
@media (max-width: 600px) {
  .photo-gallery {
    flex-direction: column;
  }
  .photo-gallery img {
    width: 100%;
  }
}