/* IMPORT CSS */
@import url("grid.css");

img {
	max-width:100%;
	height: auto;/*高さ自動*/
}
a {
    display:inline;
    color: #333;
    text-decoration-line: none;
    transition: .2s;
    word-break: break-all;
    
}
a:hover { 
    color: #999;
}
a img:hover {
	opacity: 0.8;
    transition: .2s;
}

strong {
	font-weight:bold;
	color: #00adb2;
}

.blueback {
	background-color: #003399;
	color: #fff;
	padding: 1rem;
}
.underline {
	border-bottom: 3px solid #003399;
	padding-bottom: 0.5rem;
}
.center {
	text-align: center;
}

.insurance h6 {
font-size: 16px;
background: #bf9d6d; /*背景色*/
padding: 0.5em;/*文字周りの余白*/
color: white;/*文字を白に*/
border-radius: 2em;/*角の丸み*/
text-align: center;
font-weight: 400;
}

.catch img {
    border-radius:10px;
}

figcaption{
    font-size: 14px;
}

.price h6{
   font-size: 18px; 
   font-weight: bold;
}
.treatment h6{
   font-size: 18px; 
   font-weight: bold;
}
.treatment figure{
    text-align: center;
}
.treatment figcaption{
    text-align: center;
    font-size: 16px;
}
.treatment figure2{
    text-align: center;
}
.treatment figcaption2{
    text-align: left;
    font-size: 16px;
}
.treatment p {
text-indent: -1em; 
padding-left: 1em; 
}

.gifffer {
    vertical-align: text-bottom;
    margin-left: auto;
    padding: 3px !important;
    background: #fff !important;
    outline: none;
}
 
.gifffer img {
    border: none !important;
    margin: 0;
    padding: 0;
}

/*ヘッダー
-------------------------------------*/
.head {
	display: flex;
    flex-direction: row;
    padding: 1rem 0 0 0;
}

.head h1 { 
    padding: 2rem 0 0 0;
}

.summary {
    position: absolute;
    font-size: 12px;
    left: 20px;
    margin: 0;
}

.telbox {
	margin-left: auto;
	font-size: 3.5rem;
    text-decoration-line: none;
}
.telbox a { 
    color: #333;
    text-decoration-line: none;
}
.telbox a:hover { 
    color: #999;
    text-decoration-line: none;
}
.telbox .reserve {
	font-size: 14px;
}
@media (min-width: 768px) {
   a[href^="tel:"] {
       pointer-events: none;
   }
}

.menu {
	background-color: #00adb2;
}
nav ul {
	display: flex;
    flex-direction: row;
    justify-content: space-around;
    list-style: none;
	margin-bottom: 0;
}
nav li {
    flex: 1 0 auto;
	margin-bottom: 0;
}
nav li a {
    text-decoration: none;
    text-align: center;
	color: #fff;
}
nav a:hover {
    background-color: #08898d;    
	color: #fff;
}
nav a {
    padding: 2rem 1rem;
	display: block;
}

@media screen and (min-width: 768px){
/* PC時はMENUボタンを非表示 */
#open,#close {
    display: none !important;
}

#navi {
    display: block !important;
}
}

@media screen and (max-width: 768px){
.head {
	flex-direction: column;
    text-align: left;
    margin-bottom: 20px;
}
.telbox {
	margin-left: 0;
	text-align: center;
}
.head #open,#close  {
    position: absolute;
    top: 20px;
    right: 12px;
    }
nav ul {
	flex-direction: column;
}

nav li {
	padding-top: 0;
	border-bottom: 1px solid #ccc;
	margin-bottom: 0;
}
/* スマホ時はMENUボタンを表示 */
#open,#close  {
    display: block;
    width: 50px;
    border: none;
    position: absolute;
    top: 20px;
    right: 12px;
}
/* スマホ時はメニューを非表示 */
#navi {
    display: none;
}
}

/*リスト
-------------------------------------*/
.access li {
  text-indent: -1.3em;
  padding-left: 1.3em;
  margin-bottom: 1rem;
  margin-left: 1rem;
}

