@charset "utf-8";


/* =Reset default browser CSS.
Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {border: 0;font-family: inherit;font-size: 100%;font-style: inherit;font-weight: inherit;margin: 0;outline: 0;padding: 0;vertical-align: baseline;}
:focus {outline: 0;}

ol, ul {list-style: none;}
table {border-collapse: separate;border-spacing: 0;}
caption, th, td {font-weight: normal;text-align: left;}
blockquote:before, blockquote:after,q:before, q:after {content: "";}
blockquote, q {quotes: "" "";}
a img{border: 0;}
figure{margin:0}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display: block;}
/* -------------------------------------------------------------- */

body{
color:#333;
font:12px verdana,"ヒラギノ丸ゴ ProN W4","Hiragino Maru Gothic ProN","メイリオ","Meiryo","ＭＳ Ｐゴシック","MS PGothic",Sans-Serif;
line-height:1.5;
background:#00afcc;
-webkit-text-size-adjust: none;
}

html{
}


/* リンク設定
------------------------------------------------------------*/
a{color:#925113;text-decoration:none;}
a:hover{color:#dc8e2e;}
a:active, a:focus{outline:0;}


/* 全体
------------------------------------------------------------*/
#wrapper{
margin:0 auto;
padding:20px 1%;
width:98%;
position:relative;
background:#fff;
overflow:hidden;
}

* html #wrapper{background:#fff;}

.inner{
margin:0 auto;
width:100%;
}


/*************
/* ヘッダー
*************/
h1{
font-size:12px;
line-height:1.6;
font-weight:normal;
}

#header{
overflow:hidden;
padding:5px 0 0;
color:#fff;
background:url(../img/bg2_b.gif) no-repeat left 0;
}

* html #header{height:1%;}



/*************
/* ロゴ
*************/
#header .logo{
float:left;
padding:20px 0;
}

.logo a{
color:#fff;
font-size:20px;
font-weight:bold;
line-height:1;
font-family:"Palatino Linotype", "Book Antiqua", Palatino,"ヒラギノ明朝 Pro W3","Hiragino Mincho Pro","ＭＳ Ｐ明朝","MS PMincho",serif;
}

.logo span{
font-size:12px;
font-weight:normal;
}

.info{
float:right;
padding:20px 0;
}

.tel strong{
font-size:20px;
font-weight:bold;
}

/**************************
/* トップナビゲーション
**************************/
ul#topnav{
clear:both;
overflow:hidden;
margin:0 auto;
background:url(../images/bg2.gif) no-repeat left 0;
border-radius:5px 5px 0 0;
}

* html ul#topnav{height:1%;}

ul#topnav li{
float:left;
text-align:center;
}

ul#topnav a{
width:156px;
font-size:12px;
display:block;
padding:10px 0;
color:#fff;
line-height:1.2;
border-left:1px solid #590000;
}

ul#topnav a span{font-size:9px;}

ul#topnav li:first-child a{border:0;}

ul#topnav li:last-child a{width:155px;}

ul#topnav li.active a,ul#topnav a:hover{background:url(../img/bg2_b2.gif) no-repeat left 0;}


/**************************
/* メイン画像（トップページ+サブページ）
**************************/
#mainBanner{
clear:both;
line-height:0;
background:url(../images/mainbg01.png)  left 0;

}

#mainBanner .inner{position:relative;}

#mainBanner img{
max-width:100%;
height:auto;
}

.slogan{
position:absolute;
max-width:100%;
height:auto;
bottom:10px;
left:10px;
padding:5px 10px;
line-height:1.4;
z-index:100;
}

.slogan h2{
padding-bottom:5px;
font-size:20px;
}

.slogan h3{
font-size:14px;
}

.slogan h4{
font-size:14px;
}

/**************************
/* グリッド
**************************/
.gridWrapper{
padding-bottom:20px;
clear:both;
overflow:hidden;
}

* html .gridWrapper{height:1%;}
	
.grid{
float:left;
padding-bottom:0px;
border:1px solid #dbdbdb;
border-radius:5px 5px 0 0;
}

.grid h3{
padding:5px;
font-size:13px;
color:#fff;
text-align:center;
border-radius:5px 5px 0 0;
background:#9c6714;
}

.grid h4{
padding:5px;
font-size:13px;
color:#fff;
text-align:center;
border-radius:0 0 0 0;
background:#050777;
}

.grid p{
padding:10px 10px 0;
}

.grid ul
{
margin:5px 10px 3px;
text-align: center;
}

.grid li{
padding:5px 0 4px;
border-bottom:1px solid #ccc;
}

