@charset "UTF-8";
/*
 Theme Name:Funtre Blog Theme V4
 Description:FuntreのBlogテーマです。
 Author:FunTre株式会社
 Author URI:http://funtre.com/
 Version: 4.0.0
 */
/****************************************
 reset
 *****************************************/
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  vertical-align: baseline;
  background: transparent;
}
img {
  vertical-align: top;
}
body {
  line-height: 1;
}
article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary {
  display: block;
}
ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after, q:before, q:after {
  content: '';
  content: none;
}
a {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
  -moz-transition: opacity 0.3s linear;
  -webkit-transition: opacity 0.3s linear;
  transition: opacity 0.3s linear;
}
ins {
  background-color: #ff9;
  color: #57980f;
  text-decoration: none;
}
mark {
  background-color: #ff9;
  color: #57980f;
  font-style: italic;
  font-weight: bold;
}
del {
  text-decoration: line-through;
}
abbr[title], dfn[title] {
  border-bottom: 1px dotted #57980f;
  cursor: help;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}
/****************************************
 wordpress
 *****************************************/
.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.alignleft {
  float: left;
  margin-right: 25px;
  margin-bottom: 20px;
}
.alignright {
  float: right;
  margin-left: 25px;
  margin-bottom: 20px;
}
body.wp-autoresize, .mce-content-body.post-area {
  padding: 10px !important;
  min-width: 100%;
  box-sizing: border-box;
}
/****************************************
 clearfix
 *****************************************/
.clearfix:before, .clearfix:after {
  display: block;
  visibility: hidden;
  clear: both;
  height: 0 !important;
  content: "";
  font-size: 0;
}
.clearfix {
  display: inline-block;
}
.clearfix {
  display: block;
}
/****************************************
 main Layout
 *****************************************/
@font-face {
  font-family: "YuGothic M";
  src: local("Yu Gothic Medium"), local("Yu Gothic");
  font-weight: 500;
}
body {
  color: #333;
  font: 8.75px "游ゴシック", YuGothic, "YuGothic M", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Verdana, "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  background: #fff;
  min-width: 1200px;
  overflow: hidden;
}
html {
  overflow-y: scroll;
}
#contents {
  width: 1200px;
  margin: 50px auto 50px;
  padding: 0 20px;
}
.page-template-page-one-column #contents {
  max-width: 1200px;
  width: 100%;
  padding: 0;
}
#main {
  width: 834px;
  float: left;
}
#main.one-column {
  width: 960px;
  float: none;
  margin: 0 auto;
}
#sidebar {
  float: right;
  width: 320px;
}
@media screen and (max-width: 800px) {
  body {
    min-width: 100%;
  }
  #contents {
    width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    margin-bottom: 30px;
  }
  .page-template-page-one-column #contents {
    max-width: auto;
    padding: 0 10px;
  }
  #main {
    width: 100%;
    float: none;
    margin-bottom: 30px;
  }
  #main.one-column {
    width: 100%;
  }
  #sidebar {
    width: 100%;
    float: none;
  }
}
@media screen and (max-width: 600px) {
  body {
    -webkit-text-size-adjust: 100%;
  }
}
/****************************************
 general&common
 *****************************************/
a {
  transition: 0.5s ease-out;
  -o-transition: 0.5s ease-out;
  -moz-transition: 0.5s ease-out;
  -webkit-transition: 0.5s ease-out;
}
.clear {
  display: block;
  clear: both;
}
.st {
  font-weight: bold;
}
.posr {
  position: relative;
}
.en {
  color: #999;
  font-weight: bold;
}
.align-c {
  text-align: center;
}
.fb-page {
  margin-bottom: 40px;
}
@media screen and (max-width: 600px) {
  .alignleft, .alignright {
    display: block;
    float: none;
    margin-left: auto;
    margin-right: auto;
  }
}
/****************************************
 header
 *****************************************/
#header {
  text-align: center;
  background: url('images/header_bg.png') top center / cover no-repeat;
  background-size: 100% 20px;
}
#header a {
  text-decoration: none;
  color: #333;
}
#header-inner {
  display: table;
  width: 100%;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  max-width: 1240px;
  margin: 0 auto;
  padding: 70px 20px 30px;
  position: relative;
}
#header-logo {
  display: table-cell;
  font-size: 28px;
  font-weight: bold;
  line-height: 1.4em;
  vertical-align: middle;
  text-align: left;
}
#header-logo img {
  max-width: 100%;
  height: auto;
}
#header-social {
  display: table-cell;
  vertical-align: middle;
}
#header-social ul {
  float: right;
}
#header-social li {
  float: left;
  font-size: 25px;
}
#header-social li + li {
  margin-left: 25px;
}
#header-social a:hover {
  opacity: 0.5;
}
@media screen and (max-width: 800px) {
  #header {
    padding: 30px 0 0;
    height: auto;
  }
  #header-inner {
    padding: 0;
    width: 100%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    display: block;
  }
  #header-logo {
    display: block;
    width: 80%;
    margin: 0 auto;
    float: none;
    text-align: center;
    padding: 20px;
    text-align: center;
  }
  #header-logo img {
    max-width: 100%;
    height: auto;
  }
  #header-social {
    display: none;
  }
}
/****************************************
 global Navi
 *****************************************/
