@charset "utf-8";
/*
Theme Name: Chibakyoko 2017
Description: Chibakyoko Web Site
Version: 1.0
Tags: simple
*/
body {
  font: 16px/1.4 "メイリオ", "Meiryo", arial, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "ＭＳ Ｐゴシック", "MS PGothic", Sans-Serif;
  color: #252525;
  line-height: 2em;
}
body#toppage {}
a {
  color: #666;
  text-decoration: none;
}
a {
  color: #666699;
  text-decoration: none;
}
a:hover {
  color: #6699CC;
  text-decoration: underline;
}
a:active, a:focus {
  outline: 0;
}
img {
  border: 0;
}
.clear {
  clear: both;
}
/*************
全体
*************/
#wrapper {
  margin: 0 auto;
  padding: 0 50px;
  width: 1100px;
}
body#toppage #wrapper {
  margin: 0 auto;
  padding: 0 50px;
  width: 1100px;
  line-height: 0;
}
@media (max-width: 767px) {
  body {
    margin: 0;
    padding: 0;
  }
  #wrapper, body#toppage #wrapper {
    padding: 0;
    width: 100%;
  }
}
/*************
/* ヘッダー
*************/
#header {}
@media (max-width: 767px) {
  #header {
    display: none;
  }
}
body#toppage #header {}
#header h1 {
  clear: both;
  padding: 10px 0 0 0;
}
/*************
/* トップナビゲーション
*************/
ul#topnav {
  margin: 25px auto 20px auto;
  padding: 0;
  width: 1100px;
  height: 80px;
  background: url(images/topnav3.png) no-repeat 0 0;
}
@media (max-width: 767px) {
  ul#topnav {
    line-height: 1.4;
    margin: 0;
    left: 100%;
    opacity: 0;
    position: fixed;
    top: 56px;
    width: 100%;
    height: 100%;
    background: none;
    background-color: #2f6a8e;
    transition: 500ms ease-out;
    z-index: 1000;
  }
  .open ul#topnav {
    opacity: 1 !important;
    left: 0 !important;
  }
}
ul#topnav li {
  float: left;
  list-style: none;
}
@media (max-width: 767px) {
  ul#topnav li {
    float: none;
  }
}
ul#topnav a {
  text-indent: -9999px;
  text-decoration: none;
  display: block;
  height: 80px;
  background: url(images/topnav3.png) no-repeat;
}
@media (max-width: 767px) {
  ul#topnav a {
    background: none;
    text-indent: 0;
    width: calc(100% - 40px) !important;
    height: auto;
    color: #fff;
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #5988a5;
  }
}
ul#topnav a#home {
  background-position: 0 0;
  width: 150px;
}
ul#topnav a#about {
  background-position: -150px 0;
  width: 161px;
}
ul#topnav a#kyoiku {
  background-position: -311px 0;
  width: 161px;
}
ul#topnav a#fukushi {
  background-position: -472px 0;
  width: 161px;
}
ul#topnav a#kyosai {
  background-position: -633px 0;
  width: 161px;
}
ul#topnav a#songai {
  background-position: -794px 0;
  width: 150px;
}
ul#topnav a#contact {
  background-position: -944px 0;
  width: 156px;
}
ul#topnav a#home:hover, ul#topnav li.active a#home {
  background-position: 0 -80px;
}
ul#topnav a#about:hover, ul#topnav li.active a#concept {
  background-position: -150px -80px;
}
ul#topnav a#kyoiku:hover, ul#topnav li.active a#location {
  background-position: -311px -80px;
}
ul#topnav a#fukushi:hover, ul#topnav li.active a#design {
  background-position: -472px -80px;
}
ul#topnav a#kyosai:hover, ul#topnav li.active a#plan {
  background-position: -633px -80px;
}
ul#topnav a#songai:hover, ul#topnav li.active a#quality {
  background-position: -794px -80px;
}
ul#topnav a#contact:hover, ul#topnav li.active a#semiorder {
  background-position: -944px -80px;
}
li.active a#home {
  background-position: 0 -42px;
}
li.active a#guide {
  background-position: -213px -42px;
}
li.active a#design {
  background-position: -429px -42px;
}
li.active a#mp {
  background-position: -573px -42px;
}
/*************
コンテンツ　左サイド＋右コンテンツ
*************/
div#container {
  padding: 20px 0 0 0;
}
div#container.fullwidth {
  padding: 0 0 70px 0;
  background: #ffffff;
}
@media (max-width: 767px) {
  div#container.fullwidth {
    margin: 57px auto 0;
    padding: 0;
    width: 96%;
  }
  .page-id-168 div#container,
  .page-id-272 div#container,
  .category div#container,
  .single div#container {
    margin-top: 57px;
  }
}
/*************
メイン（右側）コンテンツ
*************/
#main {
  float: right;
  width: 705px;
  padding: 15px 0;
  display: inline;
}
@media (max-width: 767px) {
  #main {
    float: none;
    width: 100%;
    padding: 0;
    display: block;
  }
  .page-id-168 #main,
  .page-id-272 #main,
  .category #main,
  .single #main {
    width: 96%;
    margin: 0 auto;
  }
  .single #main {
    margin-bottom: 40px;
  }
}
#main ul {
  margin: 10px 0;
}
/*fullwidth*/
#main_fw {
  width: 1100px;
  background: #ffffff;
}
@media (max-width: 767px) {
  #main_fw {
    width: 100%;
  }
  #main_fw p img {
    width: 100%;
    height: auto;
  }
}
#main_fw h2 em {
  display: none;
}
#main_fw h3 {
  font-size: 20px;
  font-weight: bold;
  margin: 30px 0 10px 0;
  letter-spacing: 0.2em;
  color: #bc5f31;
}
@media (max-width: 767px) {
  #main_fw h3 {
    font-size: 18px;
    margin: 20px 0 10px 0;
  }
}
#main_fw h3.top {
  margin-top: 0px;
}
#main h2, #main_fw h2 {
  padding: 80px 0 40px 0;
  line-height: 40px;
  font-size: 13px;
  font-weight: normal;
  color: #252525;
  background: url(images/heading.png) no-repeat;
}
@media (max-width: 767px) {
  #main_fw h2 {
    padding: 30px 0 10px 0;
    line-height: normal;
    overflow-x: hidden;
  }
  #main_fw h2 img {
    width: 130%;
    max-width: 130%;
    height: auto;
  }
}
body.single #main h2 {}
h2#pagetitle {
  margin: 0;
  padding: 0;
}
#main h3 {
  font-size: 26px;
  font-weight: bold;
  line-height: 30px;
  padding: 40px 0 0 5px;
  margin: 10px 0 10px 0;
  letter-spacing: 0.2em;
  color: #bc5f31;
  border-bottom: 1px solid #cccccc;
}
#main h4 {
  font-size: 22px;
  font-weight: bold;
  line-height: 24px;
  padding: 20px 0 0 5px;
  margin: 10px 0 0 0;
  letter-spacing: 0.2em;
}
#main p {
  padding: 15px 0 15px 0;
}
#main ol, #main_fw ol {
  padding: 0 0 0 30px;
}
@media (max-width: 767px) {
  #main_fw ol {
    margin-top: 0;
  }
}
table {
  line-height: 200%;
}
table td {
  padding: 10px;
  width: 30%;
  vertical-align: top;
}
#next {
  text-align: center;
}
/*************
サイド（左側）コンテンツ
*************/
#sidebar {
  float: left;
  width: 360px;
  padding: 15px 0;
}
@media (max-width: 767px) {
  #sidebar {
    float: none;
    width: 100%;
    padding-top: 0;
  }
}
#sidebar p {
  margin-bottom: 20px;
}
#sidebar h3 {
  margin-top: 5px;
  padding: 0 10px 0 23px;
  line-height: 40px;
  font-size: 13px;
  font-weight: normal;
  color: #252525;
}
#sidebar h3#news {
  margin-top: 5px;
  background: url(images/s_h_news.png) no-repeat;
  width: 360px;
  height: 66px;
}
@media (max-width: 767px) {
  #sidebar h3#news {
    padding: 0;
    margin: 0 auto;
  }
}
#sidebar h3#news em {
  display: none;
}
#sidebar ul {
  margin-left: 5px;
  padding: 10px 0;
}
#sidebar li {
  margin: 0 10px 10px 5px;
  list-style: none;
  border-bottom: 1px solid #cccccc;
}
#sidebar li a {
  background: url(images/list.png) no-repeat 0 50%;
  display: block;
  padding-left: 20px;
}
#sidebar li a:hover {
  background-position: 0 50%;
}
#sidebar ul {
  line-height: 2em;
}
@media (max-width: 767px) {
  #sidebar ul {
    line-height: 2em;
  }
  #custom_html-2,
  #custom_html-4,
  #custom_html-5,
  #custom_html-6 {
    text-align: center;
  }
  #custom_html-3 {
    width: 96%;
    margin: 0 auto;
  }
}
/*************
/* フッター
*************/
/*toppage*/
div#footer {
  clear: both;
  padding: 50px 0 100px 0;
  margin: 0 0;
  width: 1100px;
  height: 185px;
}
body #footer ul#footer_menu {
  clear: both;
  margin: 0;
  padding: 0 25px 0 0;
  background: url(images/footer_menu_li.png) no-repeat top right;
}
body #footer ul#footer_menu li {
  float: left;
  list-style: none;
  background: url(images/footer_menu_li.png) no-repeat top left;
  padding: 0 20px 0 25px;
  line-height: 100%; /*ラインの位置調整*/
}
@media (max-width: 767px) {
  div#footer {
    width: 96%;
    height: auto;
    margin: 0 auto;
    padding: 30px 0 10px;;
  }
  body #footer ul#footer_menu {
    background: none;
    display: flex;
    flex-wrap: wrap;
    padding: 0;
  }
  body #footer ul#footer_menu li {
    float: none;
    padding: 0 10px 0 10px;
    font-size: 14px;
    margin-bottom: 20px;
  }
  body #footer ul#footer_menu li:last-of-type {
    background: none;
    padding-left: 0;
  }
}
#footer a em {
  display: none;
}
/*************
/* ヘッダー
*************/
/*************
/* お問合せ
*************/
input[type=submit], input[type=reset] {
  border-radius: 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  -o-border-radius: 5px;
  -ms-border-radius: 5px;
  border: #a9a9a9 1px solid;
  -moz-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2), 0 0 2px rgba(0, 0, 0, 0.3);
  -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2), 0 0 2px rgba(0, 0, 0, 0.3);
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2), 0 0 2px rgba(0, 0, 0, 0.3);
  width: calc(100% - 6px);
  height: 50px;
  font-size: 20px;
  padding: 0 3px;
  margin: 5px;
  cursor: pointer;
  color: #333;
  font-weight: bold;
  background: #f5f5f5;
}
input[type=submit] {
  background-color: #FFCCCC;
  background-color: #FF9966;
  background-color: #FF3333;
  color: #ffffff;
}
.contact_form input[type=submit] {
  width: 50%;
}
/*************
/* img
*************/
.alignright {
  float: right;
}
.alignleft {
  float: left;
}
.aligncenter {
  display: block;
  margin: 0 auto;
}
/* clearfix */
.clearfix {
  overflow: hidden;
  zoom: 1;
}
.clearfix:after {
  content: ""
    display: block;
  clear: both;
}
.clear {
  clear: both;
}
/*************
/* about
*************/
.page-id-2 #main_fw h3 {
  color: #58ab35;
  font-size: 1.5em;
}
.page-id-2 ul {
  padding-left: 5em;
  margin-left: 0;
}
.page-id-2 ul li {
  list-style: none;
}
.page-id-2 ul.num {
  padding-left: 6em;
  margin-left: 0;
}
.page-id-2 ul.num li {
  list-style: decimal;
}
.page-id-2 p span {
  padding-lfet: 80px;
}
/*************
/* kyoiku
*************/
div.download {
  background-color: #fdefe4;
  padding: 50px;
  overflow: hidden;
}
@media (max-width: 767px) {
  div.download {
    padding: 20px;
  }
}
div.download h3 {
  clear: both;
}
div.download ul {
  margin: 0;
  padding: 0;
}
div.download ul li.pdf {
  float: left;
  list-style: none;
  background: url(images/btn_pdf.png) no-repeat top left;
  margin: 18px;
  margin-bottom: 50px;
  text-align: center;
}
div.download ul li.word {
  float: left;
  list-style: none;
  background: url(images/btn_word.png) no-repeat top left;
  margin: 18px;
  margin-bottom: 50px;
  text-align: center;
}
div.download ul li.exel {
  float: left;
  list-style: none;
  background: url(images/btn_exel.png) no-repeat top left;
  margin: 18px;
  margin-bottom: 50px;
  text-align: center;
}
div.download ul li a {
  display: block;
  padding: 30px 0 0 0;
  width: 161px;
  height: 158px;
  line-height: 120%;
  font-size: 14px;
}
.page-id-68 div.download, .page-id-641 div.download {
  margin: 0 0;
  padding: 0 50px;
}
@media (max-width: 767px) {
  div.download ul li.pdf,
  div.download ul li.word,
  div.download ul li.exel {
    margin: 0 0 30px;
    width: 50%;
  }
  .page-id-68 div.download, .page-id-641 div.download {
    padding: 0 20px;
  }
}

