@charset "utf-8";
/*
Theme Name: Sleep quality2
Theme URI: http://theme.o2gp.com/
Description: Sleep quality2
Version: 1.0
Author: o2 Group
Author URI: http://theme.o2gp.com/

	o2 Group v1.0
	 http://theme.o2gp.com/

	This theme was designed and built by o2 Group,
	whose blog you will find at http://theme.o2gp.com/

	The CSS, XHTML and design is released under GPL:
	http://www.opensource.org/licenses/gpl-license.php
*/

/* =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;}
.post strong {
    font-weight: bold;
}
iframe {
    width: 100%;
}

div#mg-wprm-wrap form.wpr-search-form button.wpr_submit {
    top: 6px !important;
}

html body div.wprm-overlay {
    background: #0000007a !important;
}

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: 12px/1.5 "メイリオ","Meiryo",arial,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro",Osaka,"ＭＳ Ｐゴシック","MS PGothic",Sans-Serif;color:#333;-webkit-text-size-adjust: none;/* background:#f6f3ee url(./images/wall.png) repeat-x; */}


/* リンク設定
------------------------------------------------------------*/
a{margin:0;padding:0;text-decoration:none;outline:0;vertical-align:baseline;background:transparent;font-size:100%;color:#313131;padding: 0 .3em;background-position: 0 0;background-size: auto 200%;transition: .3s;-moz-transition: .3s;-webkit-transition: .3s;-o-transition: .3s;background-image: -webkit-linear-gradient(rgba(0,0,0,0) 50%, rgb(0, 108, 156) 50%);}

#header h2 a {
    background-image: none;
}

#header h2 a:hover {
    background: none;
}

a:hover, a:active{outline: none;background-position: 0 100%;color: #fff !important;}

.post a {
    color: #2196F3;
    text-decoration: underline;
}

.post a:hover {
    color: #2196F3;
    text-decoration: none;
}

.menu_title a {
    background: none;
}

.oshirase a {color: #fff;
    text-decoration: underline;}
.oshirase a:hover {
    color: #C4EAEB;
    text-decoration: none;}
.oshirase a:hover, a:active{outline: none;background-position: 0 100%;color: #fff !important;}


/**** 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;}


/* フォーム
------------------------------------------------------------*/
input[type="text"], textarea{vertical-align:middle;max-width: 75%;line-height:30px;height:30px;padding:1px 5px;border:1px solid #d4d4d7;border-radius:3px;-webkit-border-radius:3px;-moz-border-radius:3px;font-size:100%;color:#555;background:#fcfcfc;}

textarea{
height:auto;
line-height:1.5;
}

input[type="submit"],input[type="reset"],input[type="button"]{padding:3px 10px;filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#38ae52', endColorstr='#039136',GradientType=0 );border:0;border-radius:3px;-webkit-border-radius:3px;-moz-border-radius:3px;line-height:1.5;font-size:120%;color:#fff;background: #9A9C9A;}

input[type="submit"]:hover,input[type="reset"]:hover,input[type="button"]:hover{
background: #38ae52;
background: -moz-linear-gradient(top, #039136 0%, #38ae52 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#039136), color-stop(100%,#38ae52));
background: -webkit-linear-gradient(top, #039136 0%,#38ae52 100%);
background: -o-linear-gradient(top, #039136 0%,#38ae52 100%);
background: linear-gradient(to bottom, #039136 0%,#38ae52 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#039136', endColorstr='#38ae52',GradientType=0 );
cursor:pointer;
}

*:first-child+html input[type="submit"]{padding:3px;}

input {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding: 4px;
  margin: 5px 0;
  border: 1px solid #999;

  border-radius: 5px;
  background: #9a9c9a24;
}

input#searchsubmit {
    width: 10%;
    height: auto;
    margin: 0;
    padding: 4px 7px;
    border: none;
}

input#searchsubmit:hover {
    background: #9e9e9e80;
}


/* レイアウト
------------------------------------------------------------*/
#wrapper, .inner{margin:0 auto;width: 1000px;}

.inner2 {
    padding-left: 5%;
    padding-right: 5%;
}

#header{background: white;box-shadow: 0px 2px 4px -2px grey;position: fixed;top: 0;margin: 0;width: 100%;z-index: 9999;}

#content{float:right;width: 100%;padding: 50px 0 50px;}

#sidebar{
float:left;
width:233px;
padding:22px 0 50px;
}

#footer{
clear:both;
} 


/* ヘッダー
*****************************************************/

/* サイト説明文
----------------------------------*/
#header h1{
padding:5px 0;
font-size:80%;
font-weight:normal;
}



/* ロゴ (サイトタイトル)
----------------------------------*/
#header h2{clear:both;float:left;padding: 10px 0 5px;color: #515151;font-size:160%;font-weight:bold;width: 360px;}

#header h2 img {
    width: 100%;
}

/* コンタクト
----------------------------------*/
.contact{float:right;padding: 76px 0 0px;text-align:right;}

.contact p {
    color: #003d3c;
    font-size: 140%;
    border-bottom: 1px solid #003d3c;
    padding: 0px 6px;
}

.contact .tel{
font-size:180%;
font-weight:bold;
}


/* トップページ　メイン画像
----------------------------------*/
#mainImg{clear:both;/* margin-top:20px; */line-height:0;text-align:center;z-index:0;}

#para1 {
    background-image: url("../images/nik-shuliahin-BuNWp1bL0nc-unsplash.jpg");
    background-position: top center;
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
}

#para2 {
    background-image: url(./../../uploads/sites/70/2020/03/2.jpg);
    background-position: top center;
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
}


