@charset "UTF-8";
@import url("grid.css");

:root { /* 色変更される場合は、#以降のカラーコードを変更してください IE非対応 */
    --base-color: #000;
    --link-color: #666;
    --linkhover-color: #999;
    --back-color: #f7f7f7;
    --border-color: #ccc;
    --white-color: #fff;
}

img {
	max-width:100%;
	height: auto;/*高さ自動*/
}
a {
    display:block;
    color: var(--link-color);
    text-decoration-line: none;
}
a:hover { 
    color: var(--linkhover-color);
}

/*ヘッダー
-------------------------------------*/
.header {
	display: flex;
    flex-direction: row;
    padding: 2rem 0 0 0;
}
.header-box {
	margin-left: auto;
	margin-top: 8px;
}
.contact-button {
	padding: 1rem;
	border: 2px solid var(--base-color);
}
nav ul {
	display: flex;
    flex-direction: row;
    justify-content: space-around;
    list-style: none;
	margin: 1rem 0 0 0;
}
nav li {
	flex: 1 0 auto;
}
nav li a {
    text-decoration: none;
    text-align: center;
    width: 100%;
}
nav a:hover {
    background-color: var(--back-color);   
}
nav a {
    padding: 0.5rem;
}


/*ヘッダー　ロゴマーク
-------------------------------------*/
.header h1 img{
    height: 30px;
    width:  auto;
}

/*資料請求エリア
-------------------------------------*/
.btn-area{
    background-image: url("../img/clinic.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    margin: -10px 0 0 0;
}

.btn-area img{max-width: 90%;}

.btn-area-inner{
  background-color:rgba(255, 255, 255, 0.92);
  border: 2px solid  #0e8f9b;
  width: 730px;
  max-width: 90vw;
  margin:15px auto;
  padding: 2rem 0 0 0;
}

.atention{
  text-align: left;
  margin:40px auto;
  padding: 0 15px;
  max-width: 600px;
}

.limit{
  display: block;
  margin:0px auto;
  width: 400px;
  max-width: 90%;
  height:50px;
  line-height: 50px;
  background-color: #0095ab;
  color: #fff;
  font-weight: 800;
  font-size: 2.6rem;
  text-align: center;
}

a.linkbtn{
  display: block;
  margin:0px auto;
  width: 400px;
  max-width: 90%;
  height:80px;
  line-height: 80px;
  border-radius: 6px;
  background-color: #00b900;
  color: #fff;
  font-weight: 800;
  font-size: 2.6rem;
  text-align: center;
}

a.linkbtn:hover{
  background-color: #0e8f9b;
}

/*資料FIXボタン
-------------------------------------*/
a.fix-pc{
  display: block;
  position: fixed;
  top: 80px;
  right: 0;
  width: 54px;
  height: 180px;
  line-height: 54px;
  writing-mode: vertical-rl;
  border-radius: 12px 0 0 12px;
  background-color: #00b900;
  color: #fff;
  font-weight: 800;
  font-size: 1.6rem;
  text-align: center;
}

a.fix-pc:hover{background-color: #0e8f9b;}

a.fix-mb{
  display: block;
  position: fixed;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%) ;
  width: 230px;
  height: 48px;
  line-height: 48px;
  border-radius: 12px 12px 0 0;
  background-color: #00b900;
  opacity:85%;
  color: #fff;
  font-weight: 800;
  font-size: 1.6rem;
  text-align: center;
}

a.fix-mb:hover{background-color: #0e8f9b;}


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

#navi {
    display: block !important;
}

.img-mb100{
  width: 768px;
  margin: 0px auto;
}

}/*PC指定ここまで*/

