@charset "UTF-8";

/* =========================================================
   Mビル レポート共通
   ========================================================= */
.m-blog {
  --m-blog-main-color: #195933;
  --m-blog-accent-color: #f28b00;
  --m-blog-text-color: #333;
}

.m-blog,
.m-blog * {
  box-sizing: border-box;
}

.m-blog img {
  width: 100%;
  max-width: 100%;
}

.m-blog-break-sp {
  display: none;
}

/* =========================================================
   メインビジュアル
   ========================================================= */
.m-blog-mv {
  height: 600px;
  background-image: url("../../images/tenants-for-rent_new/main-visual.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.m-blog-mv__inner {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
}

.m-blog-mv__panel {
  width: min(100%, 700px);
  padding: 50px;
  background: rgba(255, 255, 255, 0.6);
}

.m-blog-mv__label {
  display: inline-block;
  margin: 0 0 20px;
  padding: 12px 40px;
  background: var(--m-blog-main-color);
  color: #fff;
  font-family: "Noto Serif JP", serif;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.4;
}

.m-blog-mv__title {
  margin: 0 0 24px;
  color: #fff;
  font-family: "Noto Serif JP", serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.4;
  text-shadow:
    0 0 10px var(--m-blog-main-color),
    0 0 18px var(--m-blog-main-color),
    2px 2px 6px var(--m-blog-main-color);
}

.m-blog-mv__lead {
  margin: 0;
  color: var(--m-blog-text-color);
  line-height: 1.4;
}

/* =========================================================
   パンくず
   ========================================================= */
.m-blog-breadcrumb {
  width: 100%;
  border-bottom: 1px solid #eee;
}

.m-blog-breadcrumb__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 20px;
  list-style: none;
}

.m-blog-breadcrumb__item {
  color: #666;
  font-size: 13px;
  line-height: 1.6;
}

.m-blog-breadcrumb__item + .m-blog-breadcrumb__item::before {
  content: ">";
  display: inline-block;
  margin: 0 10px;
  color: #999;
}

.m-blog-breadcrumb__item a {
  color: inherit;
  text-decoration: none;
}

/* =========================================================
   ブログ一覧全体
   ========================================================= */
.m-blog-archive {
  padding: 30px 30px 0;
}

.m-blog-archive__frame {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 45px 45px 80px;
}

.m-blog-heading {
  margin: 0 0 60px;
  color: var(--m-blog-main-color);
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  text-align: center;
}

.m-blog-heading__eyebrow,
.m-blog-heading__title,
.m-blog-heading__en {
  display: block;
}

.m-blog-heading__eyebrow {
  font-size: 16px;
}

.m-blog-heading__title {
  font-size: 36px;
  line-height: 1.4;
}

.m-blog-heading__en {
  position: relative;
  margin-top: 8px;
  padding-top: 12px;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: 0.08em;
}

.m-blog-heading__en::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 140px;
  height: 1px;
  background: var(--m-blog-main-color);
  transform: translateX(-50%);
}

.m-blog-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: start;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

/* =========================================================
   カテゴリーサイドメニュー
   ========================================================= */
.m-blog-sidebar {
  min-width: 0;
}

.m-blog-sidebar__title {
  margin: 0;
  padding: 15px 15px;
  background: #e5e5e5;
  color: var(--m-blog-main-color);
  font-family: "Noto Serif JP", serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
  border-radius: 6px 6px 0 0;
}

.m-blog-sidebar__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.m-blog-sidebar__item {
  border-bottom: 1px dashed #aaa;
}

.m-blog-sidebar__item a {
  display: block;
  padding: 15px 12px;
  color: var(--m-blog-text-color);
  font-size: 14px;
  line-height: 1.5;
  text-decoration: none;
}

.m-blog-sidebar__empty {
  margin: 18px 0 0;
  color: #777;
  font-size: 14px;
  line-height: 1.7;
}

/* =========================================================
   記事カード
   ========================================================= */
.m-blog-content {
  min-width: 0;
}

.m-blog-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px 28px;
}

.m-blog-card {
  position: relative;
  min-width: 0;
}

.m-blog-card__main-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.m-blog-card__image-wrap {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 3 / 2;
  background: #f1f1f1;
}