.topmoji {
    margin: -380px 0 380px 0;
    z-index: 100;
    position: relative;
}

.topmoji p {
    padding-bottom: 15px;
    font-size: 353%;
    letter-spacing: 26.8px;
    color: white;
    font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
    line-height: 1.4;
}

.a{
    height: 85vh;
    background-color: black;
    opacity: 0.4;
    height: 830px;
}

.page .a {
    height: 41vh;
    background-color: black;
    opacity: 0.4;
    height: 400px;
}


.post{margin:0 0 20px 0;padding: 20px;background: #fff;}

.toppage h4{
margin:0 0 10px;
font-size:16px;
font-weight:normal;
color:#333;
}

.toppage{padding: 20px 20px;}

.center {
    text-align: center;
    margin: 0 0 20px 0;
}

.center img {
    padding: 20px;
}

.oshirase{background-color: #006c9c;
	display: block;
	margin: 0;
	text-align: center;
}
.oshirase2 {
	padding: 10px 0;
	color: #fff;
	margin: 0;
	font-size:24px;
	font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;}
.oshirase3 {float:right;
	width: 50px;
	padding: 0;
	margin: 0;}

/* 記事ループ
*****************************************************/
.list{
padding:10px 0;
border-bottom:1px dashed #dcdcdc;
}

.list:last-child{border:0;}

.post .list p{padding:0;}

.list span{padding-left:10px;}


/* タイポグラフィ
*****************************************************/
h2.title{text-align: center;clear:both;margin:0;padding:6px 10px 6px 17px;font-size: 300%;border-bottom:0;font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;letter-spacing: 9px;}


h2.title:after {
    content: "";
    display: block;
    width: 1px;
    height: 25px;




    margin: 15px auto 10px auto;
    background: -webkit-linear-gradient(top, rgba(242,51,65,1) 0,rgba(242,51,65,1) 4px,rgba(242,51,65,0) 4px);
    background: linear-gradient(to bottom, rgba(242,51,65,1) 0,rgba(242,51,65,1) 4px,rgba(242,51,65,0) 4px);
    background-repeat: repeat-y;
    background-position: left top;
    background-size: 1px 7px;
}

h2.title.first {
    margin: -300px 0 190px 0;
    color: white;
    z-index: 100;
    position: relative;
}

h2.title:after {
    content: "";
    display: none;
}

h2.title.first.second {
    margin: -230px 0 160px 0;
}

.dateLabel{
text-align:right;
font-weight:bold;
color:#858585;
}

p.dateLabel.dateLabel2 {
    text-align: left;
    font-weight: normal;
    float: left;
    color: #333;
    font-size: 100%;
    padding: 0;
}

.post p{padding-bottom:15px;font-size: 140%;line-height: 1.8;}

p.slug {
    float: left;
    margin: 0 0 0 20px;
    font-size: 100%;
}

p.news.slug a {
    background: red;
    color: white;
    text-decoration: none;
    padding: 1px 10px;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
}

p.media.slug a {
    background: #03A9F4;
    color: white;
    text-decoration: none;
    padding: 1px 10px;
    border-radius: 10px;        /* CSS3草案 */
    -webkit-border-radius: 10px;    /* Safari,Google Chrome用 */
    -moz-border-radius: 10px;   /* Firefox用 */
}

p.minutes.slug a {
	    background: #4CAF50;
    color: white;
    text-decoration: none;
    padding: 1px 10px;
    border-radius: 10px;        /* CSS3草案 */
    -webkit-border-radius: 10px;    /* Safari,Google Chrome用 */
    -moz-border-radius: 10px;   /* Firefox用 */
}

.post table p {
    padding: 0;
    font-size: 100%;
}

.post ul{margin: 0 0 40px 10px;font-size: 135%;}
.post ul li ul{margin: 15px 0 15px 10px;font-size: 90%;}

.post ul li{margin-bottom: 15px;padding-left:15px;background:url(./../images/bullet.png) no-repeat 0 8px;line-height: 1.5;}

article#post-11 li {
    margin-bottom: 5px;
}