#nav-bg {
  position: relative;
  z-index: 999;
}
#global-navi {
  width: 1200px;
  margin: 0 auto;
}
.flexnav {
  display: flex;
  max-height: 58px;
  margin-bottom: 30px;
}
.flexnav li {
  flex: 1 0 auto;
}
.flexnav li, .flexnav li a {
  background: transparent;
  color: #333;
  text-decoration: none;
  text-align: center;
  font-size: 16px;
}
.flexnav li {
  width: auto;
  transition: 0.5s ease-out;
  -o-transition: 0.5s ease-out;
  -moz-transition: 0.5s ease-out;
  -webkit-transition: 0.5s ease-out;
}
.flexnav li a {
  padding: 10px 20px;
  border-left: 1px solid ccc;
}
.flexnav li:hover, .flexnav li ul li a:hover {
  background: #ccc;
}
.flexnav li.menu-item-has-children:hover {
  background: transparent;
}
.flexnav li.menu-item-has-children:hover .touch-button {
  background: #f2f2f2;
}
.flexnav > li:last-child {
  border-right: 1px solid #ccc;
}
.flexnav .menu-item-has-children {
  padding-right: 10px;
}
.menu-item-has-children .sub-menu {
  margin-top: 5px;
  display: none;
}
.menu-item-has-children .sub-menu li {
  padding-right: 0;
}
.flexnav li ul li a {
  background: #c00000;
  border-left: none;
  color: #fff;
  text-align: left;
}
.flexnav li ul li a:hover, .flexnav li ul li a:active, .flexnav li ul li a:focus {
  background: #eee;
  color: #333;
}
.flexnav ul li ul li a {
  background: #eee;
}
.flexnav li ul {
  min-width: 200px;
}
.flexnav .touch-button .navicon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%) scale(100%, 60%);
  font-size: 14px;
  color: #aeaeae;
  font-style: normal;
  transition: all 0.5s;
}
.menu-item-has-children .sub-menu .touch-button .navicon {
  color: #aeaeae;
}
.flexnav .touch-button {
  height: 44px;
  width: 44px;
  background: none;
}
@media screen and (max-width: 800px) {
  #global-navi {
    width: 100%;
  }
  #nav-bg {
    margin-bottom: 0;
    padding: 0;
    box-shadow: none;
  }
  .flexnav {
    display: block;
    max-height: 0;
    margin-bottom: 0;
  }
  .flexnav li a {
    border-left: none;
  }
  .flexnav li a {
    background: #dcdcdc;
    border-top: 1px solid rgba(0, 0, 0, 0.15);
    border-bottom: none;
    text-align: left;
    padding: 17px 20px;
    font-size: 12px;
  }
  .flexnav li ul li a {
    background: #c00000;
    color: #fff;
  }
  .flexnav li ul li a:hover, .flexnav li ul li a:active, .flexnav li ul li a:focus {
    background: #eee;
    color: #333;
  }
  .flexnav li ul li ul li a {
    background: #eee;
  }
  .flexnav li ul {
    min-width: 0;
  }
  .menu-button {
    background: transparent;
    text-align: center;
    color: #333;
    font-weight: bold;
    padding: 17px;
    border-bottom: none;
  }
  .menu-button .touch-button {
    height: 56px;
  }
  .flexnav .touch-button {
    height: 53px;
  }
  .flexnav .touch-button .navicon {
    color: #333;
    transform: translateY(-50%) translateX(-50%) scale(100%, 100%);
  }
  .menu-button .touch-button .navicon {
    color: #333;
    top: 1em;
  }
  .flexnav .menu-item-has-children {
    padding-right: 0;
  }
  .menu-item-has-children .sub-menu {
    margin-top: 0;
  }
}
/****************************************
 slider
 *****************************************/
#main-visual {
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
}
#main-visual img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}
#main-visual .w100 img {
  max-width: inherit;
}
#main-visual a {
  display: block;
}
.flexslider {
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  margin-bottom: 0 !important;
  background: transparent !important;
}
.flexslider li {
  overflow: hidden;
}
#main-visual .flexslider {
  margin-bottom: 0;
  height: auto !important;
}
@media screen and (max-width: 600px) {
  #main-visual .flexslider {
    height: 150px;
  }
  #main-visual img {
    height: 150px;
  }
}
@media screen and (max-width: 600px) {
  #main-visual {
    margin-bottom: 30px;
  }
}
/****************************************
 recommend
 *****************************************/
