/*==========================================
  ブログ
===========================================*/
/* 一覧 */
.blog_content {
  font-weight: 500;
  font-size: 16px;
}
ul {
  -webkit-padding-start: 0;
  padding: 0;
}
.label_area {
  font-size: 12px;
}
.list_inline li {
  display: inline;
}
.bnr_blog {
  box-sizing: border-box;
  width: 100%;
  padding: 0;
  margin-bottom: 4.8%;
  display: flex;
}
.bnr_blog_left {
  background: url(../img/blog/bnr_blog_left.png) no-repeat top center;
  background-size: cover;
  height: 360px;
  width: calc( 100% - 460px );
}
.bnr_blog_right {
  background: url(../img/blog/bnr_blog_right.png) no-repeat top center;
  height: 360px;
  width: 460px;
}
.blog_list {
  width: 100%;
  max-width: 940px;
  padding: 0 15px;
  margin: 0 auto;
}
.post_area {
  margin-top: 30px;
}
.post_box {
  border-bottom: #666666 1px dashed;
  padding: 0 0 20px;
}
.blog_content .new_label > span {
  background: #cf000e;
  color: #ffffff;
  padding: 0 .5%;
  margin-right: 10px;
  border-radius: 3px;
}
.staff_data {
  margin-top: 10px;
}
.staff_data table td:first-child {
  width: 47px;
  height: 47px;
  padding: 10px 0;
}
.staff_data table td:last-child {
  padding-left: 15px;
  vertical-align: center;
}
.staff_data .icon {
  width: 47px;
  height: 47px;
  object-fit: cover;
  margin-left: 0;
}
.staff_name {
  margin-top: 3%;
}
.bnr_area {
  margin-top: 70px;
}
.blog_list .title {
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 32px;
}
/* 小さい画面 */
@media(max-width: 767px){
  .blog_list .title {
    margin-bottom: 12px;
  }
}
.more_button {
  margin: 70px auto 0;
}

/* IE11 */
@media all and (-ms-high-contrast:none){

  /* ブログ一覧のNEWラベル */
  .blog_list .new_label {
    line-height: 12px;
  }
  .blog_list .new_label > span {
    display: inline-block;
    padding: 4px .5% 0;
  }

  /* ブログ詳細のNEWラベル */
  .content_area .label_area {
    line-height: 20px;
  }
  .content_area .label_area .new_label {
    line-height: 20px;
  }
  .content_area .label_area .new_label span {
    display: inline-block;
    padding: 6px .5% 0;
    line-height: 20px;
  }

  /* この記事に関連したブログのNEWラベル */
  .blog_content .relation .new_label {
    line-height: 12px;
  }
  .blog_content .relation .new_label > span {
    display: inline-block;
    padding: 4.8px .5% 0;
  }

  /* 前後の記事のNEWラベル */
  .next_pre .new_label {
    line-height: 12px;
  }
  .next_pre .new_label > span {
    display: inline-block;
    padding: 4px .5% 1px;
  }
}

/* 詳細 */
.content_area {
  /* padding: 0 13.5%; */
  width: 100%;
  font-size: 16px;
  max-width: 940px;
  padding: 0 15px;
  margin: 0 auto;
  word-wrap: break-word;
}
.content_area .title_box {
  border-bottom: #666666 1px dashed;
  padding: 0 0 20px;
}
.title_box .title {
  font-weight: 600;
  font-size: 18px;
}
.content_area .new_label > span {
  background: #cf000e;
  color: #ffffff;
  padding: 0 5px;
  margin-right: 10px;
  border-radius: 3px;
  font-size: 20px;
}
.content_area .days {
  font-size: 18px;
}
.layout {
  margin: 30px auto;
  padding: 0;
}
.layout0 .img_container,
.layout1 .img_container,
.layout3 .img_container {
}
.content_text p {
  margin: 0;
  line-height: 34px;
}

.img_and_detail {
  width: 100%;
  max-width: 430px;
}
.layout0 .img_and_detail {
  float: left;
  margin-right: 30px;
}
.layout1 .img_and_detail {
  float: right;
  margin-left: 30px;
}
.layout3 .content_text {
  clear: both;
  padding-top: 30px;
}
.detail_header {
  font-size: 18px;
  margin: 0 auto;
  border-bottom: #666666 1px dashed;
  padding-bottom: 10px;
  line-height: 36px;
}
/* Archive */
.archive_yearly, .archive_month{
  text-align: center;
}
.archive_yearly{
  margin-top: 10px;
  margin-bottom: 15px;
}
.archive_yearly a{
  border: 1px solid #000;
  padding: 1px 15px;
  transition: background-color .5s;
}
.archive_yearly a:hover{
  background-color: #000;
  color: #FFF;
  transition: background-color .5s;
  text-decoration: none;
}
.list-inline > li{
  padding-left: 0px;
  padding-right: 0px;
}
/* .archive_month li::before{
  content: "";
  border-right: 1px solid #000;
} */

