/* @import url('http://example.com/example_style.css'); */

/***********************************************/
/* CSS @imports must be at the top of the file */
/* Add them above this section                 */
/***********************************************/

/*****************************************/
/* Start your style declarations here    */
/*****************************************/
.article, .blog-post {
/* 不自然な単語分割を防ぐ */
word-break: keep-all;
overflow-wrap: break-word;
white-space: normal;
}

/* .article クラス内のリンクだけに適用 */
.article a {
color: #1a73e8; /* 青 */
text-decoration: underline; /* 下線 */
text-underline-offset: 2px; /* 下線のオフセット */ 
}
.article a:visited {
color: #1a73e8; /* 訪問済みも同色 */
}
.article a:hover,
.article a:focus,
.article a:active {
text-decoration-thickness: 2px; /* ホバー時に下線を少
し太く */
}
/* キーボード操作でのフォーカス強調（任意） */
.article a:focus-visible {
outline: 2px solid #1a73e8;
outline-offset: 2px;
}
/*****************************************/
/* CSS Custom   */
/*****************************************/
.breadcrumb{
  margin: 40px auto -3.125rem !important;
  max-width: 62.5rem;
  padding-left: 1.25rem;
   padding-right: 1.25rem;
}
@media (min-width: 1024px) {
  .breadcrumb{
    margin: 40px auto -9.5rem !important;
    padding: 0;
  } 
}

/* HubSpot Blog Post */
main.body-wrapper.hs-blog-post #hs_cos_wrapper_post_body :is(h1, h2, h3, h4) {
  line-height: 1.35 !important;
  margin: 1.6em 0 0.6em !important;
}

main.body-wrapper.hs-blog-post #hs_cos_wrapper_post_body :is(h2, h3, h4) {
  color: inherit !important;
}

main.body-wrapper.hs-blog-post #hs_cos_wrapper_post_body h1 {
  font-size: 2rem !important;
  font-weight: 700 !important;
}

main.body-wrapper.hs-blog-post #hs_cos_wrapper_post_body h2 {
  font-size: 1.5rem !important;
  font-weight: 700 !important;
}

main.body-wrapper.hs-blog-post #hs_cos_wrapper_post_body h3 {
  font-size: 1.25rem !important;
  font-weight: 700 !important;
}

main.body-wrapper.hs-blog-post #hs_cos_wrapper_post_body h4 {
  font-size: 1.125rem !important;
  font-weight: 700 !important;
}

main.body-wrapper.hs-blog-post #hs_cos_wrapper_post_body p {
  font-size: 1.125rem !important;
  margin: 1rem 0 !important;
}

main.body-wrapper.hs-blog-post #hs_cos_wrapper_post_body a {
  color: #1a73e8 !important;
}

main.body-wrapper.hs-blog-post #hs_cos_wrapper_post_body a * {
  color: #1a73e8 !important;
}

main.body-wrapper.hs-blog-post #hs_cos_wrapper_post_body table {
  width: 100% !important;
  table-layout: inherit !important;
}

main.body-wrapper.hs-blog-post #hs_cos_wrapper_post_body table tr {
  height: auto !important;
}

main.body-wrapper.hs-blog-post #hs_cos_wrapper_post_body table td {
  padding: 10px !important;
  height: auto !important;
}

main.body-wrapper.hs-blog-post #hs_cos_wrapper_post_body table td * {
  margin: 0 !important;
}

main.body-wrapper.hs-blog-post #hs_cos_wrapper_post_body :is(h1, h2, h3, h4) * {
  color: inherit !important;
  font-size: inherit !important;
}

/* レスポンシブ（スマホ） */
@media (max-width: 768px) {
  main.body-wrapper.hs-blog-post #hs_cos_wrapper_post_body h1 { font-size: 1.75rem !important; }
  main.body-wrapper.hs-blog-post #hs_cos_wrapper_post_body h2 { font-size: 1.35rem !important; }
  main.body-wrapper.hs-blog-post #hs_cos_wrapper_post_body h3 { font-size: 1.15rem !important; }
  main.body-wrapper.hs-blog-post #hs_cos_wrapper_post_body h4 { font-size: 1.05rem !important; }
  main.body-wrapper.hs-blog-post #hs_cos_wrapper_post_body p { font-size: 1.05rem !important; }
}

-------------
/* HubSpot ブログ本文（rich text）内の箇条書きを復元 */
.blog-post #hs_cos_wrapper_post_body:where(.hs_cos_wrapper_type_rich_text) :where(ul, ol) {
  margin: 1em 0;
  padding-inline-start: 1.5em; /* インデント復元 */
  list-style-position: outside;
}

.blog-post #hs_cos_wrapper_post_body:where(.hs_cos_wrapper_type_rich_text) :where(ul) {
  list-style-type: disc;
  list-style-position: inside;
}