.post .roman ol {margin: 0 0 10px 30px;font-size: 120%;}

.post .roman ol li {list-style-type: upper-roman;padding: 0 0px 15px 0;}

.post .roman ol p {font-size: 100%;margin:0 0 1em 0;padding: 0;}

.post ol{margin: 0 0 10px 30px;font-size: 120%;}

.post ol li{list-style:decimal;padding: 0 0px 15px 0;}

.post ol p {font-size: 100%;margin:0 0 1em 0;padding: 0;}

.post h1{
margin:20px 0;
padding:5px 0;
font-size:150%;
color: #000;
border-bottom:3px solid #000;
}

.post h2{margin:10px 0;padding-bottom:2px;font-size:130%;font-weight: bold;color: #333;border-bottom:2px solid #515151;clear: both;margin: 0;padding: 16px 20px;font-size: 180%;/* border: 1px solid #e9e2d8; */border-bottom: 0;background: #f9f9f9 url(./images/headingBg.png) repeat-x 0 100%;}

.post h3{margin: 15px 0 15px;font-size: 240%;color:#2e2c2c;padding: 0 0 0 10px;position: relative;margin-bottom: 26px;line-height: 1.4;letter-spacing: .15em;/* text-align: center; */font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;}

article#post-11 h3 {
    font-size: 190%;
    margin-bottom: 20px;
}

.post.toppage h3 {
    text-align: center;
}



.post h4 {
    margin: 0 0 20px 0;
    font-size: 200%;
    color: #2e2c2c;
    padding: 0 0 0 10px;
    position: relative;
    /* margin-bottom: 26px; */
    line-height: 1.4;
    letter-spacing: .15em;
    /* text-align: center; */
    font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}

.post blockquote {
clear:both;
padding:10px 0 10px 15px;
margin:10px 0 25px 30px;
border-left:5px solid #ccc;
}
 
.post blockquote p{padding:5px 0;}

.post table{border: 1px #ccc solid;border-collapse: collapse;border-spacing: 0;margin:10px 0 20px;font-size: 120%;}

.post table th{padding:10px;border: #ccc solid;border-width: 0 0 1px 1px;background: #f0f8ff;font-weight: bold;}

.post table td{
padding:10px;
border: 1px #ccc solid;
border-width: 0 0 1px 1px;
background:#fff;
}

.post table th.left {text-align: left!important;}

.post dt{font-weight:bold;}

.post dd{padding-bottom:10px;}

.post img{max-width:100%;height:auto;}

img.aligncenter {
display: block;
margin:5px auto;
}

img.alignright, img.alignleft{
margin: 10px 10px 15px 15px;
display:inline;
}

img.alignleft{margin:10px 15px 15px 10px;}

.alignright{float:right;}
.alignleft{float:left;}









#gallery-1 img{
border:1px solid #eaeaea !important;
padding:5px;
background:#ffffff;
}



/* サイドバー　ウィジェット
*****************************************************/
section.widget ul, .widget_search, #calendar_wrap, .textwidget{margin:0 0 20px 0;padding:10px 10px 10px 17px;border: 1px solid #9E9E9E;background: #fff;}

section.widget ul ul{
border:0;
margin:0;
padding:0 0 0 10px;
}


p.banner{padding-bottom:15px;}

p.banner img{
max-width:233px;
height:auto;
}

p.banner img:hover{
cursor:pointer;
opacity:.8;
}

section.widget h3{clear:both;margin:0;padding:6px 10px 6px 17px;font-size:110%;border: 1px solid #9E9E9E;border-bottom:0;background:#f9f9f9 url(./images/headingBg.png) repeat-x 0 100%;background: #EBEAE1;}

section.widget li a{
display:block;
padding:7px 0 7px 12px;
background:url(./images/arrow.gif) no-repeat 0 12px;
border-bottom:1px dashed #dcdcdc;
}

section.widget li:last-child a{border:0;}

#searchform input[type="text"]{line-height:1.7;height:24px;width: 70%;vertical-align:bottom;}

#calendar_wrap table{margin:0 auto;}

#calendar_wrap table th, #calendar_wrap table td{padding:3px;}


/* お知らせ　
-------------*/
.newsTitle{
clear:both;
margin:0;
padding:6px 10px 6px 17px;
font-size:110%;
border:1px solid #e9e2d8;
border-bottom:0;
background:#f9f9f9 url(./images/headingBg.png) repeat-x 0 100%;
}

.newsTitle h3{
float:left;
font-weight:normal;
}

.newsTitle p{
float:right;
padding:0 0 0 10px;
font-size:80%;
background:url(./images/arrow.gif) no-repeat 0 5px;
}

.news p{
clear:both;
padding-bottom:2px;
border-bottom:1px dashed #dcdcdc;
}

.news p:last-child{border:0;}

.news p a{
display:block;
padding:5px 0;
color:#333;
font-style:italic;
font:italic 110% "Palatino Linotype", "Book Antiqua", Palatino, serif;
}

.news a span{
color:#515151;
font:normal 90% Arial, 'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','ＭＳ Ｐゴシック',sans-serif;
}

.news span{padding-left:10px;}

.news a:hover span{color:#039136;}



/* フッター
*****************************************************/
#footer ul{
padding:15px 0 25px;
text-align:center;
}

#footer li{
display:inline-block;
padding: 5px 16px;
border-left:1px dotted #d5d5d5;
}
*:first-child+html #footer li{display:inline;}

#footer li:first-child{border:0;}

#footer li a{
text-decoration:none;
color:#000;
}

#footer li a:hover{color:#999;}

#footer ul ul{display:none;}

#copyright{clear:both;padding:10px 0 37px;text-align:center;color:#000;font-size: 90%;}


/* page navigation
------------------------------------------------------------*/
.pagenav{
clear:both;
width: 100%;
height: 30px;
margin: 5px 0 20px;
}

.prev{float:left}

.next{float:right;}

#pageLinks{
clear:both;
color:#4f4d4d;
text-align:center;
}