.reccomend h2 {
  text-align: center;
  font-size: 30px;
  margin-bottom: 30px;
  font-weight: normal;
  font-weight: 700;
  margin-top: 50px;
}
.reccomend-slider {
  width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.reccomend-slider li {
  float: left;
  /*box-shadow:0 0 2px rgba(0,0,0,1.3)*/
  max-width: 175px !important;
  width: 175px !important;
  -o-transition: 0.5s ease-out;
  -moz-transition: 0.5s ease-out;
  -webkit-transition: 0.5s ease-out;
}
.reccomend-slider li {
  margin-left: 15px !important;
  margin-right: 15px !important;
}
.reccomend-slider li:first-of-type {
  margin-left: 0 !important;
}
.reccomend-slider li a {
  text-decoration: none;
  color: #333;
}
.reccomend-slider .slides li:hover {
  opacity: 0.4;
}
.reccomend-slider li img {
  width: 100%;
  height: auto;
}
.recom-title {
  padding-top: 10px;
  font-size: 14px;
  font-weight: 700;
}
.reccomend-slider .flexslider {
  border: none;
  background: transparent;
  box-shadow: none;
  margin-bottom: 20px !important;
}
.reccomend-slider .flex-viewport {
  padding: 10px 0 !important;
}
.reccomend-slider .flex-direction-nav a {
  top: 44%;
}
.reccomend-slider .flexslider:hover .flex-next {
  right: -25px;
}
.reccomend-slider .flexslider:hover .flex-prev {
  left: -25px;
}
@media screen and (max-width: 800px) {
  .reccomend {
    width: 100%;
  }
  .reccomend h2 {
    margin-bottom: 0;
    font-size: 20px;
  }
  .reccomend-slider {
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 10px 10px 0;
  }
  .reccomend-slider li {
    margin-left: 8px !important;
    margin-right: 8px !important;
  }
  .reccomend-slider li:first-of-type {
    margin-left: 0 !important;
  }
  .reccomend-slider li {
    max-width: 183px !important;
    width: 183px !important;
  }
  .recom-title {
    font-size: 13px;
  }
  .reccomend-slider .flexslider {
    margin-top: 10px;
    margin-bottom: 10px;
  }
  .reccomend-slider .flexslider:hover .flex-next {
    right: 0px;
  }
  .reccomend-slider .flexslider:hover .flex-prev {
    left: 0px;
  }
}
@media screen and (max-width: 600px) {
  .reccomend-slider .flexslider {
    margin-bottom: 0 !important;
  }
}
/****************************************
 breadcrumb
 *****************************************/
#breadcrumb {
  font-weight: bold;
  overflow: hidden;
  margin-bottom: 20px;
  color: #999;
  font-size: 12px;
  padding-top: 20px;
}
#breadcrumb ul {
  width: 1200px;
  margin: 0 auto;
  padding: 5px 20px 0;
}
#breadcrumb li {
  float: left;
  padding: 5px 15px;
  position: relative;
}
#breadcrumb li:first-child {
  padding-left: 0;
}
#breadcrumb li:first-child:after {
  content: none;
}
#breadcrumb li:after {
  content: "\f105";
  display: inline-block;
  font-family: FontAwesome;
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: absolute;
  left: 0;
  top: 50%;
  margin-top: -7px;
  color: #333;
}
#breadcrumb a {
  color: #333;
  font-weight: normal;
  text-decoration: none;
}
#breadcrumb .fa-home {
  color: #333;
  font-size: 16px;
}
#breadcrumb a:hover {
  color: #cad5d8;
}
@media screen and (max-width: 800px) {
  #breadcrumb {
    margin-top: 0;
  }
  #breadcrumb ul {
    width: 100%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    overflow: hidden;
  }
}
@media screen and (max-width: 600px) {
  #breadcrumb {
    margin-top: 0;
    margin-bottom: 15px;
    padding-top: 10px;
  }
  #breadcrumb ul {
    padding: 5px 10px 0;
    overflow: hidden;
  }
  #breadcrumb li {
    float: left;
    padding: 5px 10px;
    position: relative;
    font-size: 12px;
  }
  #breadcrumb li:after {
    margin-top: -6px;
    color: #ccc;
  }
}
/****************************************
 post
 *****************************************/
.article-box article, .post-single, .post-page {
  box-shadow: 0 0 3px rgba(0, 0, 0, .3);
}
.post-single, .post-page {
  margin-bottom: 30px;
}
.article-box article {
  width: 402px;
  float: left;
  background-color: #fff;
}
.article-box article:nth-child(even) {
  float: right;
}
.article-box article {
  margin-top: 30px;
}
.article-box article:first-child, .article-box article:nth-child(2) {
  margin-top: 0;
}
.post-area {
  background: #fff;
  padding: 50px;
  word-break: normal;
  word-wrap: break-word;
  position: relative;
  font-size: 18px;
  line-height: 1.8em;
}
.article-box a {
  text-decoration: none;
  color: #333;
  display: block;
}
.post-list {
  word-break: normal;
  word-wrap: break-word;
  padding: 20px;
}
.post-list h2 {
  font-size: 20px;
  font-weight: normal;
  line-height: 1.5em;
  min-height: 0;
  margin-bottom: 15px;
}
.post-list-ctn {
  height: 116px;
  overflow: hidden;
  margin-bottom: 25px;
}
.post-category a {
  text-decoration: none;
  color: #999;
  display: inline;
}
.post-category {
  color: #999;
  width: 50%;
  float: right;
  white-space: nowrap;
  overflow: hidden;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
  font-size: 12px;
  text-align: right;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
}
.post-category .fa, .post-date .fa {
  margin-right: 2px;
}
.post-date {
  color: #999;
  width: 50%;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  float: left;
  font-size: 12px;
}
.excerpt {
  font-size: 13px;
}
.post-contents {
  padding-bottom: 50px;
}
.post-contents section + section {
  margin-top: 50px;
}
.post-box {
  overflow: hidden;
}
.post-thumb {
  width: 100%;
  min-height: auto;
  overflow: hidden;
  position: relative;
}
.post-thumb:before {
  content: "";
  display: block;
  padding-top: 49%;
}
.post-thumb img {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  width: 100% !important;
  height: auto;
  -webkit-transform: scale(1);
  transform: scale(1);
  -webkit-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}