.blog-post #hs_cos_wrapper_post_body:where(.hs_cos_wrapper_type_rich_text) :where(ol) {
  list-style-type: decimal;
  list-style-position: inside;
}

.blog-post #hs_cos_wrapper_post_body:where(.hs_cos_wrapper_type_rich_text) :where(li) {
  margin: 0.25em 0;
  font-size: 1.125rem;   /* 本文のサイズに合わせる */
  color: #000;
  line-height: 2.25rem; /* 本文の行間に合わせる */
}

@media (max-width: 768px) {
  .blog-post #hs_cos_wrapper_post_body:where(.hs_cos_wrapper_type_rich_text) :where(li) {
    font-size: 1.05rem !important;
  }
}

.blog-post #hs_cos_wrapper_post_body:where(.hs_cos_wrapper_type_rich_text) :where(li) *:not(a) {
  font-size: 1.125rem !important;
  color: #000 !important;
}

/* ネスト（必要なら） */
.blog-post #hs_cos_wrapper_post_body:where(.hs_cos_wrapper_type_rich_text) :where(ul ul) {
  list-style-type: circle;
  margin: 0.5em 0 0.5em 1em;
}

.blog-post #hs_cos_wrapper_post_body:where(.hs_cos_wrapper_type_rich_text) :where(ul ul ul) {
  list-style-type: square;
  margin-left: 2em;
}

/* table format */
main.body-wrapper.hs-blog-post #hs_cos_wrapper_post_body table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
  line-height: 1.6;
  height: auto !important;
  border: none !important;
}

main.body-wrapper.hs-blog-post #hs_cos_wrapper_post_body table caption {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 12px;
  text-align: left;
  caption-side: top;
}

main.body-wrapper.hs-blog-post #hs_cos_wrapper_post_body table th, 
main.body-wrapper.hs-blog-post #hs_cos_wrapper_post_body table td {
  border: 1px solid #ddd !important;
  padding: 12px 16px !important;
  text-align: left;
  height: auto !important;
  line-height: 24px !important;
}

main.body-wrapper.hs-blog-post #hs_cos_wrapper_post_body table td {
  background-color: transparent !important;
}

main.body-wrapper.hs-blog-post #hs_cos_wrapper_post_body table th p, 
main.body-wrapper.hs-blog-post #hs_cos_wrapper_post_body table td p {
  font-size: 14px !important;
  margin: 0 !important;
  line-height: 24px !important;
}

main.body-wrapper.hs-blog-post #hs_cos_wrapper_post_body table th span, 
main.body-wrapper.hs-blog-post #hs_cos_wrapper_post_body table td span {
  font-size: 14px !important;
  line-height: 24px !important;
}

main.body-wrapper.hs-blog-post #hs_cos_wrapper_post_body table thead tr th {
  background-color: #f8f9fa !important;
  font-weight: bold !important;
  color: #333 !important;
}

main.body-wrapper.hs-blog-post #hs_cos_wrapper_post_body table thead tr th p {
  font-weight: bold !important;
}

main.body-wrapper.hs-blog-post #hs_cos_wrapper_post_body table tbody tr th {
  background-color: #fafafa !important;
  font-weight: 600 !important;
  color: #333 !important;
}

main.body-wrapper.hs-blog-post #hs_cos_wrapper_post_body table tbody tr th p {
  font-weight: 600 !important;
}

main.body-wrapper.hs-blog-post #hs_cos_wrapper_post_body table tbody tr td {
  background-color: #fff !important;
}

main.body-wrapper.hs-blog-post #hs_cos_wrapper_post_body table tr:hover {
  background-color: #f5f5f5 !important;
}

@media (max-width: 768px) {
  .table_wrap {
    max-width: 100%;
    overflow-x: auto;
  }
}

main.body-wrapper.hs-blog-post #hs_cos_wrapper_post_body h2 {
  padding-top: calc(100px + 1.6em);
  margin-top: calc(-100px - 1.6em + 1.6em) !important;
}

main.body-wrapper.hs-blog-post #hs_cos_wrapper_post_body h2::before {
  top: calc(100px + 1.6em - 0.62rem);
  height: calc(100% - 100px - 1.6em + 0.62rem);
}

main.body-wrapper.hs-blog-post #hs_cos_wrapper_post_body h3 {
  padding-top: calc(100px + 1.6em);
  margin-top: calc(-100px - 1.6em + 1.6em) !important;
}

main.body-wrapper.hs-blog-post #hs_cos_wrapper_post_body h3::before {
  top: calc(100px + 1.6em - 0.62rem);
  height: calc(100% - 100px - 1.6em + 0.62rem);
}

