@charset "utf-8";
/* update 2016.11.27 */

/* =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:15px verdana,"ヒラギノ丸ゴ ProN W4","Hiragino Maru Gothic ProN","メイリオ","Meiryo","ＭＳ Ｐゴシック","MS PGothic",Sans-Serif;
line-height:1.5;
background:#fff;
-webkit-text-size-adjust: none;
}

html{background:#66ceef;}


/* リンク設定
------------------------------------------------------------*/
a{
/*  color: #66ceef; */
  color: #3B579;
  text-decoration: none;
}
a:hover{color:#73CC45;}
a:active, a:focus{outline:0;}


/* 全体
------------------------------------------------------------*/
#wrapper{
margin:0 auto;
padding:0 1%;
width:98%;
position:relative;
}

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


/*************
/* ヘッダー
*************/
h1{
font-size:12px;
line-height:1.6;
font-weight:normal;
background:#66ceef;
color:#fff;
}

#header{
overflow:hidden;
padding:5px 0 5px;
}

* html #header{height:1%;}


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

.logo a{
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;
color:#333;
}

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

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

/**************************
/* トップナビゲーション
**************************/
ul#topnav{
overflow:hidden;
margin:5px 0;
}

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

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

ul#topnav a{
width:156px;
font-size:16px;
display:block;
padding:15px 0;
color:#fff;
background:#66ceef;
border-left:1px solid #6487f5;
}

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

ul#topnav li.active a,ul#topnav a:hover{background:#6487f5;}


/**************************
/* メイン画像（トップページ+サブページ）
**************************/
/*co
#mainBanner{
clear:both;
margin:10px auto 10px;
padding:4px;
position:relative;
line-height:0;
background:#66ceef;
}

#mainBanner img{
max-width:100%;
height:280px;
}
*/
/*
.slogan{
position:absolute;
max-width:100%;
height:auto;
bottom: 40px;
left: 5px;
padding:5px 10px;
line-height:1.4;
z-index:100;
background:url(images/tp2.png);
}
*/

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

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


/**************************
/* グリッド
**************************/
.gridWrapper{
clear:both;
padding: 10px 0;
overflow:hidden;
}

* html .gridWrapper{height:1%;}
	
.grid{
float:left;
}

.colDark,.colLight{
padding-bottom:5px;
border-top:3px solid #66ceef;
border-bottom:3px solid #66ceef;
}

.colLight{border-color:#6487f5}

.colDark h3,.colLight h3{
margin:10px 10px 5px;
font-size:14px;
font-weight:bold;
}

.colDark a,.colLight a{
display:block;
padding:3px 5px;
border-radius:3px;
color:#fff;
background:#66ceef;
}

.colLight a{background:#6487f5;}

.colDark a:hover{
background:#6487f5;
}

.colLight a:hover{
background:#66ceef;
}

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

.grid ul{margin:5px 10px;}

.grid li{
padding:5px 0;
list-style:inside;
border-bottom:1px dashed #ebebeb;
}

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

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

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

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


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

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

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

h3.heading,#sub .grid h3{
  padding:5px 10px;
  margin-bottom:10px;
  font-size:16px;
  background: #E0CCEF;
  border-left:7px solid #66ceef;
  border-right:7px solid #66ceef;
}
#sub .grid h3{margin-right: 10px;}

.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:4px solid #fff;
box-shadow:0 0 2px rgba(0, 0, 0, 0.5);
-webkit-box-shadow:0 0 2px rgba(0, 0, 0, 0.5);
}

#gallery .gridWrapper{padding:0;}

#gallery img{
margin:5px;
}

section#gallery{overflow:visible;}


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

table.table th,table.table td{
padding:5px;
border:1px solid #6487f5;
}

table.table tr:first-child th,table.table tr:first-child td{
border-top:#6487f5 4px solid
}

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


/*************
/* フッター
*************/
#footer{
clear:both;
padding:20px 0;
overflow:hidden;
background:#66ceef;
border-top:1px solid #6487f5;
}

* html #footer{height:1%;}

#footer a{color:#fff;}
#footer a:hover{color:#6487f5;}

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


/* PC用 */
@media only screen and (min-width:960px){
	#wrapper,.inner{
	width:940px;
	padding:0;
	}
	
	#wrapper{padding-bottom: 10px;}
	
	#main{
	float:left;
	width:690px;
	}
	
	#subpage #sub{
	float:right;
	width:1px;
	overflow:hidden;
	}
	
	/* グリッド */
	.grid{width:235px;}
	.col2{width:470px;}
	.col3{width:705px;}
	.col4{width:940px;}
	#gallery .grid{width:230px;}
	#subpage #sub .grid{
	width:100%;
	float:none;
	padding-bottom:30px;
	}
	
}


/* モニター幅960px以下 */
@media only screen and (max-width:960px){
	h1 p.inner{padding:0 2%;width:96%}
	#header .logo{padding-left:10px;}
	#header .info{padding-right:10px;}
	
	ul#topnav{
	clear:both;
	width:100%;
	}

	ul#topnav li{
	width:33%;
	margin:0 0 5px;
	border-right:1px solid #6487f5;
	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-top:0;
	}

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


