@charset "UTF-8";
/* Default CSS
Version: 2.2
*/

/* =Basic structure
-------------------------------------------------------------- */
html {
  font-size: 62.5%;
}
body {
  font-family: Helvetica, Arial, "ヒラギノ角ゴ Pro W3",
    "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, sans-serif;
}
article,
aside,
div,
p,
li,
dt,
dd,
th,
td {
  line-height: 1.6;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.4;
}
a {
  outline: none;
  text-decoration: underline;
}
a:hover {
  text-decoration: none;
}

/* =サイズ関係
-------------------------------------------------------------- */
#header,
.headline p,
.main-navigation ul,
#main-image,
#main,
body.full-width #main-content,
#footer {
  max-width: 1000px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  float: none;
}

/* =Layout
-------------------------------------------------------------- */
#main {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  width: 100%;
}
#main:after {
  clear: both;
  content: "";
  height: 0;
  display: block;
  visibility: hidden;
}
#main-content {
  width: 100%;
  margin-top: 25px;
  -webkit-box-ordinal-group: 1;
  -moz-box-ordinal-group: 1;
  box-ordinal-group: 1;
  order: 1; /*IE 8-*/
  -webkit-order: 1; /*Safari,iOS*/
}
#sidebar {
  width: 30%;
  margin-top: 25px;
  -webkit-flex: none;
  -moz-flex: none;
  flex: none;
}
#sidebar.primary {
  -webkit-box-ordinal-group: 2;
  -moz-box-ordinal-group: 2;
  box-ordinal-group: 2;
  order: 2; /*IE 8-*/
  -webkit-order: 2; /*Safari,iOS*/
}
#sidebar.secondary {
  -webkit-box-ordinal-group: 3;
  -moz-box-ordinal-group: 3;
  box-ordinal-group: 3;
  order: 3; /*IE 8-*/
  -webkit-order: 3; /*Safari,iOS*/
}

/* =Header
-------------------------------------------------------------- */
#header:after {
  clear: both;
  content: "";
  height: 0;
  display: block;
  visibility: hidden;
}
.logo {
  text-align: left;
  float: left;
}
.description {
  float: right;
  text-align: right;
}

/* =Navigation Menu
-------------------------------------------------------------- */
.main-navigation {
  text-align: center;
  width: 100%;
  text-align: center;
}
.main-navigation ul {
  display: table;
  table-layout: fixed;
}
.main-navigation li {
  line-height: 1;
  display: table-cell;
  vertical-align: middle;
  position: relative;
}
.main-navigation li a {
  display: block;
  text-decoration: none;
  white-space: nowrap;
  text-align: center;
  padding: 5px 0;
}
.main-navigation li a:hover,
.main-navigation li a:focus {
  opacity: 0.7;
  filter: alpha(opacity=70); /* ie lt 8 */
  -ms-filter: "alpha(opacity=70)"; /* ie 8 */
  -moz-opacity: 0.7; /* FF lt 1.5, Netscape */
  -khtml-opacity: 0.7; /* Safari 1.x */
}
.main-navigation i {
  font-size: 120%;
}
.main-navigation .current-menu-item > a,
.main-navigation .current-menu-ancestor > a {
  /*選択されたメニュー(親・子)*/
  font-weight: bold;
}
/*子メニュー*/
.main-navigation li ul {
  /*子メニューが閉じた状態*/
  margin: 0;
  padding: 0;
  position: absolute;
  top: 100%;
  z-index: 1;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
}
.main-navigation ul li:hover > ul,
.main-navigation ul li:focus > ul,
.main-navigation .focus > ul {
  /*子メニューが開いた状態*/
  border-left: 0;
  clip: inherit;
  overflow: inherit;
  height: inherit;
  width: inherit;
}
.main-navigation .current-menu-ancestor .current-menu-item a {
  /*選択された子メニュー*/
  background: #eee;
}