/* トップページ 最新記事4件
------------------------------------------------------------*/
ul.post{
padding:0;
}

p.bottombtn {
    width: 100%;
    text-align: center;
    font-size: 120%;
    margin: 30px 0 0 0;
}

.bottombtn a {
    display: inline-block;
    position: relative;
    text-decoration: none;
    padding-left: 23px;
    line-height: 1;
}

.bottombtn a:after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: 0;
    margin-top: -4px;
    width: 8px;
    height: 8px;
    border: 1px solid #313e5b;
    border-bottom: none;
    border-left: none;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

ul.post li{padding: 20px 20px 5px;border-bottom:1px dashed #dcdcdc;}

ul.post li:first-child {
    padding: 20px 20px 5px;
    border-bottom: 1px dashed #dcdcdc;
}

ul.post li:last-child{border:0;}

ul.post img{
float:left;
margin:0 15px 5px 10px;
}

ul.post h3{margin: -4px 0 10px 10px;font-size: 135%;font-weight:normal;color:#333;border:0;float: left;line-height: 1.8;font-family: "メイリオ","Meiryo",arial,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro",Osaka,"ＭＳ Ｐゴシック","MS PGothic",sans-serif;}

ul.post h3:after {
    content: "";
    display: none;

}

ul.post li a{/* border-bottom:1px dashed #313131; */color: #333;text-decoration: underline;}
ul.post li a:hover{border:0;text-decoration: none;}



/* メインメニュー　PC用
------------------------------------------------------------*/
@media only screen and (min-width: 1024px){

.topmoji p {

font-size: 320%;
}
	
  nav#mainNav{
	/* clear:both; */
	position:relative;
	z-index:200;
	width: 57%;
	padding: 15px 0 0px 0;
	margin:0 auto;
	
	/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#003e3d+0,009390+100 */
	 /* Old browsers */
	 /* FF3.6-15 */
	 /* Chrome10-25,Safari5.1-6 */
	 /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	 /* IE6-9 */
	float: right;
	text-align: right;
	}

	nav#mainNav ul li{
	float: left;
	position: relative;
	/* background:url(./images/mainNavSep.png) no-repeat 100% 5px; */
	/* border-right: 1px solid #fff; */
	}

	nav#mainNav ul li:first-child {
    /* border-left: 1px solid #fff; */
}
	
	nav#mainNav ul li a{display: block;text-align: center;float: left;color: #313e5b;height: 20px;line-height: 1;font-size: 120%;margin-right:1px;padding: 0 14px 0;letter-spacing: 1px;background-image: -webkit-linear-gradient(rgba(0,0,0,0) 50%, rgb(0, 108, 156) 50%);background-image: linear-gradient(rgba(0,0,0,0) 50%, #006c9c 50%);}
	
	nav#mainNav ul li a span,nav#mainNav ul li a strong{
	display:block;
	font-size: 100%;
	line-height:1.4;
	/* color: white; */
	font-weight: bold;
	/* font-weight: 500; */
	}
	
	nav#mainNav ul li a span{
	font-size:70%;
	color:#dadada;
	font-weight:normal;
	}

	nav div.panel{
  display:block !important;
  float: right;
  clear: both;
  }

  .nav2 {
    float: right;
    margin: 0px 0 20px 0;
}