@media screen and (max-width: 768px){

/* スマホ時は非表示 */
.no-mb{
    display: none !important;
}

.header {
	flex-direction: column;
    margin-bottom: 10px;
}
.header #open,#close  {
    position: absolute;
    top: 20px;
    right: 12px;
}
nav ul {
	flex-direction: column;
}
.header li {
	padding-top: 0;
}
/* スマホ時はMENUボタンを表示 */
#open {
    display: block;
    background: url(../img/button.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 50px;
    height: 50px;
    border: none;
    position: absolute;
    top: 20px;
    right: 12px;
}
#close  {
    display: block;
    background: url(../img/button2.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 50px;
    height: 50px;
    border: none;
    position: absolute;
    top: 20px;
    right: 12px;
}
/* スマホ時はメニューを非表示 */
#navi {
    display: none;
}

.img-mb100{
  width: 100vw;
}

}/*スマホ指定ここまで*/

/*メイン画像100％
-------------------------------------*/
.mainimg img {
    width: 100vw;
}
    
/*メインコンテンツ
-------------------------------------*/
section {
	margin: 0;
	padding: 4rem 0;
}
.gray-back {
	background-color: var(--back-color);
}
.text-area{
  max-width: 980px;
  margin: 0 auto;
  padding: 0 15px;
}

/*キャッチコピー
-------------------------------------*/
.catch {
    text-align: center;
    background-image: url("../img/bk-1.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    margin: -10px 0 0 0;
    padding: 5rem 0 5rem 0;
}

.catch h2 {
    padding-bottom: 1rem;
}
.under {
    border-bottom: 0.4rem solid var(--base-color);
    padding:0 1rem 1rem 1rem;
}
.center {
	text-align: center;
	margin-bottom: 4rem;
}
.key-color{
  color: #0e8f9b;
}

/*申し込みの流れ
-------------------------------------*/
.flow.row {
	margin-bottom: 3rem;
}

/*フッター
-------------------------------------*/
footer {
    background-color: var(--back-color); 
    padding: 2rem 0;
}
footer h4 {
    border-bottom: 3px solid var(--border-color);
}

/*お問い合わせ
-------------------------------------*/
.contact-box {
	border: 1px solid var(--border-color);
	text-align: center;
	padding: 2rem 0;
}
.table {
	margin: 4rem 0;
}
.table th {
	width: 250px;
}

/*コピーライト
-------------------------------------*/
.copyright {
    text-align: center;
    padding: 1rem 0;
    background-color: var(--back-color);
    border-top:2px solid #0e8f9b;}
}
.copyright a {
    color: var(--white-color);
    text-decoration: none;
	display: inline;
}

/*ページトップへ戻るボタン
-------------------------------------*/
#pagetop {
    position: fixed;
    bottom: 15px;
    right: 15px;
}
#pagetop a {
    display: block;
    color: var(--white-color);
    width: 50px;
    padding: 10px 5px;
    text-align: center;
}
#pagetop a:hover {
    opacity: 74%;
}

/* 幅768px以下の表示
-------------------------------------*/
@media screen and (max-width: 768px){
	
/*ヘッダー
-------------------------------------*/
.header-box {
	display: none;
}	
/*お問い合わせ
-------------------------------------*/
.table th {
	width: 100%;
	display: block;
}	
.table td {
	display: block;
}
}

/*汎用（追加）
-------------------------------------*/
.left{text-align: left;}
.mg30{margin: 30px;}
.mgt30{margin-top: 30px;}
.mgb30{margin-bottom: 30px;}
.mgb50{margin-bottom: 50px;}
.mgb-5{margin-bottom: -5px;}
.grn{color: #0e8f9b;}
.pd15{padding: 15px;}
.bd-grn{border: 1px solid #0e8f9b;}
.bd-grn3{border: 3px solid #0e8f9b;}
.bdb-grn{border-bottom: 1px solid #0e8f9b;}
.bold{font-weight: 500;}
.big{font-size: 120%;}
.small{
font-size: 70%;
line-height: 120%;
}
.marker-yel{background:linear-gradient(transparent 60%, #fff954 60%);}

/*リスト
-------------------------------------*/
ul.grn-list li{
  list-style-type: square;
  padding-left: 1em;
  text-indent: -1em;
}
ul.grn-list li::marker{
  color: #0e8f9b;
}