.img_text {
  display: inline-block;
  margin: 10px 0;
  font-size: 14px;
}
.relation {
  background: #f2f2f2;
  margin: 50px 0;
  position: relative;
}
.relation_list {
  padding: 0;
  margin: 0 auto;
  max-width: 770px;
}
.relation p.title {
  font-weight: 600;
  text-align: center;
  margin: 50px 0 30px;
}
.relation .sub_post_box {
  max-width: 270px;
}
.relation .sub_post_box.left {
  float: right;
  margin-right: 55px;
}
.relation .sub_post_box.right {
  margin-left: 55px;
}
.relation .relation_post_img {
  height:202px;
  overflow: hidden;
}
.sub_post_box_img{
  max-height:172px;
  overflow: hidden;
}

.icon_arw {
  max-width: 30px;
  position: absolute;
  top: 35%;
  cursor: pointer;
}
.icon_arw:hover {
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  opacity: 0.8;
  filter: alpha(opacity=80);
  -ms-filter: "alpha(opacity=80)";
}
.icon_arw.right{
  right: 0;
}
.icon_arw.left{
  left: 0;
  z-index: 1;
}
.icon_arw_right {
  position: absolute;
  top: 50%;
  right: 0;
}
.icon_arw_left {
  position: absolute;
  top: 50%;
  left: 20%;
}
.next_pre a {
  text-decoration: none;
}
.left_post_box {
  display: flex;
  overflow: auto; /* 子要素に合わせる */
  flex: 100%;
}
.right_post_box {
  display: flex;
  flex-direction: row-reverse;
  overflow: auto; /* 子要素に合わせる */
  flex: 100%;
}
.prev_link {
  width: 135px;
}
.next_link {
  width: 135px;
  text-align: right;
}
.post_parent_box {
  max-width: 230px;
  overflow: auto;
  flex: 100%;
}
.next_pre {
  width: 100%;
  height: auto;
  max-width: 910px;
  margin: 0 auto 50px;
  display: flex;
  justify-content: space-between;
}
.contributor {
  /* position: relative;
  height: 12.5%;
  padding-left: 39px; */
}
.contributor_box img {
  max-width: 141px;
}
.contributor_box_child{
  max-width: 910px;
  margin: 0 auto;
}
.contributor_box .name, .contributor_box .position{
  padding-left: 14px;
}
.contributor .contributor_name {
  position: absolute;

}
.contributor_link {
  position: absolute;
  bottom: 0;
  right: 140px;
}
.contributor_position{
  position: absolute;
  bottom: 0;
}
.post_contributor{
  position: absolute;
  top: 20px;
}
.contributor_writer{
  padding-left: 20px;
}
.contributor_img{
  padding-left: 135px;
}

