@charset "utf-8";

/*
Theme Name: deguchi-s
Author: arktain
Author URI: https://www.arktain.jp/
*/

/* =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;}
img{vertical-align:top;}
a img:hover{opacity:.8;}
table {width:100%;border-collapse: separate;border-spacing: 0;}
td{vertical-align: middle;}
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;transition:all 0.3s;}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display: block;}

* {
 -webkit-box-sizing: border-box;
 -moz-box-sizing: border-box;
 -o-box-sizing: border-box;
 -ms-box-sizing: border-box;
  box-sizing: border-box;
}

body{
font-size:20px;
color:#333;
-webkit-text-size-adjust: none;
background:#fff;
line-height:1.6;
}


/* リンク設定
------------------------------------------------------------*/
a{
margin:0;
padding:0;
text-decoration:none;
outline:0;
vertical-align:baseline;
background:transparent;
font-size:100%;
color:#333;
}

a:hover, a:active{
outline: none;
color:#0078C4;
}


/**** Clearfix ****/
nav .panel:after, nav#mainNav:after, .newsTitle:after, .bg:after,.post:after, ul.post li:after{content:""; display: table;clear: both;}
nav .panel,nav#mainNav,.newsTitle,.bg, .post, ul.post li{zoom: 1;}


/* フォーム
------------------------------------------------------------*/


/* レイアウト
------------------------------------------------------------*/
#wrapper{
margin:0 auto 0;
width:100%;
overflow:hidden;
}

.inner{
margin:0 auto 0;
width:1000px;
overflow:hidden;
}

#header{
overflow:hidden;
background:#fff;
}

#content{
width:100%;
padding:0;
margin:0px auto 0;

}

#sidebar{
width:300px;
float:right;
margin:20px 0 0 0;
}


#footer{
clear:both;
width:100%;
display: inline-block;vertical-align: middle;
font-size:16px;
color:#fff;
} 


/* ヘッダー
*****************************************************/




/* トップページ　メイン画像
----------------------------------*/
#mainphoto{margin:0 auto 30px;width:100%;}
#mainphoto img{width:100%;}
.post{margin:0 auto;padding:0;}
#slidearea{margin:0px 0 30px;}



/* フッター
*****************************************************/
#footer a{
color:#fff;
transition:all 0.3s;
}
#footer a:hover{color:#50913D;}
#footer ul{padding:0;}
#footer li{list-style-type: none;margin:0;}
.add_area{display:flex;justify-content:flex-start;flex-wrap:wrap;padding-bottom:40px;}
.add_box{width:40%;margin-right:30px;}




#copyright{
text-align:center;
font-size:90%;
background:#128ecc;
color:#fff;
padding:10px 0;
}
#copyright a{color:#fff;}
#copyright a:hover{color:#708c68;}

.sptel{display:none;}



/* 1099px以下から 1カラム表示
------------------------------------------------------------*/
@media only screen and (max-width: 1099px){

div#wrapper{width:100%;}


div.inner{width:100%;padding:0 10px;}


#content{clear:both;width:100%;}
#sidebar{width:29%;float:right;margin:20px 0 0 0;}
#header{width:100%;padding:0;}

#mainImg img{width:100%;height:auto;}
header#headerContainer{display:none;position: static;height:0;z-index:-10000;}
div#headerTopicContainer {position: static;}
div.topinner {  position: static;height:0;}

}

/* 幅644px以下から ヘッダー等微調節
------------------------------------------------------------*/
@media only screen and (max-width: 644px){
body{font-size:16px;line-height:1.6;}
#header{text-align:center;position:static;}
#copyright{padding:15px 0 80px;}

#sidebar{width:100%;float:none;margin:20px auto 0;}
div.side_menu{display:none;}
.inner h1{font-size:70%;text-align:right;}

.add_box{width:100%;margin:10px 0;}
}	