nav#mainNav .nav2 ul li a strong{
    font-weight: normal;
    font-size: 85%;
}

.css-fukidashi img {
    width: 12px;
    margin: -2px 0 0px 0;
}

li#menu-item-244 .css-fukidashi img {
    width: 19px;
    margin: -1px 0 0px 0;
}

li#menu-item-243 img {
    width: 14px;
    height: auto;
    margin: -5px 5px -4px 0px;
} 

li#menu-item-244 img {
    width: 18px;
    height: auto;
    margin: -3px 5px -3px 0px;
}

li#menu-item-245 img {
    width: 26px;
    height: auto;
    margin: -3px 5px -2px 0px;
}

    .fukidashi {
      display: none;
      position: absolute;
      top: 30px;
      left: -27px;
      padding: 4px 8px;
      border-radius: 5px;
      background: #303d59;
      color: #fff;
      font-weight: bold;
      width: 80px;
      font-size: 80%;
    }
    .fukidashi:after {
      position: absolute;
      left: 0;
      bottom: 21px;
      margin-left: 38px;
      pointer-events: none;
      content: "";
      width: 0;
      height: 0;
      border-left: 10px solid transparent;
      border-right: 10px solid transparent;
      border-bottom: 10px solid #303d59;
    }
    .text:hover + .fukidashi {
      display: block;
      z-index: 10;
    }
  
  a#menu{display:none;}
  
  nav#mainNav ul li.current-menu-item a, nav#mainNav ul li a:hover, nav#mainNav ul li.current-menu-parent a{
  border-bottom: 3px solid #006c9c;
  }
  
  nav#mainNav ul ul{width:160px;}
  
  nav#mainNav ul li ul{display: none;}
  
  nav#mainNav ul li:hover ul{
  display: block;
  position: absolute;
  top: 12px;
  left:0;
  z-index:500;
  padding: 20px 0 0 0;
  }
	
  nav#mainNav ul li li{
	margin:0;
	float: none;
	height:40px;
	line-height:40px;
	width:160px;
	background:none;
	overflow: hidden;
	}
	
  nav#mainNav ul li li a{
  width:100%;
  height:40px;
  padding:0 0 0 10px;
  line-height:40px;
  font-size:95%;
  text-align:left;
  background:#f3f3f3;
  }
	
	nav#mainNav ul li li.current-menu-item a,nav#mainNav ul li li a:hover{background:#fff;color: black !important;}

}