/*福祉事業用*/
.page-id-38 #main h2, .page-id-38 #main_fw h2 {
  padding: 80px 0 20px 0;
}
.page-id-38 #main h2.first, .page-id-38 #main_fw h2.first {
  padding-top: 20px;
}
.page-id-38 #main_fw h3 {
  color: #dd6281;
  font-size: 1.5em;
  padding: 50px 0 0 0;
  margin: 0;
}
.page-id-38 #main_fw h3.first {
  padding: 0;
}
.page-id-38 a {
  color: #dd607e;
  font-size: 1.1em;
}
.page-id-38 a:hover {
  color: #ff9999;
}
@media (max-width: 767px) {
  .page-id-38 #main h2, .page-id-38 #main_fw h2 {
    padding: 20px 0 10px 0;
    margin: 0;
  }
  .page-id-38 #main_fw h3 {
    font-size: 18px;
    padding-top: 2em;
  }
}
/*************
/* fukushi
*************/
#fukushi1 {
  padding: 0 0 20px 0;
  margin-top: 40px;
  margin-bottom: 50px;
  background: #deebde;
}
#fukushi2 {
  padding: 10px 0 20px 0;
  margin-bottom: 50px;
  background: #eaf3e2;
}
#fukushi3 {
  padding: 0 0 20px 0;
  margin-bottom: 50px;
  background: #d9e8eb;
}
#fukushi4 {
  padding: 0 0 20px 0;
  margin-bottom: 50px;
  background: #e7ece7;
}
@media (max-width: 767px) {
  #fukushi1 {
    margin-top: 20px;
  }
}
table.shinsei-hoho {}
table.shinsei-hoho th {
  width: 106px;
}
table.shinsei-hoho td {
  width: 100%;
  color: #00ae8a;
  vertical-align: middle;
}
@media (max-width: 767px) {
  table.shinsei-hoho {
    padding: 0 !important;
    width: 100% !important;
  }
  table.shinsei-hoho th {
    vertical-align: top;
  }
  table.shinsei-hoho td {
    width: calc(100% - 106px);
    vertical-align: top;
    padding: 0;
  }
}
table.chuuijikou th div.box {
  background-color: #190b56;
  border: 1px solid #210e75;
  box-shadow: 1px 1px 0 rgba(255, 255, 255, .4) inset, 0 0 4px rgba(0, 0, 0, .8) inset, 2px 2px 2px rgba(0, 0, 0, .4);
  color: #fff;
  margin: 2em 0;
  padding: 2em;
}
table.chuuijikou td {
  vertical-align: middle;
}
table.chuuijikou ul {
  margin-left: -20px;
}
.page-id-68 #main_fw h2, .page-id-641 #main_fw h2 {
  padding: 60px 0 20px 0;
}
@media (max-width: 767px) {
  .page-id-68 #main_fw h2, .page-id-641 #main_fw h2 {
    padding: 30px 0 10px 0;
    margin: 0;
    overflow-x: hidden;
  }
  .page-id-68 #main_fw h2 img, .page-id-641 #main_fw h2 img {
    width: 160%;
    max-width: 160%;;
    height: auto;
  }
}
.page-id-68 strong, .page-id-641 strong {
  color: #993333;
  font-size: 1.3em;
}
@media (max-width: 767px) {
  .page-id-68 strong, .page-id-641 strong {
    font-size: 18px;
    margin-top: 1em;
  }
}
#fukushi1 p, #fukushi2 p, #fukushi3 p, #fukushi4 p, #fukushi1 table, #fukushi2 table, #fukushi3 table, #fukushi4 table {
  padding-left: 25px;
}
#fukushi1 span, #fukushi2 span, #fukushi3 span, #fukushi4 span {
  color: #00ae8a;
}
img.wp-image-683 {
  margin-top: -100px;
  margin-bottom: -140px;
  position: relative;
  z-index: 2;
}
img.wp-image-676 {
  position: absolute;
  z-index: 1;
}
img.wp-image-686 {
  margin-top: -60px;
}
@media (max-width: 767px) {
  img.wp-image-683 {
    display: none;
  }
  img.wp-image-676 {
    position: static;
  }
}
img.vertical-middle {
  vertical-align: middle;
}
p.goeishin {
  padding-top: 30px;
}
/*************
/* kyosai
*************/
.page-id-106 #main h2.first, .page-id-106 #main_fw h2.first {
  padding-top: 30px;
}
@media (max-width: 767px) {
  .page-id-106 #main_fw h2.first {
    padding-top: 15px;
  }
  .page-id-106 #main_fw h2.first img {
    width: 100%;
  }
}
p.kyosai {
  font-size: 1.3em;
}
ul.kyosai {
  list-style: none;
  font-size: 1.3em;
  padding-left: 20px;
}
ul.kyosai li {
  padding: 0 0 0.6em 0;
}
@media (max-width: 767px) {
  p.kyosai,ul.kyosai {
    font-size: 16px;
    line-height: 1.6;
  }
}
table#chiba, table#funabashi {
  color: #fff;
  font-size: 1.4em;
  width: 100%;
}
table#chiba th, table#funabashi th {
  width: 10%;
}
table#chiba td, table#funabashi td {
  vertical-align: middle;
}
table#chiba a, table#chiba a:hover, table#funabashi a, table#chiba, table#funabashi a:hover {
  color: #fff;
}
table#chiba th {
  color: #0f66a8;
  background: -moz-linear-gradient(top, #f6fafb, #b6dae1);
  background: -webkit-linear-gradient(top, #f6fafb, #b6dae1);
  background: linear-gradient(to bottom, #f6fafb, #b6dae1);
}
table#chiba tr td:nth-of-type(1) {
  background: -moz-linear-gradient(top, #90b2d2, #5e90bf);
  background: -webkit-linear-gradient(top, #90b2d2, #5e90bf);
  background: linear-gradient(to bottom, #90b2d2, #5e90bf);
}
table#chiba tr td:nth-of-type(2) {
  background: -moz-linear-gradient(top, #6493c0, #1a5ea1);
  background: -webkit-linear-gradient(top, #6493c0, #1a5ea1);
  background: linear-gradient(to bottom, #6493c0, #1a5ea1);
}
table#funabashi th {
  color: #08786c;
  background: -moz-linear-gradient(top, #f3f9f7, #d7ede1);
  background: -webkit-linear-gradient(top, #f3f9f7, #d7ede1);
  background: linear-gradient(to bottom, #f3f9f7, #d7ede1);
}
table#funabashi tr td:nth-of-type(1) {
  background: -moz-linear-gradient(top, #9ecfb9, #6cb894);
  background: -webkit-linear-gradient(top, #9ecfb9, #6cb894);
  background: linear-gradient(to bottom, #9ecfb9, #6cb894);
}
table#funabashi tr td:nth-of-type(2) {
  background: -moz-linear-gradient(top, #6ab793, #319b6b);
  background: -webkit-linear-gradient(top, #6ab793, #319b6b);
  background: linear-gradient(to bottom, #6ab793, #319b6b);
}
@media (max-width: 767px) {
  table#chiba, table#funabashi {
    font-size: 15px;
  }
}
/*************
/* songai
*************/
.page-id-122 #main h2, .page-id-122 #main_fw h2 {
  padding: 100px 0 10px 0;
}
.page-id-122 #main h2.first, .page-id-122 #main_fw h2.first {
  padding-top: 30px;
}
.page-id-122 #main_fw h3 {
  color: #1ca3db;
  font-size: 1.5em;
  font-weight: bold;
}
.page-id-122 #main_fw h3.red {
  color: #db1c1c;
}
.page-id-122 #main_fw h3.green {
  color: #339900;
}
.page-id-122 #main_fw h3.dantai {
  color: #1ca3db;
  font-size: 1.5em;
  font-weight: bold;
  padding: 6px 0 6px 42px;
  background: url(images/6_songai_h_h3.png) no-repeat 0 0;
}
.page-id-122 strong {
  font-size: 1.4em;
  color: #1572b7;
}
img.aligncenter {
  padding: 20px 0;
}
.caution {
  display: inline-block;
  padding: 5px 20px 5px 20px;
  background: linear-gradient(#fadddf, #e67f83);
  font-weight: bold;
  color: #993333;
  font-size: 1.2em;
}
h3#teikeidairi {
  color: #1572b7 !important;
  font-size: 2em !important;
  margin-top: 60px;
  border-radius: 10px;
  border: 2px solid #1572b7 !important;
  padding: 0.8em 1em;
  /*background: -moz-linear-gradient(top, #6ab793, #319b6b);
background: -webkit-linear-gradient(top, #6ab793, #319b6b);
background: linear-gradient(to bottom, #6ab793, #319b6b);*/
}
@media (max-width: 767px) {
  .page-id-122 #main_fw h2 img {
    width: 100%;
  }
  img.wp-image-3769 {
    width: 30%;
    height: auto;
  }
  img.wp-image-3858 {
    width: 30%;
    height: auto;
  }
  img.wp-image-3811 {
    width: 40%;
    height: auto;
  }
  #main_fw p img.wp-image-140 {
    width: 40%;
    height: auto;
  }
  img.wp-image-144 {
    width: 40%;
    height: auto;
  }
  .page-id-122 p iframe {
    width: 100%;
    height: 550px;
  }
  h3#teikeidairi {
    font-size: 18px !important;
    text-align: center;
  }
}
/*************
/* common
*************/
body.single-post #main h2, #main h2.page_title, body.category #main h2.pagetitle {
  background: url(images/page_h_bg_1.png) no-repeat 0 0;
  width: 595px;
  height: 61px;
  padding: 20px 0 0 110px;
  margin: 0 0 30px 0;
  font-size: 32px;
  font-weight: bold;
  color: #bc5f31;
}
@media (max-width: 767px) {
  #main h2.page_title,
  body.category #main h2.pagetitle,
  body.single-post #main h2 {
    width: calc(100% - 65px);
    height: auto;
    padding: 15px 0 15px 65px;
    margin-bottom: 20px;
    font-size: 18px;
    line-height: 1em;
    background-size: cover;
  }
}
@media (max-width: 375px) {
  body.single-post #main h2 {
    width: calc(100% - 75px);
    padding: 15px 0 15px 75px;
  }
}
div#date {
  padding: 5px 0 0 0;
  text-align: right;
}
div.width_1 {
  padding: 15px 30px;
}
/*************
/* toppage
*************/
#main p#toppage_btn {
  width: 705px;
  height: 646px;
  background: url(images/top_btn_bg01.png) no-repeat 0 0;
  padding: 170px 0 0 0;
  margin: 0;
  line-height: 100%;
}
#main p#toppage_btn img {
  margin: 5px 0 0 0;
  padding: 0;
  padding-left: 67px;
}
#main p#toppage_btn1 {
  width: 705px;
  height: 646px;
  background: url(images/top_btn_bg02.png) no-repeat 0 0;
  padding: 170px 0 0 0;
  margin: 0;
  line-height: 100%;
}
#main p#toppage_btn1 img {
  margin: 5px 0 0 0;
  padding: 0;
  padding-left: 67px;
}
@media (max-width: 767px) {
  #main p#toppage_btn1 {
    width: 100%;
    height: auto;
    background: url(images/top_btn_bg02_sp.png) no-repeat 0 0;
    background-size: cover;
    padding-top: 24vw;
  }
  #main p#toppage_btn1 img {
    width: 100%;
    height: auto;
    padding: 0;
  }
}
#text-2 {
  line-height: 2em;
}
a:hover img {
  opacity: 0.8;
  filter: alpha(opacity=80);
  -ms-filter: "alpha( opacity=80 )";
}
div#animation_bg {
  margin: 0;
  padding: 0;
  width: 794px;
  height: 406px;
  background: url(images/anime_bg.png) no-repeat 0 0;
}
table#animation {
  width: 1100px;
  height: 560px;
  padding: 0;
  margin: 0;
}
table#animation td {
  width: 100%;
  padding: 0;
  margin: 0;
}
@media (max-width: 767px) {
  table#animation {
    margin-top: 56px;
    width: 100%;
    height: 51vw;
    border-spacing: 0;
  }
  #animation_container {
    width: 100% !important;
    height: auto !important;
  }
  #canvas {
    width: 100% !important;
    height: auto !important;
  }
  #dom_overlay_container {
    width: 100% !important;
    height: auto !important;
  }
}
table#kokuban_contents {
  background: url(images/kokuban_bg.png) repeat-y 0 0;
  margin: 0;
  padding: 0 10px 0 10px;
  color: #ffffff;
  font-size: 1.2em;
  line-height: 120%;
}
@media (max-width: 767px) {
  table#kokuban_contents {
    background-size: contain;
  }
}
table#kokuban_contents td {
  margin: 0;
  padding: 0 30px 0 30px;
  width: 794px;
}
@media (max-width: 767px) {
  table#kokuban_contents td {
    display: block;
    padding: 0 10px;
    width: calc(100% - 20px);
  }
}
table#kokuban_contents td li {}
.kokuban_top {
  line-height: 1.2;
  background: url(images/kokuban_bg.png) repeat-y 0 0;
  background-size: contain;
  padding: 15px;
  color: #fecce7;
  font-weight: bold;
  margin-top: 1em;
}
table#news_contents {
  width: 1140px;
  margin: 0;
  margin-left: -20px;
  padding: 0 10px 0 10px;
  color: #000000;
  font-weight: bold;
  font-size: 1em;
  line-height: 120%;
  border-collapse: separate !important;
  border-spacing: 20px !important;
  border-color: #ffffff;
}
@media (max-width: 767px) {
  table#news_contents {
    width: 100%;
    margin: 0;
    padding: 0;
    border-collapse: collapse !important;
    border-spacing: 0 !important;
  }
}
/*table#news_contents td#news1{
	margin-right: 20px;
}*/
table#news_contents td#news1 h2 {
  width: 464px;
  height: 128px;
  background: url(images/news-1_title.png) no-repeat 0 0;
}
@media (max-width: 767px) {
  table#news_contents td#news1 h2 {
    margin: 0;
    width: 100%;
    height: 26vw;
    background-size: contain;
  }
}
table#news_contents td#news1 h2 em {
  display: none;
}
table#news_contents td#news2 h2 {
  width: 464px;
  height: 128px;
  background: url(images/news-2_title.png) no-repeat 0 0;
}
@media (max-width: 767px) {
  table#news_contents td#news2 h2 {
    margin: 0;
    width: 100%;
    height: 26vw;
    background-size: contain;
  }
}
table#news_contents td#news2 h2 em {
  display: none;
}
table#news_contents .clear {
  clear: both;
}
table#news_contents td {
  background: url(images/news_bg.png) no-repeat 0 0;
  background-size: cover;
  margin: 20px;
  padding: 0 30px 0 30px;
  font-size: 1.5em;
  width: 50%;
  line-height: 1.5em;
}
@media (max-width: 767px) {
  table#news_contents td {
    display: block;
    margin: 0;
    padding: 0 10px 10px;
    width: calc(100% - 20px);
  }
}
table#news_contents td li:first-child {
  border-top: 1px dashed #333333;
}
table#news_contents td ul {
  padding: 10px;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  list-style: none;
  vertical-align: middle;
}
@media (max-width: 767px) {
  table#news_contents td ul {
    margin: 0;
  }
}
table#news_contents td li {
  clear: both !important;
  padding-top: 10px;
  padding-bottom: 10px;
  border-bottom: 1px dashed #333333;
  min-height: 100px;
  /*position: relative;*/
}
table#news_contents td a {
  min-height: 100px;
  color: #333333;
}
@media (max-width: 767px) {
  table#news_contents td a {
    font-size: 20px;
  }
}
table#news_contents td img {
  max-height: 100px !important;
  width: auto;
  float: right;
  /*position: absolute;
	top:10px;
	right: 10px;*/
}
/*************
/* fontresizer
*************/
div#fontSize {
  float: right;
  padding: 10px 0;
}
div#fontSize p {
  float: left;
  margin: 0;
  padding: 0;
}
div#fontSize ul {
  float: right;
  margin: 0;
  padding: 0;
}
div#fontSize ul li {
  float: left;
  list-style: none;
  padding: 5px;
  margin-left: 10px;
  background: #0f66a9;
  color: #fff;
  border: 1px solid #0f66a9;
  line-height: 100%;
  border-radius: 3px; /* CSS3草案 */
  -webkit-border-radius: 3px; /* Safari,Google Chrome用 */
  -moz-border-radius: 3px; /* Firefox用 */
  cursor: pointer;
}
div#fontSize ul li.middle {
  font-size: 1.2em;
}
div#fontSize ul li.large {
  font-size: 1.5em;
}
#fontSize li.current {
  /*	font-weight: bold;
	color:#CC0000;
	background-color:#FCE4E4; */
}
/*************
/* mailform
*************/
table.table-01, table.table-02 {
  width: 100%;
  border: 3px #E3E3E3 solid;
  border-collapse: collapse;
  border-spacing: 0;
  margin: 30px auto;
  table-layout: fixed;
}
table.table-01 th, table.table-02 th {
  padding: 10px;
  border: #E3E3E3 solid;
  border-width: 0 0 1px 1px;
  background: #f8f2f2;
  font-weight: bold;
  line-height: 120%;
  text-align: left;
  vertical-align: middle;
  width: 15%;
}
table.table-02 th {
  background: #ffffff;
  width: 30%;
  border-width: 2px 0px;
  vertical-align: top;
}
table.table-01 td, table.table-02 td {
  padding: 10px;
  border: 3px #E3E3E3 solid;
  border-width: 0 0 1px 1px;
  background: #ffffff;
}
table.table-02 td {
  border-width: 2px 0px;
  width: 70%;
}
.page-id-122 table.table-02 strong {
  font-size: 1.0em;
  color: #000000;
}
table.table-01 textarea, table.table-01 input {
  padding: 3px;
  margin: 3px;
  font-size: 16px;
}
textarea.width-full-1, textarea.width-full-2 {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}
textarea.width-full-1 {
  width: 99%;
}
textarea.width-full-2 {
  width: 99%;
}
table.table-01 .small {
  width: 100px;
}
.text-right span.wpcf7-form-control-wrap {
  float: right;
  clear: both;
}
table.table-01 th.width-a {
  width: 5%;
}
table.table-01 th.width-b {
  width: 20%;
}
div.keiyakunaiyo {
  background: #f9f9f9;
  padding: 20px;
}
table.contact input, table.contact textarea {
  width: 90%;
}
body.page-id-389 #main h2.page_title {
  font-size: 24px;
}
/*
#main h3.shoken{
	font-size: 18px!important;
}

#main p.note{
	color: #cc0000;
	font-size: 18px;
}*/
/*** widget_text ***/
#toppage #container .widget_text ul {
  padding: 5px 20px 15px 20px;
}
#toppage #container .widget_text li {
  list-style: none;
  padding: 5px 0;
  margin: 0;
  border-bottom: 1px solid #cccccc;
}
#toppage #container .widget_text h3 {
  color: #333;
  font-size: 1.4em;
  font-weight: normal;
}
#sidebar .widget_text h3, #container .widget_text h3 {
  margin-bottom: 0;
  padding: 20px 0 0 0;
  font-size: 1.5em;
  border-bottom: 2px solid #006699;
  background: #ffffff;
}
#sidebar .widget_text {
  background: #fff;
}
/*#container .widget_text{
background:#ebf6fc;
}*/
#sidebar .widget_text ul, #container .widget_text ul {
  margin-top: 0;
}
#sidebar .widget_text li a, #container .widget_text li a {
  background: url(images/list_text_widget.png) no-repeat left 50%;
  padding-left: 10px;
}
/*************
/* download
*************/
table.table-03 {
  border-spacing: 0;
}
table.table-03 td, table.table-03 th {
  padding: 0;
}
/*************
/* display
*************/
@media (max-width: 767px) {
  .sp_dn {
    display: none;
  }
}
.sp_db {
  display: none;
}
@media (max-width: 767px) {
  .sp_db {
    display: block;
  }
}
/*************
/* レスポンシブimg
*************/
@media (max-width: 767px) {
  img.responsive {
    width: 100%;
    height: auto;
  }
}

