div#container {
  margin-top: 0px;
  margin-right: auto;
  margin-bottom: auto;
  margin-left: auto;
  width: 100%;
}

body {
  font-family: "メイリオ";
  margin: 0;
  padding: 0;
  letter-spacing: 1px;
  background: #fff url("images/bg_body.gif") 0 0 repeat-x;
  overflow-x: hidden;
}

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

div#headWrap {
  width: 100%;
  height: auto;
  margin: 0 auto;
  padding: 10px 20px;
  background: #fff;
  box-sizing: border-box;
}

div#header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: auto;
  margin: 0 auto;
  padding-right: 56px;
  box-sizing: border-box;
}

div#header a{
  display: block;
  width: 100%;
}

div#header a.h_logo{
  max-width: 205px;
}

div#header a.h_contact{
  max-width: 88px;
}

div#header .pc{
  display: none;
}

div#header .sp{
  display: block;
}

/* メニューボタン */
#sp_btn{
  display: none;
}

.open_btn{
  position: fixed;
  top: 21px;
  right: 20px;
  top: 21px;
  right: 20px;
  display: block;
  width: 38px;
  height: 31px;
  z-index: 9990;
  transform: translateZ(0);
  transition: all,0.3s;
}

.open_btn span{
  position: absolute;
  left: 0;
  display: block;
  width: 38px;
  height: 3px;
  background-color: #918c8a;
  transition: all,0.3s;
}

.open_btn span:nth-child(1){
  top: 0;
}

.open_btn span:nth-child(2){
  top: 50%;transform: translateY(-50%);
}

.open_btn span:nth-child(3){
  bottom: 0;
}

input#sp_btn:checked + .open_btn span:nth-child(1){
  transform:translateY(14px) rotateZ(-36.8deg);
  background-color: #fff;
}

input#sp_btn:checked + .open_btn span:nth-child(2){
  top: 50%;transform: translateY(-50%);opacity: 0;
}

input#sp_btn:checked + .open_btn span:nth-child(3){
  transform:translateY(-14px) rotateZ(36.8deg);
  background-color: #fff;
}

div#menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 200vh;
  margin: 0;
  padding: 0;
  float: none;
  z-index: 9000;
  background: url("images/bg_menu.gif") 0 0 repeat-x;
  background-color: rgba(155, 0, 0, 0.5);
}

div#menu ul {
  position: absolute;
  top: 118px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
  background: #fff;
}

div#menu li {
  display: block;
  float: none;
}

div#menu li a {
  display: block;
  width: 100%;
  height: auto;
  padding:10px 0;
  font-size: 12px;
  color: #5A5132;
  text-align: center;
  line-height: normal;
  border-right: none;
  border-bottom: 1px solid #D8D8D8;
  box-sizing: border-box;
}

div#menu li.home a {
}

#container #menu .syokai {
  display: block;
  width: 100%;
  margin;:0 auto;
  line-height: normal;
  border-right: none;
  height: auto;
  font-size: 12px;
  padding-top: 12px;
}


/*画像垂直移動でロールオーバー*/
div#menu li a:hover {
  color: #333;
  background: #fff url("images/bg_menu.gif") 0 -60px repeat-x;
  z-index: 100;
}

/*アイキャッチ*/
div#icatch {
  position: relative;
  clear: both;
  width: 100%;
  max-width: 787px;
  margin:0 auto;
  overflow:hidden;
}

div#icatch img{
  width: 100%;
}

div#menu{
  visibility: hidden;
  opacity: 0;
  height: 0;
  transition-duration: 0.3s;
  transition-timing-function: ease;
}

input#sp_btn:checked + .open_btn + div#menu{
  visibility: visible;
  opacity: 1;
  height: 200vh;
}

/* メイン */
div#main {
  width: 100%;
  background-color: #FFFFFF;
  margin-top: 10px;
  margin-right: auto;
  margin-bottom: 10px;
  margin-left: auto;
  padding:10px 40px 0 40px;
  box-sizing: border-box;
}

/* スライドショー */
#main_visual {
  position: relative;
  margin: auto;
  width: 100%;
  overflow: hidden;
}
#main_visual img{
  max-width: 100%;
  width: 100%;
  height: auto;
}

#main_visual .sp{
  display: block;
}

