@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,li {
list-style:none;
list-style-type: none;
display:block;
}

table {
width:800px;

border-collapse: collapse;
border-spacing:0;
margin:20px auto;
}

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;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
display:block;
}

#inline-content{
padding:20px;
}

body{
font:14px/2.0 "Hiragino Kaku Gothic ProN","メイリオ", sans-serif;
color:#000000;
background:#ffffff;
-webkit-text-size-adjust:none;
}

/* リンク設定
------------------------------------------------------------*/

a{
margin:0;
padding:0;
text-decoration:none;
outline:0;
vertical-align:baseline;
background:transparent;
font-size:100%;
color:#18a8a0;
}

a:hover, a:active{
-webkit-transition:opacity 1s;-moz-transition:opacity 1s;-o-transition:opacity 1s;
outline:none;
color:#cdcdcd;
}

/**** Clearfix ****/

nav .panel:after, #mainNav:after, .newsTitle:after, .bg:after,.post:after{
content:"";
display:table;
clear:both;
}

nav .panel,#mainNav,.newsTitle,.bg, .post{
zoom:1;
}


.error,.red{
    color: #ff0000;
}

/* レイアウト
------------------------------------------------------------*/

#wrapper, .inner{
margin:0 auto;
width:1040px;
}

#header{
margin-bottom:40px;
}

#content{
float:left;
width:1040px;
padding:0 0 30px 0;
}

#sidebar{
text-align:center;
float:left;
width:255px;
padding:30px 0;
}

#footer{
clear:both;
padding:40px;
} 

table th {

    border-top: #DDDDDD 1px solid;
    border-bottom: #DDDDDD 1px solid;
    border-right: #DDDDDD 1px solid;
    background: #F5F5F5;
    padding: 10px 13px;
    vertical-align: top;
white-space: nowrap;
}

table td {
    border-top: #DDDDDD 1px solid;
    border-bottom: #DDDDDD 1px solid;
    padding: 10px 13px;
}


/* ヘッダー
------------------------------------------------------------*/

#header h1 {
    position: relative;
    padding: 15px 0 0 20px;
    text-align: left;
}
#header h1 img {
    width: 320px;
}

.contact{
position:relative;
float:right;
text-align:right;
font-size:80%;
margin-top:-60px;
}

#header h2{
position:relative;
clear:both;
text-align:left;
line-height:0;
}

#header h2 img{
z-index:1000;
position:relative;
width:60px;
margin:-80px 0 0 42px;
}

#header .pnav ul{
position:relative;
float:right;
}

#header .pnav ul li{
font-weight:bold;
display:inline;
margin-left:5px;
font-size:90%;
}

#header .pnav ul li:before{
content:"・";
}

#header .pnav ul li a{
padding-left:5px;
color:#000000;
}

#header .pnav ul li a:hover{
color:#999999;
}


/* トップページ　メイン画像
------------------------------------------------------------*/

#mainImg{
line-height:0;
}

#mainImg img{
width:100%;
height:auto;
margin-top:-220px;
}

#subImgrap{
width:1040px;
margin:0 auto;
line-height:0;
}

#subImg{
width:100%;
height:164px;
background-color:#42BFB0;
margin-top:0px;
overflow:hidden;
}

#subImg a:hover{
opacity: 0.5;
}

#subImg li{
float:left;
width:326px;
margin:0 10px;
}

#subImg li img{
width:326px;
}

.post{
margin:0 0 30px 10px;
}

/* タイポグラフィ
------------------------------------------------------------*/
#sidebar .prof{
text-align:left;
border-top:2px solid #937d77;
border-bottom:2px solid #937d77;
padding-top:20px;
padding-left:0px;
padding-bottom:20px;
display:inline-block;
}

#sidebar .title{
color:#FF8000;
font-size:120%;
font-weight:bold;
font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", "Sawarabi Mincho", serif;
}

#sidebar .name{
font-size:140%;
font-weight:bold;
line-height:1.8;
}

#sidebar p{
font-size:90%;
line-height:1.5;
}

h2.title{
text-align:center;
clear:both;
margin:0 0 30px 0px;
color:#045FB4;
font-size:200%;
line-height:1.5;
font-weight:bold;
}

h2.title span{
padding-bottom:10px;
}

h3.title{

margin:0 0 20px 10px;
padding-top:20px;
color:#045FB4;
font-size:180%;
line-height:1.2;
font-weight:bold;
font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", "Sawarabi Mincho", serif;
}

.title_catch{
line-height:1.6;
margin-top:-30px;
margin-bottom:50px;
padding:20px;
background-color:#045FB4;
width:90%;
text-align:left;
color:#fff;
font-size:180%;
font-weight:bold;
font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", "Sawarabi Mincho", serif;
}