.m-blog-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.m-blog-card__category {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  font-weight: 500;
  padding: 10px;
  background: #fff;
  color: var(--m-blog-main-color);
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  border-radius: 0 0 0 6px;
}

.m-blog-card__body {
  margin-top: 12px;
}

.m-blog-card__date {
  display: block;
  margin-bottom: 5px;
  color: var(--m-blog-text-color);
  font-size: 14px;
  line-height: 1.5;
}

.m-blog-card__title {
  margin: 0;
  color: var(--m-blog-text-color);
  font-size: 16px;
  line-height: 1.6;
}

.m-blog-content__empty {
  margin: 0;
  color: #666;
  font-size: 16px;
  line-height: 1.8;
}

/* =========================================================
   ページネーション
   ========================================================= */
.m-blog-pagination {
  margin-top: 60px;
}

.m-blog-pagination__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.m-blog-pagination__item {
  margin: 0;
}

.m-blog-pagination__item .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 8px;
  background: transparent;
  color: var(--m-blog-text-color);
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.m-blog-pagination__item .page-numbers.current {
  background: var(--m-blog-main-color);
  color: #fff;
}

/* =========================================================
   下部バナー
   ========================================================= */
.m-blog-banner {
  margin: 55px auto 80px;
  padding: 0 20px;
  text-align: center;
}

.m-blog-banner a {
  display: inline-block;
}

.m-blog-banner img {
  display: block;
}

.m-blog-banner__sp {
  display: none !important;
}

/* =========================================================
   PCのみのホバー
   ========================================================= */
@media screen and (min-width: 1024px) {
  .m-blog-card__main-link:hover .m-blog-card__image,
  .m-blog-card__main-link:focus-visible .m-blog-card__image {
    transform: scale(1.06);
  }

  .m-blog-sidebar__item a:hover,
  .m-blog-sidebar__item a:focus-visible {
    background: #eee;
  }

  .m-blog-pagination__item a.page-numbers:hover,
  .m-blog-pagination__item a.page-numbers:focus-visible {
    background: #eee;
  }

  .m-blog-breadcrumb__item a:hover,
  .m-blog-breadcrumb__item a:focus-visible {
    text-decoration: underline;
  }
}

/* =========================================================
   タブレット：2列
   ========================================================= */
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .m-blog-archive {
    padding-right: 20px;
    padding-left: 20px;
  }

  .m-blog-archive__frame {
    padding: 45px 30px 70px;
  }

  .m-blog-layout {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 35px;
  }

  .m-blog-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 24px;
  }
}

/* =========================================================
   スマートフォン・小型タブレット
   ========================================================= */
@media screen and (max-width: 767px) {
  .m-blog-break-sp {
    display: inline;
  }

  .m-blog-mv {
    height: 440px;
    background-position: center center;
  }

  .m-blog-mv__inner {
    align-items: flex-end;
    padding-bottom: 25px;
  }

  .m-blog-mv__panel {
    width: 85%;
    padding: 30px 20px;
  }

  .m-blog-mv__label {
    margin-bottom: 12px;
    padding: 12px;
    font-size: 20px;
  }

  .m-blog-mv__title {
    margin-bottom: 12px;
    font-size: 30px;
  }

  .m-blog-breadcrumb__inner {
    padding: 12px 15px;
  }

  .m-blog-archive {
    padding: 0;
  }

  .m-blog-archive__frame {
    padding: 45px 20px 60px;
    border: 0;
  }

  .m-blog-heading {
    margin-bottom: 45px;
  }

  .m-blog-heading__eyebrow,
  .m-blog-heading__en {
    font-size: 13px;
  }

  .m-blog-heading__title {
    font-size: 26px;
  }

  .m-blog-layout {
    display: flex;
    flex-direction: column;
    gap: 55px;
  }

  .m-blog-content {
    order: 1;
    width: 100%;
  }

  .m-blog-sidebar {
    order: 2;
    width: 100%;
  }

  .m-blog-list {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .m-blog-card__category {
    min-width: 90px;
    padding: 10px 14px;
  }

  .m-blog-card__body {
    margin-top: 8px;
  }

  .m-blog-card__date {
    margin-bottom: 3px;
  }

  .m-blog-card__title {
  }

  .m-blog-pagination {
    margin-top: 40px;
  }

  .m-blog-pagination__item .page-numbers {
    min-width: 32px;
    height: 32px;
    font-size: 13px;
  }

  .m-blog-sidebar__item a {
    padding: 13px 10px;
    font-size: 13px;
  }

  .m-blog-banner {
    margin: 0 auto 30px;
    padding: 0 20px;
  }

  .m-blog-banner__pc {
    display: none !important;
  }

  .m-blog-banner__sp {
    display: block !important;
  }
}

/* 480px以下はデザイン画像に合わせて完全な1カラム */
@media screen and (max-width: 480px) {
  .m-blog-archive__frame {
    padding-right: 15px;
    padding-left: 15px;
  }
}

/* =========================================================
   カテゴリー一覧ページ
   ========================================================= */
.m-blog-category-heading {
  width: 100%;
  margin: 0 auto 45px;
  padding: 15px;
  color: var(--m-blog-main-color);
  font-family: "Noto Serif JP", serif;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
}

.m-blog-sidebar__item.is-current a {
  background: #eee;
  color: var(--m-blog-main-color);
}

.m-blog-back {
  margin-top: 45px;
  text-align: center;
}

.m-blog-back__link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  padding: 15px 52px 15px 20px;
  border: 1px solid var(--m-blog-main-color);
  border-radius: 5px;
  background: #fff;
  color: var(--m-blog-main-color);
  font-size: 16px;
  line-height: 1.5;
  text-decoration: none;
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease;
}