/*************
/* スマホ用ヘッダー
*************/
.header_row {
  display: none;
}
@media (max-width: 767px) {
  .header_row {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    background-color: #fff;
    position: fixed;
    top: 0;
    z-index: 1000;
  }
  .header_logo {
    width: 60%;
  }
  .header_logo a {
    display: block;
    color: #004593;
    font-weight: bold;
    font-size: 13px;
    margin: 0;
    line-height: 1.2em;
    padding: 0 0 0 10px;
  }
  .header_links {
    width: 40%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
  }
  .menu_btn {
    display: block;
    width: 60px;
    height: 30px;
    position: relative;
    z-index: 4000;
  }
  .menu_btn span {
    display: inline-block;
    height: 4px;
    width: 35px;
    background-color: #2f6a8e;
    border-radius: 10px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: 0.3s;
  }
  .menu_btn span:nth-child(1) {
    top: 5px;
  }
  .menu_btn span:nth-child(2) {
    top: 15px;
  }
  .menu_btn span:nth-child(3) {
    top: 25px;
  }
  .header_contact {
    width: 65px;
    text-align: center;
  }
  .header_contact a {
    font-size: 12px;
    color: #fff;
    padding: 30px 0 2px;
    display: block;
    width: 100%;
    background-color: #2f6a8e;
    border: 1px solid #2f6a8e;
    position: relative;
    font-weight: bold;
    line-height: 1.2;
  }
  .header_contact a span {
    display: block;
    font-size: 8px;
  }
  .header_contact a::before {
    content: url("images/icon_tel.png");
    position: absolute;
    left: 0px;
    top: -10px;
    transform: scale(0.37);
  }
  .open .menu_btn span:nth-child(1) {
    transform: translate(-50%, -50%) rotate(45deg);
    top: 50% !important;
    left: 50%;
  }
  .open .menu_btn span:nth-child(2) {
    opacity: 0;
  }
  .open .menu_btn span:nth-child(3) {
    transform: translate(-50%, -50%) rotate(-45deg);
    top: 50% !important;
    left: 50%;
  }
}