.post p{
padding:0 0 15px 0;
color:#333333;
font-size:110%;
}

.post p strong{
font-weight:bold;
color:#42BFB0;
}

.post p.corp{
font-weight:bold;
font-size:90%;
}

.post p.name{
margin-top:-15px;
font-weight:bold;
}

.post p.name{
margin-top:-15px;
font-weight:bold;
font-size:110%;
}

.post ul{
margin:10px 0 20px 20px;
}

.post ul li{
padding-left:5px;
list-style:disc;
}

.post h1{
margin:0;
padding:0;
font-size:150%;
font-weight:bold;
color:#006eb6;
font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", "Sawarabi Mincho", serif;
}

.post h2{
margin:15px 0 25px;
padding:15px 0;
font-size:130%;
font-weight:bold;
color:#000000;
border-bottom:2px solid #000000;
}

.post h3{
margin:15px 0 25px;
padding:15px 0;
font-size:120%;
font-weight:bold;
border-bottom:1px solid #000000;
}

.post h4{
margin:15px 0 10px;
padding:15px 0;
font-size:110%;
font-weight:bold;
}

.post h5{
margin:15px 0 10px;
padding:15px 0;
font-size:110%;
font-weight:bold;
}

.post h6{
margin:15px 0 10px;
padding:15px 0;
font-size:110%;
font-weight:bold;
}

.post blockquote{
clear:both;
padding:10px 0 10px 25px;
margin:10px 0 25px 0px;
border-left:5px solid #e9e9e9;
}
 
.post blockquote p{
padding:5px 0;
}

.post table{
border:1px #cccccc solid;
border-collapse:collapse;
border-spacing:0;
margin:10px 0 30px;
width:100%;
}

.post table th{
padding:15px;
border:#cccccc solid;
border-width:0 0 1px 1px;
font-weight:bold;
}

.post table td{
padding:15px;
border:1px #cccccc solid;
border-width:0 0 1px 1px;
}

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

img.aligncenter {
display:block;
margin:5px auto 30px auto;
text-align:center;
}

img.alignright{
margin:5px 0 30px 30px;
}

img.alignleft{
margin:5px 30px 30px 0;
}

.alignright{
float:right;
}

.alignleft{
float:left;
}

/* その他
------------------------------------------------------------*/
.profile li{
float:left;
margin-bottom:50px;
}

.profile li img{
width:320px;
margin:0 30px;
}
.profile li p{
margin:0 30px;
font-size:90%;
color:#045FB4;
}

/* 改行位置切り替え
------------------------------------------------------------*/
  .br-pc { display:block; }
  .br-sp { display:none; }

/* サイドバー
------------------------------------------------------------*/

.widget, .widgetInfo{
margin:0 0 20px;
}

#banners img{
max-width:255px;
height:auto;
padding-bottom:10px;
}

.widget h3{
clear:both;
margin:0 0 20px;
padding:5px 0;
font-size:130%;
font-weight:bold;
border-bottom:2px solid #000000;
}

.widget a{
font-weight: bold;
display:block;
padding:5px 0 5px 0;
color:#000000;
}

.widget a:hover{
color:#999999;
}

.newsTitle{
clear:both;
margin:0 0 20px;
padding:5px 0;
font-size:100%;
border-bottom:2px solid #000000;
}

.newsTitle h3{
font-size:130%;
float:left;
font-weight:bold;
}

.newsTitle p{
float:right;
padding:5px 5px 0 5px;
font-size:.8em;
}

.newsTitle a{
font-weight:bold;
color:#000000;
}

.newsTitle a:hover{
color:#999999;
}

.news p{
clear:both;
padding-bottom:2px;
}

.news p:last-child{
border:0;
}

.news p a{
font-weight: bold;
display:block;
padding:5px 0;
color:#000000;
}

.news p a:hover{
color:#999999;
}

.news span{
padding-left:10px;
}


/* フッター
------------------------------------------------------------*/

#footer ul{
text-align:center;
padding-bottom:10px;
}

#footer li{
display:inline-block;
vertical-align:text-top;
text-align:left;
margin-right:30px;
}

#footer li a{
font-weight:bold;
display:block;
padding:0 0 0 10px;
overflow:hidden;
color:#000000;
}

#footer li a:before{
content:"・";
}

#footer li a:hover{
color:#cdcdcd;
}

#footer li li{
display:block;
padding:0;
}

*:first-child+html #footer li{
display:inline;
}

*:first-child+html #footer ul ul,*:first-child+html #footer li li a,*:first-child+html #footer li li{
display:none;
}

#copyright{
width:100%;
border-top:1px solid #000;
clear:both;
padding:10px 0;
text-align:center;
font-size:75%;
zoom:1;
}

#pagetop{
position:fixed;
right:30px;
bottom:10px;
font-size:40px;
color:#cdcdcd;
cursor: pointer;
}