.grid li:first-child{border-top:0;}
.grid li:last-child{border-bottom:0;}

.gridWrapper img{
max-width:100%;
height:auto;
}

/* フッター内のグリッド(3カラム) */
#footer .grid{
color:#fff;
border:0;
background:transparent;
}

#footer .col3 ul{margin:0 0 10px 5px;}

#footer .col3 li{
padding:0 7px 0 5px;
margin-bottom:3px;
list-style:none;
border-bottom:0;
display:inline-block;
border:0;
border-right:1px solid #fff;
}


/*************
メイン コンテンツ
*************/
section.content{
margin-bottom:20px;
font-size:14px;
overflow:hidden;
}

* html section.content{height:1%;}

section.content p{margin-bottom:5px;}

h3.heading{
padding:5px 10px;
margin-bottom:10px;
font-size:16px;
color:#fff;
background:#9c6714;
border-radius:4px;
}


h4 {
  padding: .25em 0 .5em .75em;
  border-left: 6px solid #ccc;
  border-bottom: 2px solid #ccc;
  font-size: 15px;
}

h5 {
    font-size: 15px;
    color: #C00;
    background: url(../img/check.png) left top no-repeat;
    padding: 3px 0 3px 30px;
    margin: 0px 0px 10px;
    border-bottom: 1px dotted #999;
}


.alignleft{
float:left;
clear:left;
margin:3px 10px 10px 1px;
}

.alignright{
float:right;
clear:right;
margin:3px 1px 10px 10px;
}

img.frame,#gallery img{
border:1px solid #fff;
}

#gallery .gridWrapper{padding:0;}
#gallery .grid{border:0;}


/*************
テーブル
*************/
table.table{
border-collapse:collapse;
width:100%;
margin:10px auto;
}

table.table th,table.table td{
padding:5px;
border:1px solid #a8a198;
background: #f5f5f5;
}

table.table tr:first-child th,table.table tr:first-child td{
border-top:#aaa 1px solid
}

table.table th{
font-weight:bold;
letter-spacing:1px;
white-space:nowrap;
color:#fff;
background:#bcbcbc;
}


/*************
/* フッター
*************/
#footer .inner{
clear:both;
margin-bottom:20px;
padding:20px 0;
overflow:hidden;
background:url(../images/bg2.gif) no-repeat left 0;
border-radius:0 0 10px 10px;
}

* html #footer{height:1%;}

#footer a{color:#fff;}

#footer .copyright{font-size:11px;}

.image {
    width: 100%; /* 相対指定にする */
}
.image img {
    display: block;
    max-width: 100%;
    height: auto;
}


/* PC用 */
@media only screen and (min-width:960px){
	#wrapper,.inner,ul#topnav{
	width:940px;
	padding:0;
	}
	
	#wrapper{padding:20px 0;}
	
	#main{
	float:left;
	width:920px;
	padding-left:10px;
	}
	
	#subpage #sub{
	float:left;
	width:235px;
	overflow:hidden;
	}
	
	/* グリッド */
	.gridWrapper{
	width:954px;
	margin-left:-14px;
	padding:0 9px 20px;
	}
	.grid{width:218px;margin:0 0 10px 14px;}
	.col0{width:323px;}
	.col2{width:452px;}
	.col3{width:682px;}
	.col4{
	width:665px;
	background-color: #ffffed;
	}
	.col5{width:660px;}

	
	#gallery .gridWrapper{width:694px;}
	#gallery .grid{width:215px;}
	#subpage #sub .grid{
	float:none;
	margin-bottom:30px;
	}
	
}


/* モニター幅960px以下 */
@media only screen and (max-width:960px){
	h1{padding:0 1%;width:98%}
	#header .logo{padding-left:10px;}
	#header .info{padding-right:10px;}
	
	ul#topnav{
	clear:both;
	width:100%;
	border-radius:0;
	border-top: 1px solid #dc8e2e;
	}

	ul#topnav li{
	width:33%;
	border-right:1px solid #dc8e2e;
	border-bottom:1px solid #dc8e2e;
	box-sizing:border-box;
  -webkit-box-sizing:border-box;
  -moz-box-sizing:border-box;
	}

	ul#topnav li:nth-child(3n){border-right:0;width:34%;}

	ul#topnav li a{
	width:100%;
	border:0;
	}

	ul#topnav li:first-child a,ul#topnav li:last-child a{width:100%;}
	
	.grid{
	width:45%;
	margin:2px 2% 10px;
	}
	
	.col2{
	float:none;
	width:94%;
	margin:0 2% 20px;
	}
	
	.grid img{
	float:left;
	margin-right:5px;
	}
	
	#gallery .grid{
	width:48%;
	margin:0 1%;
	padding:0;
	}
	
	#gallery .grid img{
	float:none;
	}
	
	section.content{padding:0 10px;}
	
	section.content img{
  max-width:100%;
	height:auto;
	}
	
	#sub .grid{padding-bottom:20px;}
	#subpage #sub .grid{
	float:none;
	margin:0 auto 20px;
	width:98%;
	}
	
	#footer{padding:0;}
	
	#footer .grid{
	float:none;
	width:100%;
	margin-bottom:5px;
	text-align:center;
	
	}
}