.treatment li {
  text-indent: -1.3em;
  padding-left: 1.3em;
  margin-bottom: 1rem;
  margin-left: 1rem;
}
    
/*テーブル
-------------------------------------*/
table {
	width:100%;
	margin-bottom:1em;
	border-collapse:collapse;
	border:1px solid #666;
}
th {
	padding:10px;
	text-align:center;
	vertical-align:middle;
	border:1px solid #666;
    background:#eee6da;
}
td {
	padding:10px;
	border:1px solid #666;
}

.recruit table {
	width:100%;
	margin-bottom:1em;
	border-collapse:collapse;
	border:1px solid #666;
}
.recruit table th {
	padding:10px;
	text-align:left;
	vertical-align:middle;
	border:1px solid #666;
    background:#eee6da;
}
.recruit table td {
	padding:10px;
	border:1px solid #666;
}

.price table {
	width:100%;
	margin-bottom:1em;
	border-collapse:collapse;
	border:1px solid #666;
}
.price table th {
	padding:10px;
	text-align:left;
	vertical-align:middle;
	border:1px solid #666;
    background:#eee6da;
    width:50%;
}
.price table td {
	padding:10px;
	border:1px solid #666;
    width:50%;
}

@media screen and (max-width: 768px){
	table {
      border: none;
	  width: 100%;
	}
	.recruit table {
      border: none;
	  width: 100%;
	}
	.recruit table th,
	.recruit table td {
        display: block;
		border-top: none; /* 一旦、すべてのborder-topを削除 */
		text-align: left;
	}
    .recruit table tr:first-child th{
      border-top: 1px solid #666; /* 一番上にあるthだけborder-topを追加 */
    }
	.price table {
      border: none;
	  width: 100%;
	}
	.price table th,
	.price table td {
        display: block;
		border-top: none; /* 一旦、すべてのborder-topを削除 */
		text-align: left;
        width: 100%;
	}
    .price table tr:first-child th{
      border-top: 1px solid #666; /* 一番上にあるthだけborder-topを追加 */
    }
    
.formWrap input[type="text"], textarea {
	width:100%;
	padding:10px;
	font-size:100%;
	display:block;
}
    
.scroll {
width: 100%;
overflow: auto; /* 横スクロールバーを表示 */
white-space: nowrap; /* セル内にあるテキストの折り返しを禁止 */
}
}

/*汎用クラス
-------------------------------------*/
/* 写真中央寄せ */
.imgC {
	clear:both;
	overflow:hidden;
	margin-bottom:20px;
	text-align:center;
}
.imgC img {
    max-width:75%;
	border-radius:0px;
	margin-bottom:0.5em;
}
.imgC p {
	text-align:left;
}

/* 写真左寄せ */
.imgL {
	clear:both;
	overflow:hidden;
	margin-bottom:20px;
}
.imgL img {
	float:left;
	margin:0 1em 0.5em 0;
	border-radius:5px;
}

/* 写真右寄せ */
.imgR {
	clear:both;
	overflow:hidden;
	margin-bottom:20px;
}
.imgR img {
	float:right;
    max-width:35%;
	margin:0 0 1em 0.5em;
	border-radius:0px;
}
.imgR-t {
	clear:both;
	overflow:hidden;
	margin-bottom:20px;
}
.imgR-t img {
	float:right;
    max-width:25%;
	margin:0 0 1em 0.5em;
	border-radius:0px;
}
@media screen and (max-width: 768px){
	.imgC {
		margin-bottom:10px;
	}
	.imgC img {
		float:none;
		max-width:100%;
		margin-left:0;
	}

	.imgL {
		margin-bottom:10px;
	}
	.imgL img {
		float:none;
		max-width:100%;
		margin-right:0;
	}

	.imgR {
		margin-bottom:10px;
        text-align:center;
	}
    .imgR p{
        text-align: left;
	}
	.imgR img {
		float:none;
		max-width:75%;
		margin-left:0;
	}
    .imgR-t {
		margin-bottom:10px;
        text-align:center;
	}
    .imgR-t p{
        text-align: left;
	}
    .imgR-t li{
        text-align: left;
	}
    .imgR-t img {
		float:none;
		max-width:45%;
		margin-left:0;
	}
}