/* メインメニュー iPadサイズ以下から
------------------------------------------------------------*/







/* 959px以下から 1カラム表示
------------------------------------------------------------*/
@media only screen and (max-width: 1023px){
  #wrapper, .inner{width:100%;}

	#header{width:96%;padding:0 2%;display: none;}
	
	#header h2{padding:0;}
	.contact{padding:10px 0 10px;}

  nav#mainNav{width:95%;display: none;}

	nav#mainNav ul{margin:0 auto;}
	nav#mainNav ul ul{padding:0;}

	nav div.panel{float:none;}
	
	#mainImg img{width:98%;height:auto;}

	#content, #sidebar{
	clear:both;
	width:95%;
	float:none;
	margin:0 auto;
	padding: 80px 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;}

	body.cbp-spmenu-push {
    margin: 0 !important;
    margin-top: 60px !important;
}

.topmoji p {

padding: 0px 10px;
}

.a {
    height: 85vh;
    height: 720px;
}

.topmoji {
    margin: -380px 0 250px 0;
}

h2.title.first {
    margin: -280px 0 140px 0;
}

#wprmenu_bar .bar_logo {
    width: 360px !important;
    height: auto !important;
    margin: -16px 0 0 0 !important;
}
	
}


/* 幅644px以下から ヘッダー等微調節
------------------------------------------------------------*/
@media only screen and (max-width: 644px){

#wprmenu_bar .bar_logo {
    width: 320px !important;
    margin: -14px 0 0 0 !important;
}
	
	body{background-image:none;}
	nav#mainNav{width:98%;}
	#header{text-align:center;}
	#header h2,.contact{float:none;}
	.contact{padding:0 0 20px;}
	.contact p{text-align:center;}
	#headerInfo{width:250px;margin:0 auto;}
	img.alignright, img.alignleft{display: block;	margin:5px auto;}
	.alignright,.alignleft{float:none;}

	.topmoji {
    margin: -430px 0 220px 0;
}

h2.title.first {
    margin: -280px 0 140px 0;
}

}

@media only screen and (max-width: 375px){

	h2.title.first {
    margin: -280px 0 150px 0;
}

	h2.title {

font-size: 260%;
}

	.topmoji {
    margin: -420px 0 220px 0;
}

#wprmenu_bar .bar_logo {
    width: 290px !important;
    margin: -11px 0 0 0 !important;
}

	}

	@media only screen and (max-width: 320px){

		#wprmenu_bar .bar_logo {
    width: 250px !important;
    margin: -8px 0 0 0 !important;
}

.topmoji {
    margin: -470px 0 200px 0;
}

	}