/* トップページ 最新記事3件
------------------------------------------------------------*/

.thumbWrap{
width:770px;
margin:0 -20px 20px 0;
}

.thumbWrap li{
float:left;
width:236px;
margin:0 20px 40px 0;
background:none;
}

.thumbWrap img{
margin-bottom:15px;
}

ul.thumb h3{
margin-top:20px;
font-size:100%;
font-weight:bold;
text-align:center;
border:2px solid #000000;
}

ul.thumb h3 span{
display:block;
padding:7px;
color:#000000;
}

ul.thumb h3 span:hover{
color:#999999;
}


/* メインメニュー　PC用
------------------------------------------------------------*/

@media only screen and (min-width:1025px){

.line{
margin-top:10px;
width:100%;
display:block;
border:1px #019d9a solid;
}

nav#mainnav{
position:relative;
margin-top:2px;
border-top:2px solid #045FB4;
background-color:#ffffff;
}

nav#mainnav ul{
display:flex;
justify-content:center;
align-items:center;
}

nav#mainnav ul li a{
display:block;
text-align:center;
width:148px;
float:left;
height:60px;
font-size:100%;
color:#000;
}

nav#mainnav ul li a p{
display: table-cell;
    width: 148px;
    height: 60px;
    text-align: center;
    vertical-align: middle;

}

nav#mainnav ul li a p:hover{
background-color:#045FB4;
color:#ffffff;
}

nav#mainnav ul li a span,nav#mainnav ul li a strong{
display:block;
font-size:90%;
line-height:1.7;
}

nav#mainnav ul li a span{
font-size:70%;
}

nav#mainnav ul li a:hover span, nav#mainnav ul li a:hover{
color:#999999;
}

nav#mainnav ul ul{
width:148px;
border-top:0;
}

nav#mainnav ul li ul{
display: none;
}

nav#mainnav ul li:hover ul{
display: block;
position: absolute;
top:60px;
text-align:center;
z-index:500;
}

nav#mainnav ul li li{
background:#ffffff;
border-bottom:1px dotted #cdcdcd;
float: none;
width:148px;
height:60px;
line-height:40px;
margin:0;
list-style-type:none;
}

nav#mainnav ul li li:last-child{

}

nav#mainnav ul li li a{
width:100%;
height:40px;
padding:0;
line-height:40px;
font-size:95%;
text-lign:center;
}

nav#mainnav ul li li a:hover{
color:#999999;
}

nav div.panel{
display:block !important;
}

a#menu{
display:none;
}

}


/* iPadサイズ以下（1024px）からアコーディオンメニュー
------------------------------------------------------------*/

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

.main_image{
margin-top:70px;
position:relative;
width:100%;
}

#header{
position:fixed;
width:100%;
z-index:500;
}
	
#headerWrap{
position:relative;
width:100%;
height:70px;
background:#ffffff;
border-bottom:1px solid #cccccc;
}
	
#header h1 {
    margin: 0px 0 0px 0;
    padding: 35px 0 0 20px;
    display: inline-block;
    z-index: 500;
}
#header h1 img {
    height: 60px;
    width: auto;
}
	
#header h2{
padding-top:0px;
}
	
#header h2 img{
max-height:50px;
margin: -35px 0 0 0px;
width:auto !important;
}

#header .pnav ul{
display:none;
}

a#menu{
top:-10px;
right:10px;
display:inline-block;
position:relative;
width:40px;
height:40px;
}

#menuBtn{
display:block;
position:absolute;
top:60%;
left:50%;
width:18px;
height:2px;
margin:-1px 0 0 -7px;
background:#000000;
transition:.2s;
}

#menuBtn:before, #menuBtn:after{
display:block;
content:"";
position:absolute;
top:50%;
left:0;
width:18px;
height:2px;
background:#000000;
transition:.3s;
}

#menuBtn:before{
margin-top:-7px;
}

#menuBtn:after{
margin-top:5px;
}

a#menu .close{
background:transparent;
}

a#menu .close:before, a#menu .close:after{
margin-top:0;
}

a#menu .close:before{
transform:rotate(-45deg);
-webkit-transform:rotate(-45deg);
}

a#menu .close:after{
transform:rotate(-135deg);
-webkit-transform:rotate(-135deg);
}

#mainImg img{
margin-top:-330px;
}

.panel{
    width: 100%;
height: -webkit-calc(100% - 70px);
height: calc(100% - 70px);
    display: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    position: fixed;
    left: 0;
    top: 70px;
    z-index: 100;
}

#mainnav {
    position: absolute;
    top: 15px;
    width: 100%;
    text-align: right;
}

#mainnav ul{
background:#eeeeee;
text-align:left;

}