#main_visual .pc{
  display: none;
}

/*パンくずリスト*/
div#bread {
  font-size: 12px;
}

/* コンテンツ */
div#content {
  width: 100%;
  max-width: 547px;
  float: none;
  clear: both;
  margin:10px auto 20px;
  box-sizing: border-box;
}

p#pagetitle {
  font-size: 0.875em;
  font-weight: bold;
  color: #2b76cc;
  border: dotted 1px #2b76cc;
  text-align: center;
  padding: 10px 0;
  margin-top: 20px;
}

div#content .banner_box01 {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin:0 auto;
  height: auto;
}

div#content .banner_box01 a{
  display: block;
  width: 100%;
  max-width: 320px;
  min-height: 0%;
  margin-bottom: 20px;
}

div#content .banner_box01 a img{
  width: 100%;
  height: auto;
}

div#content .banner_box01:nth-of-type(3){
  margin-bottom: 20px;
}

#container #main #content .banner_box01 img.left,
#container #main #content .banner_box01 img.right{
  float: none;
  clear: both;
}

/*新着記事*/
div#content h2.content {
  font-size: 12px;
  line-height: 40px;
  font-weight: bold;
  padding-left: 20px;
  background-repeat: no-repeat;
  clear: both;
}

div#content li {
  padding: 5px 0 5px 0;
  font-size: 12px;
  line-height: 1.4;
  list-style: none;
}

div#content li a {
  display: block;
  padding-left: 12px;
  background-position: top 4px left;
}

div#content li a span{
  display: block;
}

div#content ul {
  margin: 10px 0 10px 5px;
  padding: 0;
}

/* 記事 */
div.post {
  position: relative;
  border:1px solid #2b76cc;
  margin: 20px 0;
  padding: 18px;
  box-sizing: border-box;
  overflow:scroll;
}

div.post h2 {
  font-size: 0.875em;
  margin: 0px;
  border-bottom: 1px solid #8cc63f;
  padding-left: 22px;
  padding-bottom: 5px;
}

div.post h2 a {
  color: #000000;
  text-decoration: none;
}

div.post p {
  font-size: 0.75em;
  line-height: 1.6em;
  margin-top: 10px;
  box-sizing: border-box;
}

div.post p span{
  font-size: 16px!important;
  white-space: wrap!important;
}

div.post p span a{
  font-size: 12px!important;
  white-space: wrap!important;
}

div.post .block_txt{
}

div.post table{
  width: 100%!important;
  max-width: 469px!important;
  overflow:scroll!important;
  font-size: 12px;
}

div.post table tbody{
  width: 100%;
  max-width: 469px;
  overflow:scroll;
}

div.post th td {
  border-bottom: 1px dotted #0066FF;
}

p.postinfo {
  color: #2676cc;
  text-align: right;
  margin: 20px 0px 0px;
  clear: both
}

p.postinfo a {
  color: #2b76cc;
}

/* 記事内の画像 */
.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto
}

div.post img {
  max-width: 100%;
  height: auto;
  border: none;
  float: none;
  clear:both;
}

.alignleft {
  float: left;
  margin-right: 10px;
  margin-bottom: 2px
}

.alignright {
  float: right;
  margin-left: 10px;
  margin-bottom: 2px
}

.wp-caption {
  border: solid 1px #aaaaaa;
  text-align: center;
  padding-top: 5px;
  margin-top: 10px
}

/* ページリンク */
p.pagelink a {
  font-size: 0.75em;
  color: #2b76cc
}

span.pageprev {
  float: left
}

span.pagenext {
  float: right
}

/* サイドバー */
div#sidebar {
  width: 100%;
  max-width: 540px;
  float: none;
  clear: both;
  margin:10px auto 20px;
}

div#sidebar h2 {
  margin-top: 40px;
  padding: 3px;
  font-size: 14px;
  font-weight: bold;
  color: #fff;
  padding-left: 10px;
  background: #9B0000;
  border-bottom: 1px solid #C1C1C1;
  border-right: 1px solid #C1C1C1;
}

div#sidebar .section {
  margin-bottom: 10px;
}

div#sidebar li {
  padding: 0;
  margin-top: 1px;
  margin-bottom: 1px;
  height: 30px;
  font-size: 12px;
  /* 12px相当 */
  line-height: 30px;
  list-style: none;
  background: url("images/side_menu_bg.gif");
  border: 1px solid #CCCCCC;
}