/* スマートフォン 横(ランドスケープ) */
@media only screen and (max-width:640px){
	.grid img{
	float:none;
	margin:20px auto 10px;
	}
	
	.grid p{text-align:left;}
	
	img.frame,#gallery img{border-width:2px;}

  .alignleft,.alignright{
	float:none;
	display:block;
	margin:0 auto 10px;
	}
	
	#footer .grid p{text-align:center;}
}

/* youtube */
.youtube2 {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}
.youtube2 iframe {
  position: absolute;
  top: 0;
  right: 0;
  width: 100% !important;
  height: 100% !important;
}


figure.gazo-box {
float: left;
padding: 13px 10px 20px 20px;
}


/* スマートフォン 縦(ポートレート) */
@media only screen and (max-width:480px){
	#header .logo{
	padding-top:10px;
	padding-bottom: 0px;
	float: initial;
        text-align: center;
	}
  .info{
  padding:10px 0;
  float: initial;
text-align: center;
  }
	ul#topnav li{width:50%;}

	ul#topnav li:nth-child(3n){
	border-right:1px solid #dc8e2e;
	width:50%;
	}	
	ul#topnav li:nth-child(2n),ul#topnav li:nth-child(6n){border-right:0;}
	
	#mainBanner h2,#mainBanner h3{font-size:80%;} h4{font-size:130%;}
	
	.grid{width:96%;}
}


@media screen and (max-width: 959px) {
  #container {
    width: 100%;
    margin: -40px 0px -40px 0px;
  }
  img {
      max-width:100%;
  }
  .cont {
      background:none;
  }
}
@media screen and (min-width: 960px) {
  #container {
    width: 960px;
    margin: -19px auto;
  }
  .cont {
      background:url(../img/kinyu.png) top center no-repeat;
      height:76px;
      width:960px;
  }
  p.img {
      display:none;
      text-align:center;
  }
}

.box2 {
    padding: 0.7em 1em;
    margin: 2em 0;
    background: #FFF;
    border: solid 2px #6091d3;/*線*/
    border-radius: 10px;/*角の丸み*/
}
.box2 p {
    margin: 0; 
    padding: 0;
}

.box3 {
    padding: 0.7em 1em;
    margin: 2em 0;
    background: #FFF;
    border: solid 2px #c98510;
    border-radius: 10px;
    width: 80%;
}
.box3 p {
    margin: 0; 
    padding: 0;
}





.square_btn{
    display: inline-block;
    padding: 0.5em 1em;
    text-decoration: none;
    background: #668ad8;/*ボタン色*/
    color: #FFF;
    border-bottom: solid 4px #627295;
    border-radius: 3px;
}
.square_btn:active {/*ボタンを押したとき*/
    -ms-transform: translateY(4px);
    -webkit-transform: translateY(4px);
    transform: translateY(4px);/*下に動く*/
    box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.2);/*影を小さく*/
    border-bottom: none;
}

.square_btn02 {
    display: inline-block;
    margin-top:14px;
    margin-bottom:9px;
    margin-left:0px;
    margin-right:0px;
    padding: 0.3em 1em;
    text-decoration: none;
    color: #ff1d1d;
    border: solid 2px #ff1d1d;
    border-radius: 3px;
    transition: .4s;
}

.square_btn02:hover {
    background: #f88836;
    color: white;
}

.square_btn03{
    display: inline-block;
    padding: 0.5em 1em;
    text-decoration: none;
    background: #1b7b74;/*ボタン色*/
    color: #FFF;
    border-bottom: solid 4px #025330;
    border-radius: 3px;
}
.square_btn03:active {/*ボタンを押したとき*/
    -ms-transform: translateY(4px);
    -webkit-transform: translateY(4px);
    transform: translateY(4px);/*下に動く*/
    box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.2);/*影を小さく*/
    border-bottom: none;
}

a:hover img {

    opacity: 0.8;
    filter: alpha(opacity=80);
    -ms-filter: “alpha( opacity=80 )”;

}



/* テーブル
------------------------------------------------------------*/