.post-thumb:hover img {
  -webkit-transform: scale(1.3);
  transform: scale(1.3);
}
.post-thumb a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.post-area h1 {
  font-size: 28px;
  line-height: 1.5em;
  min-height: 0;
  margin-bottom: 1.2em;
}
.post-page h1 {
  padding-bottom: 0px;
  margin-bottom: 1em;
}
#page-title {
  box-shadow: 0 0 2px rgba(0, 0, 0, .3);
  padding: 30px;
  color: #333;
  font-size: 24px;
  line-height: 1.4em;
  font-weight: normal;
  background-color: #fff;
  margin-bottom: 30px;
}
.post-area h2 {
  clear: both;
  font-size: 24px;
  margin-bottom: 1.4em;
  line-height: 1.4em;
  background: #c00000;
  padding: 15px;
  color: #fff;
  margin-top: 2rem;
}
.post-area h3 {
  font-size: 22px;
  line-height: 1.4em;
  margin-bottom: 1.2em;
  padding-bottom: 8px;
  border-bottom: 2px solid #c00000;
  margin-top: 1.8rem;
}
.post-area h4 {
  font-size: 20px;
  line-height: 1.4em;
  margin-bottom: 1.2em;
  color: #c00000;
  margin-top: 1.5rem;
}
.post-area h5 {
  font-size: 18px;
  line-height: 1.4em;
  margin-bottom: 1.2em;
}
.post-area .post-date {
  margin-bottom: 15px;
  float: none;
  width: 100%;
}
.post-area .post-category {
  padding: 10px 0;
  margin-bottom: 35px;
  float: none;
  width: 100%;
  text-align: left;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}