/*メイン画像
-------------------------------------*/
.mainimg{
  position: relative;
  text-align: center;
}
.mainimg img.imgup{
  position: absolute;
  top: 40%;
  left: 40%;
  transform: translate(-50%,-50%);
  color: #fff;
}
@media screen and (max-width: 768px){
.mainimg img.imgup{
  width: 65%;
  top: 35%;
  left: 42%;
}
}

/*メインコンテンツ
-------------------------------------*/
main {
    margin: 5rem 0 5rem 0;
}

/*新着情報
-------------------------------------*/
.news h2 {
    background-color: #00adb2;
	color: #fff;
	padding: 1rem;
}
.news dl {
border-bottom: 1px solid #ccc;
padding: 10px 0;
}
.news dt {
padding-bottom: 6px;
}

@media screen and (min-width: 768px) {
.news dt {
clear: left;
float: left;
width: 22%;
}
.news dd {
margin-left: 16%;
}
}
/*PC版表示CSS
-------------------------------------*/
.pc_area{
  display:block;
}
.sp_area{
  display:none;
}

/*スマホ版表示CSS
-------------------------------------*/
@media screen and (max-width: 768px){
  .pc_area{
    display:none;
  }
  .sp_area{
    display:block;
  }
}

/*改行
-------------------------------------*/
  .br-pc { display:block; }
  .br-sp { display:none; }

@media screen and (max-width: 650px){	
  .br-pc { display:none; }
  .br-sp { display:block; }
}

/* パソコンで見たときは"pc"のclassがついた画像が表示される */
.pc { display: block !important; }
.sp { display: none !important; }

/* スマートフォンで見たときは"sp"のclassがついた画像が表示される */
@media only screen and (max-width: 750px) {
.pc { display: none !important; }
.sp { display: block !important; }
}

/*ページタイトル
-------------------------------------*/
.page_title h1 {
	padding: 20px 0;
	font-size: 26px;
    letter-spacing: 0.02rem;
    font-weight: bold;
	color: #08898d;
	text-align: center;
    text-shadow:3px 3px 2px #fff, -3px -3px 2px #fff,
      -3px 3px 2px #fff, 3px -3px 2px #fff,
      3px 0px 2px #fff, -3px -0px 2px #fff,
      0px 3px 2px #fff, 0px -3px 2px #fff;
	background-image: url("../img/title_background.jpg");
    padding: 5.5rem;
}

h5 {
  padding: 0.25em 0.5em;/*上下 左右の余白*/
  color: #333;/*文字色*/
　font-weight: bold;
  background: transparent;/*背景透明に*/
  border-left: solid 5px #00adb2;/*左線*/
  margin-top: 50px;
}

/*フッター
-------------------------------------*/
footer {
    background-color: #fff;
    padding: 0;
	color: #fff;
}
footer h5 {
    border-bottom: 2px solid #fff;
}

/*コピーライト
-------------------------------------*/
.copyright {
    text-align: center;
    padding: 1rem 0;
    background-color: #00adb2;
}
.copyright a {
    font-size: 14px;
    color: #fff;
    text-decoration: none;
	display: inline-block;
}

/*ページトップへ戻るボタン
-------------------------------------*/
#pagetop {
    position: fixed;
    bottom: 25px;
    right: 15px;
}
#pagetop a {
    display: block;
    background: #00adb2;
    color: #fff;
    width: 50px;
    padding: 10px 5px;
    text-align: center;
}
#pagetop a:hover {
    background: #08898d;
}
/*パンくずリスト
-----------------------------------*/
.breadcrumb {
    font-size: 14px;
    margin: 0 0 1em 0;
    padding: 0;	
}
.breadcrumb li {
    list-style-type: none;
}
.breadcrumb li a {
    display: inline-block;
    color: #959fa5;
}.breadcrumb li a:hover {
    text-decoration-line: underline;
    display: inline-block;
    opacity: 0.8;
}