.m-blog-back__text {
  display: block;
  width: 100%;
  text-align: center;
  transform: translateX(16px);
}

.m-blog-back__link::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 15px;
  width: 6px;
  height: 6px;
  border-top: 2px solid var(--m-blog-main-color);
  border-right: 2px solid var(--m-blog-main-color);
  transform: translateY(-50%) rotate(45deg);
  transition: border-color 0.3s ease;
}

@media screen and (min-width: 1024px) {
  .m-blog-back__link:hover,
  .m-blog-back__link:focus-visible {
    background: var(--m-blog-main-color);
    color: #fff;
  }

  .m-blog-back__link:hover::after,
  .m-blog-back__link:focus-visible::after {
    border-color: #fff;
  }
}

@media screen and (max-width: 767px) {
  .m-blog-category-heading {
    margin-bottom: 35px;
    font-size: 22px;
  }

  .m-blog-back {
    margin-top: 35px;
  }

  .m-blog-back__link {
    font-size: 14px;
  }
}

/* =========================================================
   記事詳細ページ
   ========================================================= */
.m-blog-single__inner {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
}

.m-blog-single__header {
  margin-bottom: 60px;
}

.m-blog-single__date {
  display: block;
  margin-bottom: 6px;
  color: var(--m-blog-text-color);
  font-size: 16px;
  line-height: 1.5;
}

.m-blog-single__title {
  margin: 0 0 10px;
  color: var(--m-blog-main-color);
  font-family: "Noto Serif JP", serif;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.55;
}

.m-blog-single__category {
  display: inline-block;
  width: auto;
  padding: 6px 10px;
  background: var(--m-blog-main-color);
  color: #fff;
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
}

.m-blog-single__thumbnail {
  width: 100%;
  text-align: center;
}

.m-blog-single__thumbnail-image {
  display: block;
  width: 100%;
  max-width: 600px;
  height: auto;
  margin: 0 auto;
}

.m-blog-single__body {
  color: var(--m-blog-text-color);
  font-size: 16px;
  line-height: 2;
}

.m-blog-single__body::after {
  content: "";
  display: block;
  clear: both;
}

.m-blog-single__body h2 {
  position: relative;
  margin: 60px 0 0;
  padding-bottom: 31px;
  color: var(--m-blog-main-color);
  font-family: "Noto Serif JP", serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.6;
}

.m-blog-single__body h2::after {
  content: "";
  display: block;
  width: 200px;
  height: 1px;
  margin-top: 20px;
  background: var(--m-blog-main-color);
}

.m-blog-single__body p {
  margin: 0 0 25px;
}

.m-blog-single__body h2 + p {
  margin-top: 0;
}