/* iPad 縦 */
/*
@media only screen and (max-width:768px){
	#mainBanner{padding:3px;}
}
*/


/* スマートフォン 横(ランドスケープ) */
@media only screen and (max-width:640px){
	.grid{width:100%;}
	
	.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;}

  #profile_img {
    max-width: 75%;
    display: block;
    margin:auto;
  }
}


/* スマートフォン 縦(ポートレート) */
@media only screen and (max-width:480px){
  #profile_img {
    max-width: 75%;
    display: block;
    margin:auto;
  }
	#header .logo{padding-top:10px;}
  .info{padding:10px 0 0;}
	ul#topnav li{width:50%;}

	ul#topnav li:nth-child(3n){
	border-right:1px solid #6487f5;
	width:50%;
	}	
	ul#topnav li:nth-child(2n),ul#topnav li:nth-child(6n){border-right:0;}
	
	#mainBanner{margin-left:1px;}
  /*
	#mainBanner h2,#mainBanner h3{font-size:80%;}7
  */
}

/* custom css */
th, td {
  vertical-align: middle;
}

.appeal {
  color: #00129a;
}

/* gridの派生 */
.grid_top {
  height: 150px; 
}
.grid_top h3 {
  height: 35px; 
}
.grid_footer {
  width: 250px; 
}
/*
  柳瀬編集
*/
@media screen and (min-width: 680px) {
  .col3_footer {
    width:685px !important;
  }
}
@media screen and (max-width: 679px) {
  .col3_footer {
    
  }
}


/* fontawesome */
.fa {
  margin: 1px;
}
.logo.top i{
  vertical-align:super;
}
.logo.top a{
  color:#99cf5b;
  font-size:24px;
}
h4 {
  margin: 1px 0;
  padding: 3px 10px;
  border-left: 6px solid #66ceef;
  background-color: #E0CCEF;
  /*
  border-top: 1px solid #efefef;
  border-bottom: 1px solid #cccccc;
  */
}
/* 記事のタイトル */
p.case_title{
  font-size: 110%;
  font-weight: bold;
}
/* 戻るリンク　*/
span.link_back{
  float: right;
}
.page_flow .content p, .page_work .content p {
  margin: 5px 0 5px 15px;
}
.page_flow .content p.arrow, .page_work .content p.arrow {
  margin: 5px 0;
  text-align:center;
}
span.sup {
  font-size: 90%;
}
p.contact_link {
  margin: 10px 0 0 15px !important;
}
a.contact_link {
  margin: 0;
  padding: 5px 7px;
  background-color: #66ceef;
  color: #fff;
  border-radius: 6px;
}
a.contact_link:hover {
  margin: 0;
  padding: 5px 7px;
  background-color: #6487f5;
  color: #fff;
  border-radius: 6px;
}
.content table {
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}
.content table td {
  padding: 5px 15px;
}
.content table td.title {
  padding: 5px;
  text-align: center;
  font-size: 105%;
}
.content table td.arrow {
  padding: 5px;
  text-align: center;
}

/* 費用表の下の注釈 */
.fee_sup {
  padding: 3px 15px;
}

.ggmap {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
}
 
.ggmap iframe,
.ggmap object,
.ggmap embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
div#social_link {
  text-align: right;
  vertical-align: super;
}
div#social_link img {
  margin: 5px 5px;
  vertical-align: middle;
}
div#side_social_link {
  margin: 15px 0 5px 5px;
  vertical-align: super;
}
div#side_social_link img {
  margin: 5px 5px;
  vertical-align: middle;
}

/*
  柳瀬追加
*/
/* サイドメニューのlist設定 */
#sub > section > ul > li {
  list-style: none;
  border-left: 5px solid #fff;
  padding-left: 3px;
  transition: 0.5s all;
}
#sub > section > ul > li:hover {
    border-left: 5px solid #66ceef;
}
/* 『ご相談の流れ』レイアウト設定 */
section.page_flow > section.content > article > h4 {
  color: #fff;
  background-color: #66ceef;
  box-sizing: border-box;
  margin: 0;
  padding: 0.3em;
  border: 1px solid #66ceef;
  text-align: center;
  font-size: 1.3em;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}