.contributor_img img{
  width: 141px;
  height: 141px;
}
.contributor_link .link .box {
  border: #000000 1px solid;
  padding: 5px;
  text-align: center;
  font-size: 12px;
  margin-top: 10px;
}
.contributor_link .link .box:before {
  /* content: '> '; */
}
.contributor_box_child_row{
  position: relative;
}
@media(max-width: 1119px) {
  .contributor {
    padding-left: 10px;
  }
  .contributor_link {
    position: absolute;
    bottom: 0;
    right: 140px;
  }
  .contributor_img{
    padding-left: 135px;
  }
}
@media(max-width: 991px) {
  .content_area {
    padding: 0 15px;
  }
  .contributor {
    padding-left: 20px;
  }
  .contributor_link {
    position: absolute;
    bottom: 0;
    right: 140px;
  }
  .contributor_img{
    padding-left: 135px;
  }
}
@media(max-width: 767px) {

  .bnr_blog {
    /* height: calc( 100vw * 0.78 );
    border: 1px solid #490; */
  }
  .bnr_blog_right {
    display: none;
  }
  .bnr_blog_right {
    /* height: calc( 100vw * 0.78 );
    width: 100%;
    max-width: 100%;
    background-size: cover; */
  }
  .bnr_blog_left {
    height: 150px;
    width: 100%;
  }
  .left_post_box {
    display: block;
    padding-right: 10px;
    max-width: 165px;
  }
  .right_post_box {
    display: block;
    padding-left: 10px;
    max-width: 165px;
  }
  .next_link, .prev_link {
    width: 100%;
  }
  .img_and_detail {
    width: 100%;
    max-width: 100%;
    float: none;
  }
  .icon_arw_left {
    left: 0;
  }
  .icon_arw_right {
    text-align: right;
  }
  .relation .sub_post_box{
    max-width: inherit;
  }
  .relation .sub_post_box.left {
    margin: 0 14.844%;
  }
  .relation .sub_post_box.right {
    margin: 0 14.844%;
  }
  .contributor {
    padding-left: 0;
    padding-right: 0;
  }
  .contributor_link {
    position: relative;
    bottom: inherit;
    right:inherit;
    margin-top: 20px;
  }
  .contributor_writer{
    padding-left: 10px;
  }
  .contributor_img{
    padding-left: inherit;
  }
  .contributor .contributor_name {
    top: 40%;
  }
  .post_contributor{
    top: 0px;
  }
  .contributor_box .name, .contributor_box .position{
    padding-left: 0px;
  }
  .contributor_img img{
    width: 100px;
    height: 100px;
  }
}

/* アーカイブ */
.archive_box {
  margin-top: 40px;
  padding-top: 30px;
  border-top: #666666 2px solid;
}
.archive_box .title {
  font-weight: 600;
  text-align: center;
}
.yearly span {
  border: 1px #000000 solid;
}
.archive_month li:nth-last-child(n+2)::after {
  content: '|';
  display: inline-block;
  margin-right: 1px;
}
.archive_month span {
  margin: 0 3px;
}
.archive_month .not_link span {
  border: none;
}
.archive_month, .contributor_link a:hover{
  text-decoration: none;
}
.staff_link {
  transition: background-color .5s;
}
.staff_link:hover {
  background-color: #000;
  color: #FFF;
  transition: background-color .5s;
  text-decoration: none;
}


/* 以下バナー群 */
.base_border.gray {
  border: #D1D1D1 2px solid;
}
.bnr_box {
  background: #ffffff;
  margin: 40px auto;
}
.showroom_bnr_area {
  background: #F2F2F2;
  margin-bottom: 9.7%;
}
.address span {
  display: inline-block;
}
.labels {
  color: #ffffff;
  font-weight: 600;
  text-align: center;
}
.labels .red {
  background: #D23349;
  color: #ffffff;
  width: 45%;
}
.labels .gray {
  background: #333333;
  width: 45%;
}
.showroom_bnr_area .title {
  text-align: center;
  margin: 3% auto;
}
.showroom_bnr_area .tsudanuma .title {
  margin-bottom: 11%;
}
.showroom_bnr_area .address {
  margin: 3% auto;
}
.showroom_bnr_area .labels {
  margin: 0 0 17px;
}

/* IE11 */
@media all and (-ms-high-contrast:none){

  /* Archive */
  .archive_yearly a{
    padding: 5px 15px 0;
    display: inline-block;
    line-height: 16px;
  }
  .archive_month li {
    line-height: 18px;
  }
  .archive_month li span {
    display: inline-block;
    padding: 1px 2px 0;
  }
  .archive_month .exist a {
    display: inline-block;
    padding: 5px 2px 0;
  }
  /* プロフィール一覧へ */
  .contributor_link .link .box {
    padding: 7px 5px 3px;
  }
}


/*==========================================
 動的コンテンツ 画像リサイズ設定
===========================================*/
.img_container {
  width: 100%;
  height: auto;
  position: relative;
  overflow: hidden;
}
.img_container::before {
  content:"";
  display: block;
}
.blog_content .content_area .img_container img {
  /*width: 100%;*/
  width: auto;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  margin: auto;
  max-width: 100%;
}

.current_main_img {
  margin: 30px 0;
  padding-top: 55%;
}

.blog_main_img, relation_post_img, .sub_post_imgbox {
  padding-top: 74.8%;
  margin-bottom: 5px;
}

.blog_content_img {
  padding-top: 67.4%;
}

@media(max-width: 991px){
  .post_area{
    padding: 0 15px;
  }
}
@media(max-width: 767px) {
  .more_button button {
    width: 170px;
  }
  .relation .relation_post_img {
    height:202px;
    overflow: hidden;
  }
}