.main-navigation li ul li {
  background: #fff;
  border-left: 1px solid #ccc;
  border-right: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  position: relative;
  height: auto;
  padding: 0;
  float: none;
}
.main-navigation li ul li a {
  display: block;
  padding: 10px 15px;
  white-space: normal;
}
/*孫メニュー(非表示)*/
.main-navigation li ul ul {
  top: 0;
  left: 100%;
}
/* =ページトップ
-------------------------------------------------------------- */
#pageTop {
  background: #ddd;
  border-radius: 5px;
  color: #fff;
  padding: 20px;
  position: fixed;
  bottom: 36px;
  right: 20px;
  text-decoration: none;
  line-height: 1;
}
#pageTop:hover {
  background: #eee;
}
/* =Footer
-------------------------------------------------------------- */
#footer-container {
  clear: both;
  margin-top: 25px;
  padding-top: 25px;
}
#footer-container ul,
#footer-container p {
  font-size: 12px;
  font-size: 1.2rem;
  line-height: 1.3;
  text-align: center;
}
#footer-container .info ul {
  margin-bottom: 15px;
}
#footer-container .info ul li {
  display: inline;
  font-size: 11px;
  font-size: 1.1rem;
}
#footer-container .info ul li ul {
  /*子ページのリンクは非表示*/
  display: none;
}
#footer-container .info ul li:before {
  content: " | ";
}
#footer-container .info ul li:nth-of-type(1):before {
  content: "";
}
#footer-container .info p {
  display: inline-block;
  margin-bottom: 15px;
}
#footer-container .copyright {
  display: block;
  text-align: center;
}

/* =Main content
-------------------------------------------------------------- */
#main-container img {
  max-width: 100%;
  height: auto;
}

.main-content article:after {
  content: "";
  height: 0;
  visibility: hidden;
  display: block;
  clear: both;
}

.main-content img {
  vertical-align: middle;
}

.main-content h1,
.main-content h2 {
  font-size: 21px;
  font-size: 2.1rem;
  border: none;
  font-weight: bold;
  margin-bottom: 10px;
  padding: 0;
}

.main-content h1 a,
.main-content h2 a {
  color: inherit;
}

.main-content h1 a:hover,
.main-content h2 a:hover {
  color: #999;
  text-decoration: none;
}
.main-content h3 {
  font-size: 20px;
  font-size: 2rem;
  border: none;
  margin-bottom: 10px;
  padding: 0;
}
.main-content h4 {
  font-size: 19px;
  font-size: 1.9rem;
  border: none;
  margin-bottom: 10px;
  padding: 0;
}
.main-content h5 {
  font-size: 18px;
  font-size: 1.8rem;
  border: none;
  margin-bottom: 10px;
  padding: 0;
}
.main-content h6 {
  font-size: 16px;
  font-size: 1.6rem;
  border: none;
  margin-bottom: 10px;
  padding: 0;
}

.main-content p {
  margin: 0 0 10px;
  word-break: break-word;
}
.main-content ol,
.main-content ul {
  margin: 0 0 10px;
}
.main-content ul ul,
.main-content ol ol,
.main-content ul ol,
.main-content ol ul {
  margin-bottom: 0;
}
.main-content ul {
  list-style: none outside;
}
.main-content ol {
  list-style: decimal inside;
}
.main-content li li {
  margin: 0 0 0 15px;
}

.main-content dt {
  font-weight: bold;
}

/*エントリーのメタ情報*/
footer.content-meta,
.content-footer.content-meta {
  margin-top: 25px;
}

.meta-container.tags a:before,
.tagcloud a:before {
  position: absolute;
  top: 0;
  left: -10px;
  border-style: solid;
  border-width: 10px 10px 10px 0;
  border-color: transparent #cccccc transparent transparent;
  line-height: 0px;
  _border-color: #000000 #cccccc #000000 #000000;
  _filter: progid:DXImageTransform.Microsoft.Chroma(color='#000000');
  display: inline-block;
  content: "";
}
.meta-container.tags a:after,
.tagcloud a:after {
  position: absolute;
  top: 0;
  left: -5px;
  display: inline-block;
  content: "・";
  color: #fff;
}
.meta-container.tags a,
.tagcloud a {
  position: relative;
  background: #ccc;
  left: 10px;
  margin-right: 10px;
  height: 20px;
  line-height: 22px;
  display: inline-block;
  text-decoration: none;
  font-size: 11px;
  font-size: 1.1rem;
  padding: 0 5px;
  color: #fff;
}
.meta-container.tags a:hover,
.tagcloud a:hover {
  color: inherit;
}