section.page_flow > section.content > article > p.description {
  box-sizing: border-box;
  margin: 0;
  padding: 0.5em;
  border-bottom: 1px solid #66ceef;
  border-right: 1px solid #66ceef;
  border-left: 1px solid #66ceef;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  text-align: center;
}
section.page_flow > section.content > article > p.arrow > i {
  color: #6487f5;
  margin: 0.5em;
  font-size: 1.5em;
  
}
/* 連絡先設定 */
.appeal2 {
  font-size: 1.5em;
  color: #fff;
  background-color: #00129a;
  border: 2px double #fff;
  text-align: center;
  letter-spacing: 0.3em;
}
/* 事例紹介一覧 */
ul.list-case {
  padding: 0 1em;
  
}
ul.list-case > li {
  margin: 1em 0;
  padding: 0 0 1em 0;
  
  border: 1px solid #66ceef;
  
  box-shadow: 3px 3px 5px 0px rgba(0,0,0,0.3);
}
ul.list-case > li > a {
  display: block;
  padding: 0.5em;
  
  background-color: #66ceef;
  color: #fff;
  
}
ul.list-case > li > a:hover, ul.list-case > li > a:focus {
  background-color: #6487f5;
}
ul.list-case > li > div {
  position: relative;
  height: 70px;
  overflow: hidden;
  
  padding: 0.5em 1em 0 1em;
}
ul.list-case > li > div.case-readmore {
  height: auto;
  text-align: right;
}
/* トップページの設定 */
article.grid_top {
  position: relative;
}
article.grid_top > p.description {
  height: 4em;
}
article.grid_top > p.readmore {
  margin: 0 auto;
  width: 80%;
  text-align: center;
}
/* 『フォームで問い合わせる』カスタマイズ */
p.contact_link {
  text-align: right;
}
p.contact_link > a.contact_link {
  padding: 0.5em 1em;
}
/* mainBanner 設定 */
div#mainBanner {
  position: relative;
}
div#mainBanner.mainImg {
  height: 300px;
  background-image: 
    linear-gradient(to left, rgba(161,255,206,0.20), rgba(250,255,209,0.80)),
    url("../images/fee.png");
  background-size: cover;
}
div#mainBannerTitle {
  padding: 10px 0 10px 5px;
  color: #6487f5;
}
div#mainBannerCaption1 {
  padding: 10px 0 10px 20px;
  color: #00129a;
}
div#mainBannerCaption2 {
  padding: 10px 0 10px 20px;
  color: #00129a;
}
@media only screen and (min-width: 600px) {
  div#mainBannerTitle {
    font-size: 3em;
    text-shadow: 
      2px 2px 1px #fff, -2px -2px 1px #fff,
      -2px 2px 1px #fff, 2px -2px 1px #fff;
  }
  div#mainBannerCaption1 {
    font-size: 1.5em;
    text-shadow: 
      2px 2px 1px #fff, -2px -2px 1px #fff,
      -2px 2px 1px #fff, 2px -2px 1px #fff;
  }
  div#mainBannerCaption2 {
    font-size: 2em;
    text-shadow: 
      2px 2px 1px #fff, -2px -2px 1px #fff,
      -2px 2px 1px #fff, 2px -2px 1px #fff;
  }
}
@media only screen and (max-width: 599px) {
  div#mainBannerTitle {
    font-size: 2em;
    text-shadow: 
      1px 1px 1px #fff, -1px -1px 1px #fff,
      -1px 1px 1px #fff, 1px -1px 1px #fff;
  }
  div#mainBannerCaption1 {
    font-size: 1.2em;
    text-shadow: 
      1px 1px 1px #fff, -1px -1px 1px #fff,
      -1px 1px 1px #fff, 1px -1px 1px #fff;
  }
  div#mainBannerCaption2 {
    font-size: 1.3em;
    text-shadow: 
      1px 1px 1px #fff, -1px -1px 1px #fff,
      -1px 1px 1px #fff, 1px -1px 1px #fff;
  }  
}
/* 各ページバナー部分設定 */
div#mainBanner.flow {
  margin: 5px 0;
  height: 280px;
  background-size: cover;
  background-position: 0% 70%;
}
div#mainBanner.work {
  margin: 5px 0;
  height: 280px;
  background-size: cover;  
}
div#mainBanner.fee {
  margin: 5px 0;
  height: 280px;
  background-size: cover;
  background-position: 0% 80%;
}
div#mainBanner.case {
  margin: 5px 0;
  height: 280px;
  background-size: cover;  
  background-position: 0% 40%;
}
div#mainBanner.access {
  margin: 5px 0;
  height: 280px;
  background-size: cover;  
}
div#mainBanner.contact {
  margin: 5px 0;
  height: 280px;
  background-size: cover;  
  background-position: 0% 30%;
}
div#mainBanner > div.slogan {
  position: absolute;
  z-index: 100;
  bottom: 0;
  padding: 0 0 0 1em;
  box-sizing: border-box;
  width: 100%;
  background-color: #6487f5;
  
}
/* お問い合わせフォーム関連 */
form#main_form input#fullname {
  width: 100%;
  max-width: 150px;
}
form#main_form input#addr {
  width: 100%;
}
form#main_form input#email,
form#main_form input#tel {
  width: 100%;
  max-width: 200px;
}
form#main_form textarea#contact_text  {
  width: 100%;
}

.hanging-indent {
  padding-left: 1em;      /* 全体を1文字分右にずらす */
  text-indent: -1em;     /* 1行目だけを1文字分左に戻す */
}