main.body-wrapper.hs-blog-post #hs_cos_wrapper_post_body .blog_menu {
  border: solid 3px #f1f1f1;
  border-radius: 10px;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

main.body-wrapper.hs-blog-post #hs_cos_wrapper_post_body .blog_menu .blog_menu_title {
  background-color: #f1f1f1;
  padding: 15px;
  font-size: 18px;
  font-weight: bold;
  color: #000000;
  text-align: center;
}

main.body-wrapper.hs-blog-post #hs_cos_wrapper_post_body .blog_menu .blog_menu_list {
  padding: 20px 20px 10px 20px;
  list-style-type: none;
  counter-reset: section;
}

main.body-wrapper.hs-blog-post #hs_cos_wrapper_post_body .blog_menu .blog_menu_list ol {
  list-style-type: none;
  counter-reset: section;
  margin-top: 0;
  margin-bottom: 15px;
}

main.body-wrapper.hs-blog-post #hs_cos_wrapper_post_body .blog_menu .blog_menu_list li {
  margin: 0;
  padding: 0 0 0 30px;
  counter-increment: section;
  position: relative;
}

main.body-wrapper.hs-blog-post #hs_cos_wrapper_post_body .blog_menu .blog_menu_list li::before {
  content: counters(section, ".") ". ";
  position: absolute;
  top: 0;
  left: 0;
}

main.body-wrapper.hs-blog-post #hs_cos_wrapper_post_body .blog_menu .blog_menu_list li a {
  display: block;
  text-decoration: none;
  color: #333333 !important;
}

main.body-wrapper.hs-blog-post #hs_cos_wrapper_post_body .blog_menu .blog_menu_list li a:hover {
  color: #1a73e8 !important;
}

main.body-wrapper.hs-blog-post #hs_cos_wrapper_post_body .blog_menu .blog_menu_list ol li {
  padding-left: 45px;
}

@media (max-width: 768px) {
  main.body-wrapper.hs-blog-post #hs_cos_wrapper_post_body .blog_menu .blog_menu_list {
    padding: 10px 10px 5px 10px;
  }
  
  main.body-wrapper.hs-blog-post #hs_cos_wrapper_post_body .blog_menu .blog_menu_list li::before {
    top: -4px;
    font-size: 1.05rem !important;
  }
  
  main.body-wrapper.hs-blog-post #hs_cos_wrapper_post_body .blog_menu .blog_menu_list li a {
    line-height: 28px;
    font-size: 1.05rem !important;
  }
  
  main.body-wrapper.hs-blog-post #hs_cos_wrapper_post_body .blog_menu .blog_menu_list ol li a {
    margin-bottom: 5px;
    font-size: 1.05rem !important;
  }
}

/* main.body-wrapper.hs-blog-post #hs_cos_wrapper_post_body table {
  height: auto !important;
  border-top: 0.5pt solid #000000 !important;
  border-left: 0.5pt solid #000000 !important;
}

main.body-wrapper.hs-blog-post #hs_cos_wrapper_post_body table tr:nth-child(2n) td {
  background-color: #cfe2f3 !important;
}
main.body-wrapper.hs-blog-post #hs_cos_wrapper_post_body table tr:nth-child(2n+1) td {
  background-color: transparent !important;
}
main.body-wrapper.hs-blog-post #hs_cos_wrapper_post_body table tr:first-child td {
  background-color: #ffd966 !important;
}
main.body-wrapper.hs-blog-post #hs_cos_wrapper_post_body table tr td[rowspan] {
  background-color: transparent !important;
}

main.body-wrapper.hs-blog-post #hs_cos_wrapper_post_body table tr {
  height: auto !important;
}

main.body-wrapper.hs-blog-post #hs_cos_wrapper_post_body table tr td {
  line-height: 1 !important;
  font-size: 1.125rem !important;
  color: #000 !important;
  height: auto !important;
  border-right: 0.5pt solid #000000 !important;
  border-bottom: 0.5pt solid #000000 !important;
}

main.body-wrapper.hs-blog-post #hs_cos_wrapper_post_body table tr:first-child td {
  line-height: 2.25rem !important;
}

main.body-wrapper.hs-blog-post #hs_cos_wrapper_post_body table tr td p {
  line-height: 1 !important;
  font-size: 1.125rem !important;
  font-weight: 400 !important;
  color: #000 !important;
}

main.body-wrapper.hs-blog-post #hs_cos_wrapper_post_body table tr:first-child td p {
  line-height: 2.25rem !important;
}

@media (max-width: 768px) {
  main.body-wrapper.hs-blog-post #hs_cos_wrapper_post_body table tr td {
    font-size: 1.05rem !important;
  }

  main.body-wrapper.hs-blog-post #hs_cos_wrapper_post_body table tr td p {
    font-size: 1.05rem !important;
  }
} */