.post-404 {
  padding-bottom: 10px;
}
.post-area img {
  max-width: 100%;
  height: auto;
}
.home-btn {
  padding: 15px;
  background-color: #ebebeb;
  -webkit-box-shadow: inset 0 0 3px rgba(255, 255, 255, .8);
  -moz-box-shadow: inset 0 0 3px rgba(255, 255, 255, .8);
  box-shadow: inset 0 0 3px rgba(255, 255, 255, .8);
  border: solid 1px #b3b3b3;
  background-image: -webkit-linear-gradient(bottom, #ebebeb, #f5f5f5);
  background-image: -moz-linear-gradient(bottom, #ebebeb, #f5f5f5);
  background-image: -o-linear-gradient(bottom, #ebebeb, #f5f5f5);
  background-image: linear-gradient(to top, #ebebeb, #f5f5f5);
  display: block;
  text-align: center;
  margin: 1em auto 0;
  width: 50%;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  text-decoration: none;
}
.video-wrapper {
  width: 640px;
  margin: 0 auto;
}
.video-container {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px;
  height: 0;
}
.video-container iframe, .video-container object, .video-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.toparticle article {
  margin-top: 30px;
}
@media screen and (max-width: 800px) {
  .article-box article {
    width: 49%;
  }
  .post-area {
    padding: 30px;
  }
}
@media screen and (max-width: 600px) {
  .article-box article {
    width: 100%;
    float: none;
  }
  .article-box article:nth-child(even) {
    float: none;
  }
  .article-box article, .article-box article:nth-child(2) {
    margin-top: 30px;
  }
  .post-list-ctn {
    height: auto;
  }
  .post-area {
    padding: 30px 20px 20px;
  }
  .article-box {
    margin: 0;
  }
  .article-box article + article {
    margin-top: 20px;
  }
  .post-area h1 {
    font-size: 24px;
    padding-bottom: 10px;
    line-height: 1.4em;
  }
  .post-single h1 {
    margin-bottom: 10px;
  }
  .post-page h1 {
    padding-bottom: 0;
  }
  .post-area h2 {
    font-size: 20px;
  }
  .post-area h3 {
    font-size: 18px;
  }
  .post-area h4 {
    font-size: 16px;
  }
  .post-area h5 {
    font-size: 14px;
  }
  .post-single, .post-page {
    margin: 0 -10px 30px;
  }
  #page-title {
    padding: 20px;
  }
  .post-area .post-category {
    margin-bottom: 15px;
  }
  .post-contents {
    padding-bottom: 40px;
  }
  .post-contents section + section {
    margin-top: 40px;
  }
  .post-none {
    margin: 0;
  }
  .home-btn {
    width: 100%;
  }
  .video-wrapper {
    width: 100%;
  }
}
/****************************************
 prev&next
 *****************************************/
.prevnext {
  background: #fff;
  overflow: hidden;
  border-bottom: 1px solid #ccc;
  margin: 0;
  position: relative;
  font-size: 13px;
}
.prevnext:after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  border-right: 1px solid #ccc;
}
.prevnext a {
  display: block;
  text-decoration: none;
  padding: 30px;
  color: #333;
  -moz-transition: background-color 0.3s linear;
  -webkit-transition: background-color 0.3s linear;
  transition: background-color 0.3s linear;
}
.previous a {
  padding-left: 0;
}
.next a {
  padding-right: 0;
}
.prevnext a:hover {
  background: #f8f8f8;
}
.prevnext .fa {
  color: #000;
}
.previous .fa {
  padding-left: 1px;
}
.next .fa {
  padding-right: 1px;
}
.previous, .prev-none, .next, .next-none {
  width: 50%;
  float: left;
}
.prev-none a, .next-none a {
  min-height: 142px;
  line-height: 142px;
  text-align: center;
}
.toprev, .tonext {
  margin-bottom: 10px;
  position: relative;
}
.toprev:before {
  content: "";
  position: absolute;
  border-top: 1px dotted #333;
  top: 50%;
  left: 100px;
  right: 0;
}
.tonext:before {
  content: "";
  position: absolute;
  border-top: 1px dotted #333;
  top: 50%;
  right: 100px;
  left: 0;
}
.tonext {
  text-align: right;
}
.prevnext-box {
  display: table;
  width: 100%;
}
.prevnext-thumb, .prevnext-title {
  display: table-cell;
  vertical-align: top;
  text-align: left;
  overflow: hidden;
}
.prevnext-thumb {
  width: 150px;
}
.prevnext-thumb img {
  width: 100%;
  height: auto;
}
.prevnext-title {
  padding-left: 10px;
  line-height: 1.6em;
}
@media screen and (max-width: 600px) {
  .prevnext {
    margin: 0 -20px -20px;
  }
  .prevnext a {
    padding: 15px 10px;
  }
  .prevnext a:hover {
    background: transparent;
  }
  .prevnext-thumb {
    display: none;
  }
  .prevnext-title {
    padding: 10px 0 0;
  }
  .toprev, .tonext {
    margin-bottom: 0;
  }
  .prev-none a, .next-none a {
    min-height: 0;
    line-height: 1.6em;
    text-align: left;
  }
}
/****************************************
 relation
 *****************************************/
.relation-box {
  margin-bottom: -50px;
  background: #fff;
  overflow: hidden;
}
.relation-box h2 {
  color: #333;
  font-size: 24px;
  margin-top: 40px;
  margin-bottom: 15px;
  padding: 0;
  background: none;
}
.thumb-area {
  overflow: hidden;
  position: relative;
  line-height: 1.2em;
}
.thumb-area:after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  border-right: 1px solid #ccc;
}
.thumb-box {
  display: table;
  width: 50%;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  float: left;
  border-top: 1px solid #ccc;
  font-size: 13px;
}
.thumb-box a {
  display: block;
  padding: 30px;
  text-decoration: none;
  color: #333;
  -moz-transition: background-color 0.3s linear;
  -webkit-transition: background-color 0.3s linear;
  transition: background-color 0.3s linear;
}
.thumb-box a:hover {
  background: #f8f8f8;
}
.thumb-box:nth-child(odd) a {
  padding-left: 0;
}
.thumb-box:nth-child(even) a {
  padding-right: 0;
}
.thumb-ph, .thumb-title {
  display: table-cell;
  vertical-align: top;
  text-align: left;
  overflow: hidden;
}
.thumb-ph {
  width: 150px;
}
.thumb-ph-in {
  width: 150px;
  height: 100px;
  overflow: hidden;
}
.thumb-ph img {
  width: 100%;
  height: auto;
}
.thumb-title {
  padding-left: 10px;
}
@media screen and (max-width: 800px) {
  .relation-box {
    margin-bottom: -30px;
  }
}
@media screen and (max-width: 600px) {
  .relation-box h2 {
    padding: 0 10px 10px;
    margin-bottom: 0;
  }
  .relation-box {
    margin: 0 -20px -20px;
  }
  .thumb-box {
    width: 100%;
    position: relative;
  }
  .thumb-box {
    position: relative;
    padding-right: 15px;
  }
  .thumb-box:after {
    content: "\f105";
    position: absolute;
    top: 50%;
    right: 10px;
    margin-top: -10px;
    display: inline-block;
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #999;
    font-size: 20px;
  }
  .thumb-box:nth-child(odd) a {
    padding-left: 10px;
  }
  .thumb-box:nth-child(even) a {
    padding-left: 10px;
    padding-right: 15px;
  }
  .thumb-box a {
    padding: 10px;
  }
  .thumb-box a:hover {
    background: #fff;
  }
  .thumb-area:after {
    content: none;
  }
  .thumb-ph {
    width: 100px;
  }
  .thumb-ph-in {
    width: 100px;
    height: 67px;
    overflow: hidden;
  }
}
/****************************************
 social
 *****************************************/
#social {
  text-align: center;
  background: #eee;
  padding: 20px 0;
  margin: 0 -50px;
}
#social li {
  margin: 0 5px 0 0;
  padding: 0;
  display: inline-block;
  vertical-align: top;
}
@media screen and (max-width: 800px) {
  #social {
    margin: 0 -30px;
  }
}
@media screen and (max-width: 600px) {
  #social {
    margin: 0 -20px;
  }
}
/****************************************
 検索
 *****************************************/
