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

img {
	max-width:100%;
	height: auto;/*高さ自動*/
}
a {
    display:block;
    color: #666;
    text-decoration-line: none;
}
a:hover { 
	color: #000;
	transition: 0.5s ;
	opacity: 0.6;
	filter: alpha(opacity=60);
	-moz-opacity:0.6;
}

a:hover img{
	transition: 0.5s ;
	opacity: 0.6;
	filter: alpha(opacity=60);
	-moz-opacity:0.6;
}

/*ヘッダー
-------------------------------------*/
.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 #000;
}
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: #f7f7f7;    
}
nav a {
    padding: 0.5rem;
}

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

#navi {
    display: block !important;
}
}

@media screen and (max-width: 768px){
.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,#close  {
    display: block;
    width: 50px;
    border: none;
    position: absolute;
    top: 20px;
    right: 12px;
}
/* スマホ時はメニューを非表示 */
#navi {
    display: none;
}
}
    
/*メイン画像
-------------------------------------*/


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

h1 {
  text-align:center;
  background: #66cccc; 
  padding: 0.4em;/*文字周りの余白*/
  color: #fff;
	border-radius: 1.5em;/*角の丸み*/
	font-weight:bold;
	margin-bottom:0.7em;
}

/*キャッチコピー
-------------------------------------*/
.catch {
	text-align: center;
    padding:0 2rem 2rem 2rem;
}

.under {
    border-bottom: 0.4rem solid #000;
    padding:0 1rem 1rem 1rem;
}
.center {
	text-align: center;
	margin: 2rem 2rem 2rem 2rem ;
}



.kari {
	width:70%
	text-align:center;
}



/* パソコンで見たときは"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; }
}

.sp1{
	margin:bottom:10em;
}



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

}

/*フッター
-------------------------------------*/
footer {
    background-color: #f7f7f7;
    padding: 5rem 0;
}
footer h4 {
    border-bottom: 3px solid #ccc;
}

/*キャンペーン
-------------------------------------*/

canpain {
    background-color: #f7f7f7;
    padding: 5rem 0;
}

.contact-box {
	text-align: center;
	padding: 0rem;
}
.table {
	margin: 4rem 0;
}
.table th {
	width: 250px;
}

/*Q&A
-------------------------------------*/

dl.qa {
 overflow: hidden;
 _zoom: 1;
}
 
dl.qa dd,
dl.qa dt {
 text-indent: -2.6em; 
 padding: 0 20px 0px 50px;
}
 
dl.qa dt {
 margin: 20px 20px 0 0;
}
 
dl.qa dd:first-letter,
dl.qa dt:first-letter {
 font-size: 1.6em;
 font-weight: bold;
 margin-right: 10px;
	padding: 5px;
}
 
dl.qa dd {
 margin: 10px 0 -1px 0;
 padding-bottom: 20px;
 border-bottom: solid 1px #aaa;
}
 
dl.qa dt:first-letter {
	color: #fff;
	background-color:#b8e6e6;
}
 
dl.qa dd:first-letter {
	color: #fff;
	background-color:#c3e6a1;
}

/*ドロップシャドウ
-------------------------------------*/

.shadow_test {
        filter: drop-shadow(5px 5px 5px #aaa);
}

.hei{
        height:0.5em;
}


/*コピーライト
-------------------------------------*/
.copyright {
    text-align: center;
    padding: 2em;
    background-color: #ccc;
}
.copy1 {
    color: #000;
    text-decoration: none;
	display: inline;
	padding:0.5em;
	font-size:0.9em;
}

.copy2 {
    color: #000;
    text-decoration: none;
	display: inline;
	padding:0.5em;
	font-size:0.8em;
}

/*ページトップへ戻るボタン
-------------------------------------*/
#pagetop {
    position: fixed;
    bottom: 15px;
    right: 15px;
}
#pagetop a {
    display: block;
    width: 70px;
    padding: 10px 5px;
    text-align: center;
}
#pagetop a:hover {
	transition: 0.5s ;
    opacity: 0.5 ;
}


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

#fax_iframe {
    width: 295px;
    height: 200px;
}

}


/* 追加 */
#maintop_wrap_pc {
    position:relative;
}

#maintopbtn_pc {
    position:absolute;
    top: 72%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
}

#maintop_wrap_sp {
	position:relative;
}

#maintopbtn_sp {
    position:absolute;
    top: 76%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
}