table.table01 {
	width:100%;
	border-right:#3EB1C6 solid 1px;
	border-collapse: collapse;
	border-top:#3EB1C6 solid 1px;
}
table.table01 thead th {
	background:#3EB1C6;
	color:#FFF;
	padding:10px 15px;
	border-right:#FFF solid 1px;
	border-bottom:#FFF solid 1px;
}
table.table01 thead th:last-child {
	border-right:#3EB1C6 solid 1px;
}
table.table01 tbody th {
	background:#3EB1C6;
	color:#FFF;
	padding:10px 15px;
	border-bottom:#FFF solid 1px;
	vertical-align:top;
}
table.table01 tbody tr:last-child th {
	border-bottom:#3EB1C6 solid 1px;
}
table.table01 tbody td {
	background:#FFF;
	padding:10px 6px;
	border-left:#3EB1C6 solid 1px;
	border-bottom:#3EB1C6 solid 1px;
	vertical-align:top;
}

@media screen and (max-width: 640px) {
table.table01 thead {
	display:none;
}
table.table01 tbody th {
	display:block;
}
table.table01 tbody td {
	display:block;
}
table.table01 tbody td::before {
	content: attr(label);
	float: left;
	clear:both;
	font-weight:bold;
}
table.table01 tbody td p {
	padding-left:6em;
}
}

.test-form-box{width:80%;margin:auto;text-align:left;}
 
/*プレースホルダーの色*/
input:::-webkit-input-placeholder { color: #666; }
input::-moz-placeholder { color: #666; }
 
/*入力時の背景色*/
input:focus, select:focus, textarea:focus {
background: #bde9ba;
}
 
/*入力フォームの設定*/
.form-text{ 
width:100%;
font-size:1.0em;
border:1px solid #ccc;
border-radius: 5px;
padding: 5px;
color: #000;
background:#f5f5f5;
margin-bottom:20px;
}
 
/*submitボタンの設定*/

.form-submit{
margin-top:1em;
width:100%;
padding:0.2em;
font-size:1.6em;
font-weight:bold;
border:1px solid #f90;
border-radius: 5px;
-webkit-border-radius: 5px;    /* Safari,Google Chrome用 */
-moz-border-radius: 5px;
color:#fff;
background: #F90; /* for non-css3 browsers */
box-shadow: 3px 3px 3px rgba(0,0,0,0.25);
-moz-box-shadow: 3px 3px 3px rgba(0,0,0,0.25);
-webkit-box-shadow: 3px 3px 3px rgba(0,0,0,0.25);}
.form-submit:hover{
background: #F60; /* for non-css3 browsers */
}

.box29 {
    margin: 1em 0;
    background: #fff;
    border: solid 2px #f32e0e;
}
.box29 .box-title {
    font-size: 15px;
    background: #f32e0e;
    padding: 4px;
    color: #FFF;
    font-weight: bold;
    letter-spacing: 0.05em;
}
.box29 p {
    padding: 15px 20px;
    margin: 0;
}




#SMP_STYLE .zipcode ul li,
#SMP_STYLE .phone ul li,
#SMP_STYLE .time ul li,
#SMP_STYLE .name ul li {   ←←←　新しく追加
	width: auto;
	float: left;
	margin: 0 3px 0 0;
	padding: 0;
	height: 35px;
	line-height: 35px;
}


table.tabletest {
  border: 1px solid #333;
  border-collapse: collapse;
  table-layout: fixed;
  width: 100%;
}

table.tabletest th,
table.tabletest td {
  border: 1px solid #333;
}

table.tabletest tbody th,
table.tabletest tbody td {
  border: 1px solid #333;
}



.box8 {
    padding: 0.5em 1em;
    margin: 1em 0;
    color: #232323;
    background: #fff8e8;
    border-left: solid 10px #ffc06e;
}
.box8 p {
    margin: 0; 
    padding: 0;
}


    .disp-img{
        background-image:url(/line/contents/33/img/img_main01.jpg); 
	background-size: 100%;
        background-repeat:  no-repeat;         
        width:auto;                     
        height:400px;  
    }
    
    
    @media only screen and (max-width:480px){
	.disp-img{
	background-size: 100%;
	width: auto;
        height: 160px;
	}
			}
			
    .disp-second{
        background-image:url(/line/contents/33/img/img_main02.jpg); 
	background-size: 100%;
        background-repeat:  no-repeat;         
        width:auto;                     
        height:420px;  
    }
    
    
    @media only screen and (max-width:480px){
	.disp-second{
	background-size: 100%;
	width: auto;
        height: 160px;
	}
			}