#searchform {
  position: relative;
}
#s {
  width: 246px;
  height: 44px;
  line-height: 20px;
  padding: 10px;
  vertical-align: bottom;
  border: 1px solid #ccc;
  box-shadow: inset 1px 4px 9px -6px rgba(0, 0, 0, 0.5);
  outline: none;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  color: #999;
  background: #fff;
  -webkit-appearance: none;
  border-radius: 0;
  color: #999;
}
#s:focus {
  color: #333;
}
#searchsubmit {
  position: absolute;
  width: 44px;
  height: 44px;
  text-indent: -9999px;
  overflow: hidden;
  vertical-align: bottom;
  border: none;
  color: #fff;
  cursor: pointer;
  -moz-transition: 0.3s linear;
  -webkit-transition: 0.3s linear;
  transition: 0.3s linear;
  z-index: 3;
  background: rgba(255, 255, 255, 0);
}
#searchsubmit:hover {
  background: rgba(255, 255, 255, .5);
}
#searchform .fa-search {
  display: block;
  width: 44px;
  height: 44px;
  position: absolute;
  color: #fff;
  background: #000;
  font-size: 18px;
  text-align: center;
  top: 0;
  right: 0;
  z-index: 2;
  line-height: 44px;
}
@media screen and (max-width: 800px) {
  #s {
    width: 82%;
    height: 44px;
    line-height: 20px;
  }
  #s:focus {
    color: #333;
  }
  #searchsubmit {
    width: 18%;
    height: 44px;
    border-radius: 0;
  }
  #searchform .fa-search {
    width: 18%;
    height: 44px;
  }
}
/****************************************
 sidebar-widget
 *****************************************/
#sidebar .widget {
  background: #fff;
  box-shadow: 0 0 3px rgba(0, 0, 0, .3);
  margin-bottom: 30px;
  word-break: normal;
  word-wrap: break-word;
}
#sidebar .widget .video-wrapper {
  width: 100%;
}
#sidebar .widget h2 {
  background: url('images/widget_title.png') center center / cover no-repeat;
  color: #fff;
  font-weight: 700;
  text-align: center;
  font-size: 17px;
  padding: 14px;
}
#sidebar .widgettitle {
  margin: -15px -15px 15px;
  padding: 14px 20px;
  text-align: center;
  color: #fff;
  font-size: 14px;
  background-color: #666;
}
#sidebar .widget img {
  max-width: 100%;
  height: auto;
  text-align: center;
}
#sidebar .widget_sp_image {
  border: none;
  box-shadow: none;
  padding: 0;
}
#sidebar .widget_sp_image .widgettitle {
  margin: 0 0 15px;
}
#sidebar .widget_sp_image {
  text-align: center;
}
#sidebar li {
  position: relative;
}
#sidebar li a:after {
  content: "\f105";
  position: absolute;
  top: 50%;
  right: 0;
  margin-top: -7px;
  display: inline-block;
  font-family: FontAwesome;
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #999;
}
#sidebar li + li {
  border-top: 1px dotted #ccc;
}
#sidebar li ul > li:first-child {
  border-top: 1px dotted #ccc;
}
#sidebar li a {
  position: relative;
  padding: 10px 20px 10px 0;
  display: block;
  text-decoration: none;
  color: #333;
}
#sidebar li a:hover {
  opacity: 0.5;
}
#sidebar .widget_categories .children li {
  padding-left: 0.8em;
}
#sidebar .widget_categories .children li a:before {
  content: "\2517";
  color: #999;
  font-size: 90%;
  margin-right: 5px;
}
#sidebar .widget_newpostcatch a {
  padding: 0;
}
#sidebar .widget_newpostcatch a:after {
  content: none;
}
#sidebar .widget_newpostcatch li {
  padding: 10px 20px 10px 0;
}
/* 最近の投稿 */
.recently-box li {
  overflow: hidden;
}
.recently-box a {
  display: block;
  overflow: hidden;
}
.recently-title {
  overflow: hidden;
}
.recently-ph {
  width: 100px;
  margin-right: 10px;
  float: left;
}
.recently-ph img {
  width: 100%;
  height: auto;
}
@media screen and (max-width: 800px) {
  #sidebar .widget {
    padding: 30px;
  }
  #sidebar .widget_sp_image {
    padding: 0 30px;
  }
  #sidebar .widgettitle {
    margin: -30px -30px 30px;
    padding: 14px 30px;
  }
  #sidebar li a {
    padding: 15px 20px 15px 10px;
  }
  .widget > ul {
    margin: -15px 0;
  }
  #sidebar img {
    max-width: 100%;
    height: auto;
    text-align: center;
  }
}
@media screen and (max-width: 600px) {
  #sidebar .widget {
    padding: 15px 10px;
    margin-left: -10px;
    margin-right: -10px;
    border-radius: 0;
  }
  #sidebar .widgettitle {
    margin: -15px -10px 15px;
    padding: 10px;
    border-radius: 0;
  }
  #sidebar .widget_sp_image {
    padding: 0 10px;
  }
  .widget > ul {
    margin: -10px;
  }
  #sidebar li a:after {
    right: 10px;
  }
}
/****************************************
 mail
 *****************************************/