/*一覧用の表示*/
.archive-list li {
  padding: 20px 0;
}
.archive-list:after,
.archive-list li:after {
  content: "";
  height: 0;
  visibility: hidden;
  display: block;
  clear: both;
}
.archive-list a {
  text-decoration: none;
}
.archive-list a:hover h4,
.archive-list a:hover p {
  text-decoration: underline;
}
.archive-list p {
  line-height: 1.4;
  margin-bottom: 0;
}
.archive-list a:hover img {
  opacity: 0.7;
  filter: alpha(opacity=70); /* ie lt 8 */
  -ms-filter: "alpha(opacity=70)"; /* ie 8 */
  -moz-opacity: 0.7; /* FF lt 1.5, Netscape */
  -khtml-opacity: 0.7; /* Safari 1.x */
}
.archive-list .thumbnail {
  width: 23%;
  float: left;
  line-height: 1;
}
.archive-list .thumbnail img {
  height: auto;
}
.archive-list .text {
  margin: 0 0 0 23%;
  padding: 0 0 0 10px;
}
.archive-list .text h2,
.archive-list .text h3,
.archive-list .text h4,
.archive-list .text h5,
.archive-list .text h6 {
  clear: none;
}
.archive-list.image-right .thumbnail {
  float: right;
  text-align: right;
}
.archive-list.image-right .text {
  margin: 0 23% 0 0;
  padding: 0 10px 0 0;
}
.archive-list.image-center .thumbnail {
  float: none;
  margin: auto;
  text-align: center;
  margin-bottom: 10px;
  width: auto;
}
.archive-list.image-center .text {
  margin: 0;
  padding: 0;
}
.archive-list.image-none .thumbnail {
  display: none;
}
.archive-list.image-none .text {
  margin: 0;
  padding: 0;
}

/* Page Navigation */
.wp-pagenavi {
  margin-top: 50px;
  text-align: center;
}
.wp-pagenavi a {
  color: inherit;
}
.wp-pagenavi a,
.wp-pagenavi span {
  padding: 5px 10px;
  margin: 2px;
  display: inline-block;
  text-decoration: none;
}
.wp-pagenavi span.current {
  background-color: #ccc;
  border: 1px solid #000;
}

/* =Sidebar
-------------------------------------------------------------- */

/* =Widgets
-------------------------------------------------------------- */
.widget {
  margin-bottom: 20px;
  word-wrap: break-word;
}
.widget .widget-title {
  font-size: 14px;
  font-size: 1.4rem;
}
.widget .widget-title.secondary {
  /*Facebook用*/
  font-size: 12px;
  font-size: 1.2rem;
}

.widget .widget-title i {
  font-size: 130%;
}
.widget li {
  padding: 10px 0;
  border-bottom: 1px dotted #999;
}
.widget li:last-child {
  border-bottom: none;
}

.widget .tagcloud a {
  display: inline-block;
}

.widget ul ul {
  margin-left: 12px;
}
.widget .button {
  margin: 10px 0;
}
.widget .archive-list .content-meta {
  margin-bottom: 0;
}

.widget .widget-bnr a {
  display: block;
  margin-bottom: 10px;
}
.widget .widget-bnr img {
  width: 100%;
  height: auto;
}

/* スマホ専用スタイル */
@media screen and (max-width: 600px) {
  #header,
  .headline p,
  #main-image,
  #main,
  body.full-width #main-content,
  #footer {
    width: auto !important;
  }
  #main {
    display: block !important;
  }
  #main-content,
  #sidebar {
    max-width: 100% !important;
    min-width: 100% !important;
    width: auto !important;
    padding: 0 !important;
    margin-bottom: 25px;
    float: none !important;
  }
}