.m-blog-single__body img {
  display: block;
  max-width: 600px;
  height: auto;
  margin-right: auto;
  margin-bottom: 40px;
  margin-left: auto;
}

.m-blog-single__body figure {
  max-width: 600px;
  margin-right: auto;
  margin-bottom: 40px;
  margin-left: auto;
}

.m-blog-single__body figure img {
  margin-bottom: 0;
}

.m-blog-single__body figcaption {
  margin-top: 8px;
  color: #666;
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
}

.m-blog-single__body ul,
.m-blog-single__body ol {
  margin: 0 0 25px;
  padding-left: 1.5em;
}

.m-blog-single__body a {
  color: var(--m-blog-main-color);
  text-decoration: underline;
}

.m-blog-single__content-pages {
  margin-top: 40px;
  text-align: center;
}

/* 前後記事ナビゲーション */
.m-blog-single-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 60px;
  margin-top: 70px;
}

.m-blog-single-nav__item {
  min-width: 0;
}

.m-blog-single-nav__link,
.m-blog-single-nav__empty {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 72px;
}

.m-blog-single-nav__link {
  position: relative;
  color: var(--m-blog-main-color);
  font-size: 14px;
  line-height: 1.6;
  text-decoration: none;
}

.m-blog-single-nav__link--newer {
  padding-left: 24px;
  text-align: left;
}

.m-blog-single-nav__link--older {
  padding-right: 24px;
  text-align: right;
}

.m-blog-single-nav__link::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 7px;
  height: 7px;
  border-top: 1px solid var(--m-blog-main-color);
  border-right: 1px solid var(--m-blog-main-color);
}

.m-blog-single-nav__link--newer::before {
  left: 2px;
  transform: translateY(-50%) rotate(-135deg);
}

.m-blog-single-nav__link--older::before {
  right: 2px;
  transform: translateY(-50%) rotate(45deg);
}

.m-blog-single-nav__date,
.m-blog-single-nav__title {
  display: block;
}

.m-blog-single-nav__date {
  margin-bottom: 2px;
}

.m-blog-single-nav__title {
  overflow-wrap: anywhere;
}

@media screen and (min-width: 1024px) {
  .m-blog-single__category:hover,
  .m-blog-single__category:focus-visible {
    opacity: 0.8;
  }

  .m-blog-single-nav__link:hover .m-blog-single-nav__title,
  .m-blog-single-nav__link:focus-visible .m-blog-single-nav__title {
    text-decoration: underline;
  }
}

@media screen and (max-width: 767px) {
  .m-blog-single__header {
    margin-bottom: 40px;
  }

  .m-blog-single__date {
    font-size: 14px;
  }

  .m-blog-single__title {
    font-size: 24px;
  }

  .m-blog-single__category {
    font-size: 13px;
  }

  .m-blog-single__body {
    font-size: 15px;
  }

  .m-blog-single__body h2 {
    margin-top: 40px;
    padding-bottom: 30px;
    font-size: 20px;
  }

  .m-blog-single__body h2::after {
    width: 100px;
    margin-top: 30px;
  }

  .m-blog-single__body img,
  .m-blog-single__body figure {
    max-width: 100%;
  }

  .m-blog-single-nav {
    display: block;
    margin-top: 55px;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
  }

  .m-blog-single-nav__item + .m-blog-single-nav__item {
    border-top: 1px solid #ccc;
  }

  .m-blog-single-nav__link,
  .m-blog-single-nav__empty {
    min-height: 82px;
  }

  .m-blog-single-nav__link--newer,
  .m-blog-single-nav__link--older {
    padding: 14px 28px;
    text-align: left;
  }

  .m-blog-single-nav__link--newer::before,
  .m-blog-single-nav__link--older::before {
    left: 4px;
    right: auto;
    transform: translateY(-50%) rotate(-135deg);
  }
}

/* Table of Contents Plus（目次ブラグイン） 独自設定 */
div#toc_container {
  width: 80% !important;
  margin: 40px auto 30px;
  padding: 10px 20px 15px;
}
#toc_container span.toc_toggle {
  margin-left: 10px;
}
#toc_container .toc_title+ul.toc_list {
  margin-top: 0 !important;
}
.m-blog-single__thumbnail {
  margin-bottom: 40px;
}