/*common*/
button, input[type="text"], input[type="email"], input[type="url"], select, textarea {
  border: 1px solid #ccc;
  padding: 15px;
  -webkit-appearance: none;
  -moz-appearance: none;
}
textarea {
  width: 90%;
}
select {
  font-size: 16px;
}
input[type="text"], input[type="email"], input[type="url"] {
  width: 60%;
}
button, input[type="submit"], input[type="button"], input[type="reset"] {
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
}
.ctm-btn {
  width: 60%;
  margin: 30px auto;
  display: block;
  text-align: center;
}
.ctm-btn a {
  padding: 20px;
  display: block;
  border-radius: 4px;
  text-decoration: none;
  font-size: 20px;
}
.ctm-btn a:hover {
  opacity: 0.5;
}
.touroku-form input {
  vertical-align: middle;
  background-color: transparent;
  border: none;
  border-radius: 2px;
  box-shadow: inset 1px 4px 9px -6px rgba(0, 0, 0, 0.5);
  background: #fff;
}
.touroku-form .submit-btn {
  -webkit-appearance: none;
  -moz-appearance: none;
  background: #c90000;
  font-weight: bold;
  cursor: pointer;
  color: #fff;
  border-radius: 4px;
  box-shadow: none;
  padding: 0;
}
.touroku-form .submit-btn:hover {
  background: #d06646;
}
.mail-title a {
  color: #333;
  text-decoration: none;
}
/*article-mailkouza*/
.article-mailkouza {
  max-width: 734px;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  background: #ccc;
  margin: 0 auto 30px;
  text-align: center;
  background: #eee;
}
.article-mailkouza .mail-title {
  padding: 20px 0 0;
}
.article-mailkouza .mail-title img {
  width: 100%;
  height: auto;
}
.article-mailkouza input {
  height: 30px;
}
.article-mailkouza .touroku-form {
  width: 90%;
  padding: 20px 0;
  margin: 0 auto;
}
.article-mailkouza .inputmail {
  width: 35%;
  padding: 10px;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
}
.article-mailkouza .inputname {
  width: 35%;
  padding: 10px;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
}
.article-mailkouza .inputname:first-child {
  margin-right: 1%;
}
.article-mailkouza .form-lavel {
  float: left;
  margin-bottom: 0;
  border: none;
  margin-right: 15px;
}
.article-mailkouza .sex-area {
  margin-top: 10px;
  overflow: hidden;
  font-size: 14px;
}
.article-mailkouza .sex-area ul {
  float: left;
  padding: 0;
  margin: 0;
}
.article-mailkouza .submit-btn {
  width: 20%;
  height: 30px;
}
/*side-mailkouza*/
.side-mailkouza {
  background: #eee;
  width: 290px;
  margin: 0 auto;
}
.side-mailkouza a {
  display: block;
  width: 100%;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  padding: 20px;
  font-size: 16px;
  line-height: 1.6em;
}
.side-mailkouza .mail-title {
  text-align: center;
}
.side-mailkouza .touroku-form {
  padding: 20px;
}
.side-mailkouza .touroku-form input {
  height: 40px;
}
.side-mailkouza .inputmail, .side-mailkouza .inputname {
  width: 100%;
  padding: 5px;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  margin-bottom: 15px;
}
.side-mailkouza .inputname {
  width: 100%;
  padding: 5px;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
}
.side-mailkouza .sex-area {
  margin-bottom: 15px;
}
.side-mailkouza .touroku-form .sex-area input {
  height: auto;
}
.side-mailkouza .submit-btn {
  width: 100%;
  height: 40px;
  font-size: 14px;
}
@media screen and (max-width: 600px) {
  /*article-mailkouza*/
  textarea {
    width: 100%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
  }
  select {
    font-size: 18px;
  }
  input[type="text"], input[type="email"], input[type="url"] {
    width: 100%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
  }
  .ctm-btn a {
    padding: 10px;
    font-size: 16px;
  }
  .article-mailkouza {
    max-width: 290px;
    margin: 30px auto 30px;
  }
  .entry_under .article-mailkouza {
    margin-top: 0;
  }
  .article-mailkouza .mail-title {
    padding: 20px;
    font-size: 16px;
    line-height: 1.6em;
  }
  .article-mailkouza .mail-title a {
    display: block;
  }
  .article-mailkouza input {
    height: 40px;
  }
  .article-mailkouza .touroku-form {
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
  }
  .article-mailkouza .inputmail, .article-mailkouza .inputname {
    width: 100%;
    padding: 5px;
    margin-bottom: 15px;
  }
  .article-mailkouza .form-lavel {
    float: none;
    margin-bottom: 10px;
    border-bottom: 1px solid #333;
    margin-right: 0;
  }
  .article-mailkouza .sex-area {
    margin-top: 0;
    margin-bottom: 15px;
    text-align: left;
    line-height: 1.6em;
  }
  .article-mailkouza .sex-area ul {
    float: none;
  }
  .article-mailkouza .sex-area input {
    height: auto;
  }
  .article-mailkouza .submit-btn {
    width: 100%;
    height: 40px;
    font-size: 14px;
  }
}
@media screen and (max-width: 320px) {
  .post-area .article-mailkouza {
    margin-right: -5px;
    margin-left: -5px;
  }
}
/****************************************
 カレンダー
 *****************************************/