#mainnav li a{
position:relative;
display:block;
padding:10px 25px;
border-bottom:1px solid #cccccc;
color: #000000;
font-weight:bold;
}

#mainnav ul li a span{
display:none;
}

#mainnav ul li li{
border:0;
}

#mainnav ul li li a{
padding-left:40px;
}

#sidebar .prof {
margin:30px 0 0 20px;
float:left;
}

div#thanks {
    width: 95%;
    margin: 100px auto 30px auto;
    padding: 10px 0;
    background: #ffffff;
    border: 1px solid #cccccc;
    border-radius: 7px;
    box-shadow: 0 0 7px rgba( 0, 0, 0, 0.2 );
}

}


/* iPadサイズ以下（1024px）から 1カラム表示に切り替え
------------------------------------------------------------*/

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

#wrapper, #header, .inner{
width:100%;
}

#menuwrap{
width:100%;
}

.contact, #header h1{
}

#header h1, #header p {
    padding: 5px 0 0 20px;
}
#header h2{
padding:10px;
}

#mainImg{
margin-bottom:0;
padding-top:320px;
}

h2.first{
margin-top:30px;
}

h2.topFirst{
margin-top:-10px;
}

#content, #sidebar{
clear:both;
width:95%;
float:none;
margin:0 auto;
padding-top:70px;
}

#banners{
width:100%;
margin:20px 0;
text-align:center;
}

#banners p{
display:inline;
}

#banners p img{
width:100%;
height:auto;
float:left;
}


.widget_search{
text-align:center;
}

#footer{
margin:0;border:0;
text-align:center;
}

#footer ul{
text-align:center;
}

#footer li{
margin-right:20px;
}

.thumbWrap{
-webkit-box-sizing:border-box;
-moz-box-sizing:border-box;
-ms-box-sizing:border-box;
box-sizing:border-box;
width:100%;
margin:0 auto;
overflow:auto;
}

.thumbWrap ul.thumb li{
width:30%;
float:left;
margin:0 1% 0 2%;
}

.thumbWrap img{
width:100%;
height:auto;
}

#subImg{
height:100%;
}

#subImgrap{
-webkit-box-sizing:border-box;
-moz-box-sizing:border-box;
-ms-box-sizing:border-box;
box-sizing:border-box;
width:100%;
margin:0 auto;
overflow:hidden;
}

#subImg li{

width:30%;
float:left;
margin:0 1% 0 2%;
}

#subImg li img{
width:100%;

}

#header .panel p {
    padding: 0 0 0 40px;
}

.wrap {
	overflow: hidden;
}

}


/* 幅644px以下から ヘッダー等微調節
------------------------------------------------------------*/
@media only screen and (max-width:644px){
#header h1, #header p {
    padding: 5px 0 0 20px;
}

#banners p {
    display: block;
}

#banners p img {
    float: none;
}

#sidebar .prof {
float:none;
    margin: 0;
}
#mainImg{
margin-bottom:0;
padding-top: 180px;
}

#mainImg img{
margin-top:-200px;
}

.main_image{
width:180%;
margin-left:-40%;
}

h2.title{
margin:0 10px 10px 10px;
font-size:150%;
}

img.alignright, img.alignleft{
display:block;
margin:5px auto 20px auto;
}

.alignright,.alignleft{
float:none;
}

#footer ul{
text-align:left;
padding:15px;
}

#footer ul ul{
padding:0;
}

.thumbWrap ul.thumb li{
width:95%;
margin-bottom:30px;
}

#subImg{
padding:20px 0;
height:auto;
}

#subImgrap{
text-align:center;
}

#subImg li{
height:auto;
width:100%;
clear: both;
margin:5px 0;
}

#subImg li img{
width:70%;
margin:0;
padding;0:
height:auto;
}

.post {
    margin: 0 10px 20px 10px;
}

.title_catch{
margin-top:-30px;
margin-bottom:30px;
padding:10px 5%;
background-color:#045FB4;
width:90%;
text-align:left;
color:#fff;
font-size:150%;
font-weight:bold;
font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", "Sawarabi Mincho", serif;
}

#sidebar .prof,#banners p img {
float:none;
}


#banners p img {
float:none;
}

/* 改行位置切り替え
------------------------------------------------------------*/	
.br-pc { display:none; }
.br-sp { display:block; }

h3.title {
    border-top: 2px solid #045FB4;
    margin: 0 0 20px 0;
    padding-top: 20px;
    color: #045FB4;
    font-size: 180%;
    line-height: 1.2;
    font-weight: bold;
    font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", "Sawarabi Mincho", serif;
}

.profile li img {
    width: 90%;
    margin: 0;
	padding:0 5%
}

.profile li {
	clear: both;
    margin-bottom: 10px;
}

.profile li p{
margin:0 20px 50px 20px;
font-size:90%;
color:#045FB4;
}

}
