@charset "utf-8";

/*
 * PC スマホ共用CSS
 */

.facebook_banner {
    margin: 20px 0;
}
 
.facebook_banner img {
    width: 100%;
    height: auto;
}
 
.facebook_banner a img:hover {
    opacity:0.75;
    filter: alpha(opacity=75);        /* ie lt 8 */
    -ms-filter: "alpha(opacity=75)";  /* ie 8 */
    -moz-opacity:0.75;                 /* FF lt 1.5, Netscape */
    -khtml-opacity: 0.75;              /* Safari 1.x */
}


/*Googleカレンダー*/
.cal_wrapper {
    max-width: 960px; /* 最大幅 */
    min-width: 300px; /* 最小幅 */
    margin: 2.0833% auto;
}
.googlecal {
    position: relative;
    padding-bottom: 100%; /* 縦横比 */
    height: 0;
}
.googlecal iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}
/* 画面幅が768px以上の場合の縦横比の指定 */
@media only screen and (min-width: 768px) {
    .googlecal { padding-bottom: 75%; }
}

/*Youtube*/
.youtube_wrap {
  position:relative;
  padding-bottom: 56.25%;
  padding-top:30px;
  height:0;
  overflow:hidden;
}
.youtube_wrap iframe {
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
}


/*  カスタマイズ：「ブログトップの記事を開閉式にする。」
---------------------------------------------------------------------------------------------------- */
/* 初回は非表示 */
html.official_blog.blog_list .post .entry-content {
  display: none;
}
/* 調整 */
html.official_blog.blog_list .post {
  padding-bottom: 60px !important;
}
html.official_blog.blog_list .post .entry-meta,
html.official_blog.blog_list .post .entry-content {
  margin: 0;
}
/* ▼SP▼ */
html.official_blog.blog_list.sp .post .entry-title {
  padding-right: 40px;
}
html.official_blog.blog_list.sp .post .entry-meta {
  margin-bottom: 16px !important;
}
html.official_blog.blog_list.sp .post .entry-content {
  margin: 0 !important;
}
html.official_blog.blog_list.sp .post .entry-content .addtoany_content {
  margin-top: 0;
}
html.official_blog.blog_list.sp .post .entry-content > p:last-of-type {
  margin: 0 !important;
}
/* ▲SP▲ */
/* ✕ボタン */
html.official_blog.blog_list .post .entry-title {
  position: relative;
}
/* ▼PC▼ */
html.official_blog.blog_list.pc .post .entry-title {
  box-sizing: border-box;
  padding: 15px 50px 15px 20px !important;
  width: 700px;
}
/* ▲PC▲ */
html.official_blog.blog_list .post .entry-title span.qa_btn {
  position: absolute;
  top: 50%;
  right: 10px;
  display: block;
  width: 30px;
  height: 30px;
  cursor: pointer;
  transform: translateY(-50%);
}
/* ▼SP▼ */
html.official_blog.blog_list.sp .post .entry-title span.qa_btn {
  right: 5px;
}
/* ▲SP▲ */
html.official_blog.blog_list .post .entry-title span.qa_btn::before {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 100%;
  height: 2px;
  background-color: #000000;
  content: "";
  transform: translate(-50%, -50%);
}
html.official_blog.blog_list .post .entry-title span.qa_btn::after {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 2px;
  height: 100%;
  background-color: #000000;
  content: "";
  transition: transform 0.5s ease 0s;
  transform: translate(-50%, -50%);
}
/* ▼SP▼ */
html.official_blog.blog_list.sp .post .entry-title span.qa_btn::before,
html.official_blog.blog_list.sp .post .entry-title span.qa_btn::after {
  background-color: #ffffff;
}
/* ▲SP▲ */
html.official_blog.blog_list .post.open .entry-title span.qa_btn::before {
  display: none;
}
html.official_blog.blog_list .post.open .entry-title span.qa_btn::after {
  transform: translate(-50%, -50%) rotate(270deg);
}


/*  カスタマイズ：「ブログカテゴリーに階層を付ける」
---------------------------------------------------------------------------------------------------- */
html.official_blog .widget_categories > ul li.parent {
  position: relative;
}
html.official_blog .widget_categories > ul li.parent > a {
  border-bottom: 1px dotted #999999 !important;
  background: none !important;
}
/* ▼SP▼ */
html.official_blog.sp .widget_categories > ul li.parent > a {
  border: none !important;
}
html.official_blog.sp .widget_categories > ul li.parent.open > a {
  border-bottom: 1px dotted #333333 !important;
}
/* ▲SP▲ */
/* ✕ボタン */
html.official_blog .widget_categories > ul li.parent > span.tree_btn {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  padding: 22px 6.5px;
  width: 16px;
  height: 16px;
  cursor: pointer;
}
/* ▼SP▼ */
html.official_blog.sp .widget_categories > ul li.parent > span.tree_btn {
  left: -5%;
  padding: 11px 5px;
}
/* ▲SP▲ */
html.official_blog .widget_categories > ul li.parent > span.tree_btn::before,
html.official_blog .widget_categories > ul li.parent > span.tree_btn::after {
  position: absolute;
  top: 40px;
  left: 50%;
  display: block;
  background-color: #000000;
  content: "";
  transform: translate(-50%, -50%);
}
/* ▼SP▼ */
html.official_blog.sp .widget_categories > ul li.parent > span.tree_btn::before,
html.official_blog.sp .widget_categories > ul li.parent > span.tree_btn::after {
  top: 18px;
}
/* ▲SP▲ */
html.official_blog .widget_categories > ul li.parent > span.tree_btn::before {
  width: 16px;
  height: 2px;
}
html.official_blog .widget_categories > ul li.parent > span.tree_btn::after {
  width: 2px;
  height: 16px;
  transition: transform 0.5s ease 0s;
}
html.official_blog .widget_categories > ul li.parent.open > span.tree_btn::before {
  display: none;
}
html.official_blog .widget_categories > ul li.parent.open > span.tree_btn::after {
  transform: translate(-50%, -50%) rotate(270deg);
}
/* 子要素 */
html.official_blog .widget_categories > ul li > .children {
  display: none;
  box-sizing: border-box;
  padding-left: 30px !important;
}
html.official_blog .widget_categories > ul li > .children li {
  margin: 0 !important;
}


/*  カスタマイズ：「ブログトップの記事を閉じている時に本文を少し表示」
---------------------------------------------------------------------------------------------------- */
/* 本文を少し表示 */
html.official_blog.blog_list .post .customize_comment {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  height: 50px;
  white-space: normal;
  font-size: 16px;
  line-height: 25px;

  -webkit-line-clamp: 2;
}
/* ▼SP▼ */
html.official_blog.blog_list.sp .post .customize_comment {
  height: 100px;

  -webkit-line-clamp: 4;
}
/* ▲SP▲ */
/* 続きを読む */
html.official_blog.blog_list .post .customize_comment_btn {
  float: right;
  white-space: normal;
  font-size: 16px;
  line-height: 25px;
}
/* 開いている時は非表示 */
html.official_blog.blog_list .post.open .customize_comment,
html.official_blog.blog_list .post.open .customize_comment_btn {
  display: none;
}