div#sidebar li a {
  display: block;
  padding-left: 14px;
  background: url("images/bg_list.gif") 6px 10px no-repeat;
}

div#sidebar ul {
  margin: 5px 0 0 5px;
  padding: 0;
}

div.linksyu {
  border: 1px solid #CCCCCC;
  margin-bottom: 2px;
  font-size: 75%;
  text-align: center;
  /* 12px相当 */
  list-style: none;
}

div.line{
  padding:10px 0;
  box-sizing: border-box;
}

div .line_qr{
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
  font-size: 10px;
}

div .line_qr p{
  margin-right: 5px;
}

/* カレンダー */
#wp-calendar {
  width: 100%;
  margin-bottom: 20px;
  font-size: 0.75em
}

#wp-calendar a {
  color: #2b76cc
}

#wp-calendar td, #wp-calendar th {
  text-align: center
}

#wp-calendar caption {
  padding: 3px;
  font-size: 14px;
  font-weight: bold;
  color: #fff;
  padding-left: 10px;
  background: #9B0000;
  border-bottom: 1px solid #C1C1C1;
  border-right: 1px solid #C1C1C1;
}

#wp-calendar #prev {
  text-align: left;
  padding-top: 3px;
  padding-left: 3px
}

#wp-calendar #next {
  text-align: right;
  padding-top: 3px;
  padding-right: 3px
}

/* フィード */
p.feed {
  font-size: 0.75em;
  font-family: Verdana, Helvetica, sans-serif;
  border: solid 1px #8cc63f;
  padding: 5px;
  margin: 25px 0
}

p.feed a {
  color: #444444;
  text-decoration: none
}

p.feed img {
  vertical-align: middle;
  margin-right: 8px
}

/* 検索フォーム */
input#s {
  width: 100%;
  max-width: 532px;
  height: auto;
  margin-bottom: 5px;
}

/*フッター*/
div#footer {
  margin-top: 100px;
  padding:0 40px;
  background: #EBEADD;
  border-bottom: 5px solid #9B0000;
  clear: both;
  box-sizing: border-box;
}

div#footMenu {
  width: 100%;
  margin: 0 auto;
}

/* ========FOOTMENU CUSTOMIZE======== */
div#footMenu ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0;
  padding: 10px 0 0 0;
  box-sizing: border-box;
  text-align: center;
}

div#footMenu li {
  display: block;
  margin: 0 0 0 10px;
  font-size: 12px;
  /* 12px相当 */
  list-style: none;
  box-sizing: border-box;
}

div#footMenu li a {
  padding-left: 10px;
  box-sizing: border-box;
}

address {
  padding: 30px 0;
  font-size: 11px;
  /* 11px相当 */
  font-style: normal;
  color: #333;
  text-align: center;
  font-family: Verdana, sans-serif;
}

address a {
  color: #000000
}


/*メールフォーム*/
#content.contact {
  display: block;
  width: 100%;
  max-width: 740px;
  margin:0 auto;
  float: none;
  clear: both;
}

#content.contact h2.content{
  font-size: 12px;
}

#content.contact div.tel_box{
  text-align: left;
}

#content.contact div.tel_box p{
  font-size: 14px;
}

#content.contact div.tel_box p span{
}

#content.contact div.tel_box p span.tel{
  font-size: 16px;
}

#content.contact div.tel_box p span.time{
  font-size:12px;
  font-weight: normal;
}

#content.contact div.tel_box p span.fax{
  font-size:12px;
}

div#mail_area {
  width: 100%;
  max-width: 740px;
  margin:10px auto 20px;
}

/*メールフォームタイトル*/
div#mail_area h2.content {
  font-size: 12px;
  line-height: 40px;
}

div#mail_area .text_box01 {
  margin-bottom: 10px;
  font-size: 12px;
  line-height: 1.8;
}

#container #main #mail_area .thanks_text_box01 {
  font-size: 12px;
  height: 500px;
}


/* 約款・条件書等 */
table.Terms_and_conditions{
}

table.Terms_and_conditions tr{
  display: block;
  margin-bottom: 10px;
}

table.Terms_and_conditions td{
  display: block;
}
