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

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

body{
font:14px/2.0 "Lucida Sans Unicode", "Lucida Grande", Arial, "ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","ＭＳ Ｐゴシック",sans-serif;
-webkit-text-size-adjust:100%;
background:#eeeeee;
}


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

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

a:hover, a:active{
outline:none;
color:#0066cc;
}

/**** Clearfix ****/

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

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


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



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


#content{
margin: auto;
width:100%;
height:auto;
padding:0 0 50px;
}


#footer{
clear:both;
padding:20px 0 30px;
}

.grid {
  display:grid;
  gap: 26px;
  grid-template-columns:repeat(3,400px);
  grid-auto-rows:1fr;
  margin-top: 1%;
  margin-bottom: 50px;
  justify-content:center;
}




.member img,{
  border: 1px solid #ddd;
  transition-duration: 0.5s;
}
.member:hover{
  box-shadow: 10px 10px 10px
rgba(0,0,0,0.5);
  transform: scale(1.2);
  transition-duration: 0.5s;
}

.item img{
  width: 400px;
  height: 300px;
}

img[src$="images/twitter.png"]{
  width: 50px;
  height: 50px;
}
img[src$="images/instagram.png"]{
  width: 50px;
  height: 50px;
}
img[src$="images/satomart.png" ]{
  width: 50px;
  height: 50px;
}
img[src$="images/note.png"]{
  width: 50px;
  height: 50px;
  }
img[src$="images/youtube.png"]{
  width: 50px;
  height: 50px;
  }
/* ヘッダー
------------------------------------------------------------*/

#header h1{
padding:5px 0;
font-size:80%;
font-weight:normal;
}

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

.contact .tel{
margin-top:-5px;
font-size:180%;
font-family: "ヒラギノ角ゴ StdN","Hiragino Kaku Gothic StdN";
}

#header h2{
clear:both;
text-align:center;
margin:30px 0 30px 0;
color:#000000;
font-size:160%;
font-weight:bold;
}

#header h2 img{
width:180px;
}

#mainImg img{
width:100%;
height:auto;
}





/* 記事ループ
------------------------------------------------------------*/



/* タイポグラフィ
------------------------------------------------------------*/

h2.title{
clear:both;
margin-top:30px;
margin-bottom:30px;
padding-bottom:10px;
text-align:center;
font-size:200%;
font-weight:bold;
border-bottom:3px solid #000000;
}




/* サイドバー　ウィジェット
------------------------------------------------------------*/


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

#footer ul{
padding:15px 0 25px;
text-align:center;
}

#footer li{
display:inline-block;
padding:5px 16px;
}
*:first-child+html #footer li{
display:inline;
}

#footer li:first-child{
border:0;
}

#footer li a{
text-decoration:none;
font-weight:bold;
color:#000000;
}

#footer li a:hover{
color:#6f6f6f;
}

#footer ul ul{
display:none;
}

#copyright{
clear:both;
padding:30px 0 37px;
text-align:center;
font-size:10px;
}


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



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

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

nav#mainNav{
position:relative;
}

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

nav#mainNav ul li{
float:left;
}

nav#mainNav ul li a{
display: block;
text-align: center;
float:left;
height:55px;
padding:10px 40px 0;
line-height:55px;
font-size:110%;
font-weight:bold;
color:#000000;
}

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

nav#mainNav ul li a span{
font-size:70%;
color:#a4a4a4;
font-weight:normal;
}

nav#mainNav ul li a:hover span, nav#mainNav ul li a:hover{
color:#cdcdcd;
}

nav#mainNav ul ul{
width:160px;
border-top:0;
}

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

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

nav#mainNav ul li li{
background:#eeeeee;
border-bottom:1px dotted #cdcdcd;
float: none;
width:160px;
height:40px;
line-height:40px;
margin:0;
}

nav#mainNav ul li li:last-child{
border:0;
}

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:#cdcdcd;
}

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

a#menu{
display:none;
}

}


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

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

nav#mainNav{
clear:both;
margin-top:-15px;
}

nav#mainNav a.menu{
width:100%;
display:block;
height:40px;
line-height:40px;
margin-bottom:8px;
background:url(images/menuOpen.png) no-repeat 15px 7px;
}

#mainNav a#menu span{
padding-left:40px;
color:#000000;
}

nav#mainNav a.menuOpen{
background:url(images/menuOpen.png) no-repeat 15px -35px;
}

nav .panel{
display:none;
width:100%;
position:relative;
right:0;
top:0;
z-index:1;
}

nav#mainNav ul{
margin:0;padding:0;
}

nav#mainNav ul li{
float:none;
clear:both;
width:100%;
height:auto;
line-height:1.2;
}

nav#mainNav ul li a{
display:block;
padding:15px 20px;
text-align:left;
border-bottom:1px dashed #cdcdcd;
color:#000000;
}


nav#mainNav ul li a span{
display:none;
}

nav#mainNav ul li li{
float:left;
border:0;
}

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

nav div.panel{
float:none;
}

#mainImg{
margin-bottom:20px;
}

}


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

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

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

#header .contact{
display:none;
}

#header h1{
display:none;
}

nav#mainNav ul{
margin:0 auto;
}

nav#mainNav ul ul{
padding:0;
}

nav div.panel{
float:none;
}

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

.banner{
width:100%;
margin:0 auto;
text-align:center;
}

p.banner img{
width:100%;
height:auto;
}

section.widget_search{
text-align:center;
}

#footer li{
margin-bottom:10px;
}
.grid {
  display:grid;
  gap: 26px;
  grid-template-columns:repeat(1,400px);
  grid-auto-rows:1fr;
  margin-top: 1%;
  margin-bottom: 50px;
  justify-content:center;
}
.member:hover{
  box-shadow: 10px 10px 10px
rgba(0,0,0,0.5);
  transform: scale(1.0);
  transition-duration: 0.5s;
}

}


/* 幅644px以下から ヘッダー等微調節
------------------------------------------------------------*/

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

body{
background-position:0 -25px;
}

#header h2 img{
max-width:90%;
}

#mainImg {
height: 330px;
overflow: hidden;
position: relative;
margin-bottom:35px;
}

#mainImg img {
position: absolute;
top: 50%;
left: 50%;
-webkit-transform: translate(-50%, -50%);
-ms-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
width: auto;
height: 100%;
}

h2.title{
margin-bottom:35px;
}

ul.post img{
display:block;
margin:5px auto 20px auto;
float:none;
width:100%;
}

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

.alignright,.alignleft{
float:none;
}

}