#wp-calendar {
  border-collapse: collapse;
  border-top-width: 1px;
  border-right-width: 1px;
  border-top-style: solid;
  border-right-style: solid;
  border-top-color: #ccc;
  border-right-color: #ccc;
  width: 100%;
}
#wp-calendar thead tr th {
  border-bottom-width: 1px;
  border-left-width: 1px;
  border-bottom-style: solid;
  border-left-style: solid;
  border-bottom-color: #ccc;
  border-left-color: #ccc;
}
#wp-calendar td {
  text-align: center;
  padding: 5px;
  border-bottom-width: 1px;
  border-left-width: 1px;
  border-bottom-style: solid;
  border-left-style: solid;
  border-bottom-color: #ccc;
  border-left-color: #ccc;
}
#wp-calendar caption {
  font-weight: bold;
  text-align: left;
}
#wp-calendar tbody tr #today {
  background-color: #ccc;
}
#wp-calendar a {
  color: #eb5836;
}
/****************************************
 pagenation
 *****************************************/
.pagination {
  font-size: 14px;
  line-height: 40px;
  margin: 30px 0 0;
  display: flex;
  justify-content: center;
}
.pagination span, .pagination a {
  display: block;
  width: 40px;
  height: 40px;
  text-align: center;
  text-decoration: none;
  color: #333;
  background: #f2f2f2;
}
.pagination a:hover {
  color: #fff;
  background: #c00000;
}
.pagination .current {
  background: #c00000;
  width: 40px;
  height: 40px;
  text-align: center;
  color: #fff;
}
.page-btn + .page-btn {
  margin-left: 6px;
}
@media screen and (max-width: 600px) {
  .pagination {
    position: relative;
    font-size: 11px;
    line-height: 28px;
    margin: 30px 0 0;
  }
  .pagination span, .pagination a {
    width: 28px;
    height: 28px;
  }
  .pagination .current {
    width: 28px;
    height: 28px;
  }
}
/****************************************
 footer
 *****************************************/
#footer {
  clear: both;
  overflow: hidden;
  background: #eee;
}
#copy {
  font-size: 14px;
  line-height: 1.2em;
  text-align: center;
  padding: 20px;
  color: #333;
  border-top: 1px solid #b3b3b3;
}
#footer-navi {
  position: relative;
  background: #c00000;
}
#footer-navi ul {
  width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  padding: 38px 20px;
  text-align: center;
}
#footer-navi li {
  float: left;
  position: relative;
}
#footer-navi a {
  display: block;
  text-decoration: none;
  color: #fff;
  padding-left: 28px;
  font-size: 16px;
}
#footer-navi li:first-of-type a {
  padding-left: 0;
}
#footer-navi a:hover {
  opacity: 0.5;
}
#pup {
  display: block;
  width: 44px;
  height: 44px;
  text-decoration: none;
  position: fixed;
  right: 10px;
  bottom: 6px;
  color: #fff;
  font-size: 30px;
  text-align: center;
  line-height: 40px;
  background: #000;
  z-index: 999;
  border-radius: 2px;
  cursor: pointer;
}
@media screen and (max-width: 800px) {
  #footer {
    clear: both;
    overflow: hidden;
  }
  #copy {
    font-size: 12px;
  }
  #footer-navi {
    position: relative;
  }
  #footer-navi ul {
    width: 100%;
    padding: 0;
  }
  #footer-navi li {
    float: none;
  }
  #footer-navi li {
    margin-left: 0;
  }
  #footer-navi li:after {
    content: "\f138";
    position: absolute;
    top: 4px;
    left: 0;
    display: inline-block;
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #333;
  }
  #footer-navi a {
    display: block;
    text-decoration: none;
    color: #fff;
    padding: 15px 20px 15px 20px;
    font-size: 13px;
  }
  #footer-navi li:after {
    top: 50%;
    margin-top: -5px;
    right: 10px;
    left: auto;
  }
  #footer-navi li + li {
    border-top: 1px solid #b3b3b3;
    margin-left: 0;
  }
  #pup {
    display: block;
    width: 100%;
    height: 44px;
    position: static;
    font-size: 30px;
    line-height: 40px;
    border-radius: 0px;
    cursor: pointer;
  }
}
@media screen and (max-width: 600px) {
  #footer-navi a {
    padding: 15px 20px 15px 10px;
  }
}
