@charset "utf-8";
/* -----------------------------------------
蛍光ペン
----------------------------------------- */
#post mark, .glossary-inner mark {
  position: sticky;
  color: inherit; /* テキスト色を継承 */
  background: none; /* デフォルトの背景色をリセット */
  display: inline-block; /* テキストに適用 */
  padding: 0 .125rem; /* テキスト周囲に余白を追加 */
}

/* 背景を蛍光ペン風に */
#post mark::before, .glossary-inner mark::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%; /* 文字の下半分に配置 */
  height: 40%; /* 高さを文字の半分程度に */
  background: var(--mark-bg-color, inherit); /* 背景色を変数で管理 */
  opacity: 0.4; /* 透過度調整 */
  z-index: -1; /* 背景に配置 */
  border-radius: .125rem; /* 角を少し丸める（オプション） */
}

/* Gutenbergのstyle属性を拾って変数にセット */
#post mark[style*="background-color"], .glossary-inner mark[style*="background-color"] {
  --mark-bg-color: var(--computed-bg-color, inherit);
}
/* -----------------------------------------
リスト
----------------------------------------- */
#post ul {
  list-style-type: disc;
}
#post ol {
  list-style-type: decimal;
}
#post ul, #post ol {
  padding-left: 1.5rem;
  display: flex;
  flex-direction: column;
  row-gap: 1rem;
}
#post div:has(ul), #post div:has(ol), #post ul, #post ol {
  margin: .5rem 0;
}
/* -----------------------------------------
引用
----------------------------------------- */
#post .wp-block-pullquote {
  padding: 0 !important;
}
#post blockquote {
  background-color: #f0f0f0;
  border-radius: .5rem;
  padding: 1rem 2rem 1rem 4rem;
  position: relative;
  font-style: italic;
  color: #555;
  font-size: .875rem;
}
#post blockquote::before {
  position: absolute;
  left: 1rem;
  top: 1.5rem;
  content: url(../images/ico_quote.svg);
  width: 2rem;
}
#post blockquote cite {
  color: #666;
  word-break: break-all;
  display: -webkit-box;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  font-size: .8125rem;
}
#post blockquote cite a {
  color: #999;
}
/* -----------------------------------------
メインビジュアル
----------------------------------------- */
.mainVisual {
  margin: 0 -0.75rem;
}
/* -----------------------------------------
各見出し
----------------------------------------- */
#post h2 {
  border-bottom: .125rem solid #ddd;
  line-height: 1.6;
  font-size: 1.25rem;
  padding-bottom: .5rem;
  margin: 1.5rem 0;
}
#post h2, #post h3, #post h4, #post h5, #post h6 {
  font-weight: bold;
  scroll-margin-top: calc(var(--header-height, 3.75rem) + 1.25rem);
}
#post h3 {
  border-left: .125rem solid #228ACB;
  font-size: 1.125rem;
  line-height: 1.6;
  padding-left: 1rem;
  margin: 1.25rem 0;
}
#post h4 {
  font-size: 1.0625rem;
  margin: 1.25rem 0;
  display: flex;
  column-gap: 8px;
}
#post h4::before {
  content: "";
  width: 12px;
  height: 2px;
  background-color: #228ACB;
  margin-top: 10px;
}
#post h5 {
  font-size: 1rem;
  margin: 1rem 0;
}
#post h6 {
  font-size: .9375rem;
  margin: 1rem 0;
}
/* -----------------------------------------
埋め込み記事
----------------------------------------- */
.embed-box {
  margin-bottom: 1rem;
}
.embed-box-link {
  border: .0625rem solid #ccc;
  border-radius: .5rem;
  overflow: hidden;
  word-break: break-all;
  text-decoration: none;
  color: #000;
  transition: all 0.3s ease;
}
.embed-box-info-title {
  line-height: 1.5;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.embed-box-link:hover {
  color: #096FC8;
  border-color: #096FC8;
}
.embed-box-thumbnail {
  min-width: 7.5rem;
  min-height: 6.375rem;
  overflow: hidden;
  position: relative;
}
.embed-box-link img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}
.embed-box-link:hover img {
  transform: scale(1.1);
}
.embed-box-info {
  padding: 1rem;
}
.embed-box-info-title {
  font-size: .8125rem;
}
.embed-box-info-url {
  font-size: .625rem;
  color: #666;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}
/* -----------------------------------------
関連資料
----------------------------------------- */
.pertinent-material-container {
  background-color: #F5F5F5;
  border-radius: .5rem;
  margin-bottom: 1.5rem;
  padding: 0 1rem 1rem;
}
.pertinent-material-inner {
  row-gap: 1.5rem;
}
.pertinent-material-header {
  column-gap: 1rem;
}
.pertinent-material-header .ribbon {
  position: relative;
  margin: 0;
  padding: .625rem 0;
  z-index: 2;
  text-align: center;
  font-size: .75rem;
  color: #fff;
  background: #228ACB;
  writing-mode: vertical-rl;
  letter-spacing: 2.4px !important;
  white-space: nowrap;
  width: 2rem;
  flex-shrink: 0;
}
.pertinent-material-header .ribbon:after {
  content: '';
  position: absolute;
  left: 0;
  top: 100%;
  height: 0;
  width: 0;
  border-left-color: #228ACB;
  border-right-color: #228ACB;
  border-left-style: solid;
  border-right-style: solid;
  border-left-width: 1rem;
  border-right-width: 1rem;
  border-bottom: 1rem solid transparent;
}

#post .pertinent-material-header h4 {
  line-height: 1.5;
  font-size: 1rem;
  display: -webkit-box;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
#post .pertinent-material-middle {
  font-size: .875rem;
  row-gap: 1rem;
  margin: 0 -0.75rem !important;
}
.pertinent-material-middle ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  row-gap: 0 !important;
}
/* -----------------------------------------
CTAボタン
----------------------------------------- */
.btn-cta {
  background-color: #096FC8;
  color: #fff;
  text-decoration: none;
  column-gap: 1rem;
  border-radius: 3.75rem;
  padding: .75rem 1.75rem;
}
.btn-cta:hover {
  color: #fff;
}
.btn-cta[target="_blank"]::after {
  content: "";
  background-image: url(../images/ico_blank_white.svg);
  background-size: cover;
  width: 1rem;
  height: 1rem;
}
/* -----------------------------------------
流れ
----------------------------------------- */
.flow-container {
  counter-reset: number 0;  
}
.flow-list {
  row-gap: 1.5rem;
  list-style: none !important;
  padding-left: 0 !important;
}
.flow-item {
  background-color: #F5F5F5;
  border-radius: .5rem;
  padding: 1rem;
}
.flow-item-inner {
  border-radius: .5rem;
  background-color: #fff;
  padding: 1rem;
  row-gap: 1rem;
}
.flow-item-header {
  column-gap: .5rem;
}
.flow-item-number {
  background-color: #228ACB;
  color: #fff;
  border-radius: 50%;
  width: 2rem;
  height: 2rem;
}
.flow-item-number::before {
  counter-increment: number 1;
  content: counter(number);
}
/* -----------------------------------------
テーブル
----------------------------------------- */
#post .wp-block-table {
  margin: 0 !important;
}
#post .wp-block-table table {
  margin: 1rem 0 !important;
}
#post .wp-block-table.is-style-stripes {
  border: none;
}
#post th, td, th:first-child, td:first-child {
  padding-left: .5rem;
}
#post .wp-block-table table {
  width: 100%;
}
#post .wp-block-table.table-bordered table {
  border: 1px solid #ccc;
}
#post .wp-block-table.table-bordered th, #post .wp-block-table.table-bordered td {
  padding: .5rem;
  border: 1px solid #ccc;
}
#post .wp-block-table.table-bordered th {
  background-color: #eee;
  font-weight: normal;
}
/* -----------------------------------------
画像関連
----------------------------------------- */
#post figure.border, #post .wp-block-image.border {
  border: none !important;
  padding: 0 !important;
}
#post figure.border img, #post .wp-block-image.border figure img {
  border: .0625rem solid #eee !important;
  padding: .5rem !important;
}
.wp-lightbox-container button {
  opacity: inherit !important;
  backdrop-filter: inherit !important;
}
[class^="wp-block-"]:not(.wp-block-gallery) > figcaption, .wp-element-caption {
  margin: 0;
  color: #666;
}
.wp-block-columns {
  gap: 1rem;
}
.wp-block-column .wp-block-image {
  padding: 0;
}
.wp-block-image .wp-element-caption {
  font-size: .8125rem;
  margin-top: .5rem !important;
}
.wp-block-image {
  margin-bottom: inherit;
}
.wp-block-image figure:has(.lightbox-trigger):hover {
  opacity: .75;
  transition: all .25s;
}
.wp-lightbox-overlay .scrim {
  background-color: rgba(0,0,0,.75) !important;
}
.wp-lightbox-overlay .close-button {
  fill: #fff !important;
}
/* -----------------------------------------
クラウド版トライアル
----------------------------------------- */
.parts-container {
  background-color: #F5F5F5;
  border-radius: .5rem;
  padding: 1.5rem;
}
.parts-container .parts-inner {
  border-radius: .5rem;
  background-color: #fff;
  padding: 1.5rem;
}
.parts-inner_column {
  gap: 1rem;
}
.parts-inner_column p {
  font-size: .875rem;
}
/* -----------------------------------------
帳票例
----------------------------------------- */
.report-container {
  border: .0625rem solid #ccc;
  position: relative;
  padding: 2rem 1.5rem 1.5rem;
  border-radius: .5rem;
}
.report-container .report-title {
  position: absolute;
  left: 1rem;
  top: -1.25rem;
  background-color: #228ACB;
  color: #fff;
  line-height: 1;
  padding: .75rem 1rem;
  border-radius: 2rem;
}
.report-container .report-item {
  list-style: none;
}
.report-list {
  padding: 0 !important;
  row-gap: 0 !important;
}
.report-list .report-item:first-child::before {
  content: "";
}
.report-list .report-item::before {
  content: "、";
}
/* -----------------------------------------
インタビュアー
----------------------------------------- */
.interviewer-container {
  border: .0625rem solid #ccc;
  border-radius: .5rem;
  padding: 1rem;
  margin-bottom: 1rem;
}
.interviewer-inner {
  gap: 1rem;
}
.interviewer-info {
  gap: 1rem;
}
.interviewer-icon {
  margin-bottom: 0;
}
.interviewer-icon img {
  width: 3.75rem;
  height: 3.75rem;
  object-fit: cover;
  border-radius: 3.75rem;
}
.interviewer-info-name {
  font-size: .8125rem;
}
.interviewer-info-title{
  font-size: .75rem;
  color: #666;
}
.interviewer-description {
  color: #333;
  font-size: .8125rem;
  line-height: 1.7;
}
/* -----------------------------------------
質問文
----------------------------------------- */
.question-text, .answer-text {
  gap: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem !important;
}
.question-text::before, .answer-text::before {
  content: "";
  height: .125rem;
  border-radius: .0625rem;
  margin-top: .625rem;
  flex-shrink: 0;
}
.question-text::before {
  width: 2rem;
  background-color: #333;
}
/* -----------------------------------------
回答者
----------------------------------------- */
.answer-text::before {
  width: 1rem;
  background-color: #096FC8;
}
/* -----------------------------------------
Q&A
----------------------------------------- */
.qa-container {
  row-gap: 16px;
  margin-bottom: 0;
}
.qa-container .question {
  border-bottom: 1px solid #ccc;
  column-gap: .75rem;
  padding-bottom: 1rem;
}
.qa-container .question::before {
  color: #228ACB;
  content: "Q.";
  font-family: 'Chillax-Medium', sans-serif;
  font-size: 1.5rem;
  line-height: 1;
  padding-top: .25rem;
}
.qa-container .question h3 {
  font-size: 1.125rem;
  border-left: none !important;
  margin-bottom: 0 !important;
  margin-top: 0 !important;
  padding-left: 0 !important;
}
.qa-container .answer {
  margin-bottom: 0;
}
/* -----------------------------------------
この記事のポイント
----------------------------------------- */
.point-of-article {
  border: .0625rem solid #ccc;
  background-color: #f9f9f9;
  border-radius: .5rem;
  padding: 1.875rem 1rem 1rem;
  position: relative;
}
.point-of-article .headline {
  border-radius: .25rem;
  background-color: #228ACB;
  font-size: .9375rem;
  padding: .3125rem .75rem .1875rem;
  position: absolute;
  top: -1rem;
}
.point-of-article > * {
  line-height: 1.75;
}
.point-of-article ul, .point-of-article ol {
  list-style-type: none !important;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  gap: .5rem !important;
}
.point-of-article ol {
  counter-reset: num;
}
.point-of-article li {
  display: flex;
  align-items: start;
  gap: .5rem;
  counter-increment: num;
}
.point-of-article ul li::before {
  content: "\e834";
  font-size: 1.25rem;
  margin-top: .25rem;
  color: #228ACB;
  line-height: 1;
  font-variation-settings:
  'FILL' 1,
  'wght' 400,
  'GRAD' 0,
  'opsz' 24
}
.point-of-article ol li::before {
  display: flex;
  justify-content: center;
  align-items: center;
  content: counter(num);
  background-color: #228ACB;
  color: #fff;
  width: 1.25rem;
  height: 1.25rem;
  font-size: .75rem;
  border-radius: 50%;
  margin-top: .1875rem;
}
@media (min-width: 576px) and (max-width: 767.9808px) {
  /* -----------------------------------------
  メインビジュアル
  ----------------------------------------- */
  .mainVisual {
    margin: unset;
  }
  .mainVisual img {
    border-radius: .5rem;
  }  
  /* -----------------------------------------
  各見出し
  ----------------------------------------- */
  #post h2 {
    font-size: 1.3125rem;
    margin: 1.5rem 0;
  }
  #post h3 {
    font-size: 1.125rem;
    margin: 1.5rem 0;
  }
  #post h4 {
    font-size: 1rem;
    margin: 1.125rem 0;
  }
  #post h5 {
    margin: .875rem 0;
  }
  #post h6 {
    margin: .75rem 0;
  }
  /* -----------------------------------------
  埋め込み記事
  ----------------------------------------- */
  .embed-box-info {
    padding: 1.5rem 2rem 1.5rem 1.5rem;
  }
  .embed-box-info-title {
    font-size: .9375rem;
  }
  .embed-box-thumbnail {
    min-width: 8.75rem;
    min-height: 7.5rem;
  }
  /* -----------------------------------------
  CTAボタン
  ----------------------------------------- */
  .btn-cta {
    padding: 1rem 2rem;
  }
  /* -----------------------------------------
  流れ
  ----------------------------------------- */
  .flow-item {
    padding: 1.25rem;
  }
  .flow-item-inner {
    padding: 1.25rem;
  }
  /* -----------------------------------------
  関連資料
  ----------------------------------------- */
  .pertinent-material-container {
    padding: 0 2rem 2rem;
  }
  .pertinent-material-inner {
    row-gap: 1.5rem;
  }
  #post .pertinent-material-header .ribbon {
    font-size: .8125rem;
    width: 2.5rem;
  }
  .pertinent-material-header .ribbon:after {
    border-left: 1.25rem solid #228ACB;
    border-right: 1.25rem solid #228ACB;
  }
  #post .pertinent-material-header h4 {
    font-size: 1rem;
  }
  /* -----------------------------------------
  インタビュアー
  ----------------------------------------- */
  .interviewer-container {
    padding: 1.25rem;
    margin-bottom: 1.5rem;
  }
}
@media (min-width: 768px) and (max-width: 991.9808px) {
  /* -----------------------------------------
  メインビジュアル
  ----------------------------------------- */
  .mainVisual {
    margin: unset;
  }
  .mainVisual img {
    border-radius: .5rem;
  }  
  /* -----------------------------------------
  各見出し
  ----------------------------------------- */
  #post h2 {
    font-size: 1.375rem;
    margin: 1.5rem 0;
  }
  #post h3 {
    font-size: 1.25rem;
    margin: 1.5rem 0;
  }
  #post h4 {
    font-size: 1.125rem;
    margin: 1.25rem 0;
  }
  #post h5 {
    margin: 1rem 0;
  }
  #post h6 {
    margin: .875rem 0;
  }
  /* -----------------------------------------
  埋め込み記事
  ----------------------------------------- */
  .embed-box-info {
    padding: 1.5rem 2rem 1.5rem 1.5rem;
    row-gap: .25rem;
  }
  .embed-box-info-title {
    font-size: .9375rem;
  }
  .embed-box-thumbnail {
    min-width: 10rem;
    min-height: 7.5rem;
  }
  /* -----------------------------------------
  CTAボタン
  ----------------------------------------- */
  .btn-cta {
    padding: 1rem 2rem;
  }
  /* -----------------------------------------
  流れ
  ----------------------------------------- */
  .flow-item {
    padding: 1.5rem;
  }
  .flow-item-inner {
    padding: 1.5rem;
  }
  /* -----------------------------------------
  関連資料
  ----------------------------------------- */
  .pertinent-material-container {
    padding: 0 3rem 3rem;
  }
  .pertinent-material-inner {
    row-gap: 1.5rem;
  }
  #post .pertinent-material-header .ribbon {
    font-size: .875rem;
    width: 2.5rem;
  }
  .pertinent-material-header .ribbon:after {
    border-left: 1.25rem solid #228ACB;
    border-right: 1.25rem solid #228ACB;
  }
  /* -----------------------------------------
  インタビュアー
  ----------------------------------------- */
  .interviewer-container {
    padding: 1.25rem;
    margin-bottom: 1.5rem;
  }
}
@media (min-width: 992px) and (max-width: 1199.9808px) {
  /* -----------------------------------------
  メインビジュアル
  ----------------------------------------- */
  .mainVisual {
    margin: unset;
  }
  .mainVisual img {
    border-radius: .5rem;
  }  
  /* -----------------------------------------
  各見出し
  ----------------------------------------- */
  #post h2 {
    font-size: 1.5rem;
    margin: 1.5rem 0;
  }
  #post h3 {
    font-size: 1.375rem;
    margin: 1.5rem 0;
  }
  #post h4 {
    font-size: 1.25rem;
    margin: 1.25rem 0;
  }
  #post h5 {
    margin: 1.125rem 0;
  }
  #post h6 {
    margin: 1rem 0;
  }
  /* -----------------------------------------
  埋め込み記事
  ----------------------------------------- */
  .embed-box-info {
    padding: 1.25rem 2rem 1.25rem 1.5rem;
    row-gap: .25rem;
  }
  .embed-box-info-title {
    font-size: .9375rem;
  }
  .embed-box-info-url {
    font-size: .6875rem;
  }
  .embed-box-thumbnail {
    min-width: 10rem;
    min-height: 7.5rem;
  }
  /* -----------------------------------------
  CTAボタン
  ----------------------------------------- */
  .btn-cta {
    padding: 1rem 2rem;
  }
  /* -----------------------------------------
  流れ
  ----------------------------------------- */
  .flow-item {
    padding: 1.5rem;
  }
  .flow-item-inner {
    padding: 1.5rem;
  }
  /* -----------------------------------------
  関連資料
  ----------------------------------------- */
  .pertinent-material-container {
    padding: 0 2rem 2rem;
  }
  .pertinent-material-inner {
    row-gap: 1.5rem;
  }
  #post .pertinent-material-header .ribbon {
    font-size: .875rem;
    width: 3rem;
  }
  .pertinent-material-header .ribbon:after {
    border-left-width: 1.5rem;
    border-right-width: 1.5rem;
  }
  #post .pertinent-material-header h4 {
    font-size: 1rem;
  }
  .pertinent-material-middle {
    font-size: .9375rem;
  }
  /* -----------------------------------------
  インタビュアー
  ----------------------------------------- */
  .interviewer-container {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }
}
@media (min-width: 1200px) {
  /* -----------------------------------------
  メインビジュアル
  ----------------------------------------- */
  .mainVisual {
    margin: unset;
  }
  .mainVisual img {
    border-radius: .5rem;
  }
  /* -----------------------------------------
  各見出し
  ----------------------------------------- */
  #post h2 {
    font-size: 1.5rem;
    margin: 1.5rem 0;
  }
  #post h3 {
    font-size: 1.25rem;
    margin: 1.5rem 0;
  }
  #post h4 {
    font-size: 1.125rem;
    margin: 1.25rem 0;
  }
  #post h5 {
    margin: 1rem 0;
  }
  #post h6 {
    margin: .875rem 0;
  }
  /* -----------------------------------------
  埋め込み記事
  ----------------------------------------- */
  .embed-box-info {
    padding: 1.5rem 2rem 1.5rem 1.5rem;
    row-gap: .25rem;
  }
  .embed-box-info-title {
    font-size: .9375rem;
  }
  .embed-box-info-url {
    font-size: .75rem;
  }
  .embed-box-thumbnail {
    min-width: 11.25rem;
    min-height: 8rem;
  }
  /* -----------------------------------------
  関連資料
  ----------------------------------------- */
  .pertinent-material-container {
    padding: 0 2rem 2rem;
  }
  .pertinent-material-inner {
    row-gap: 1.5rem;
  }
  .pertinent-material-header .ribbon {
    font-size: .875rem;
    width: 3rem;
  }
  .pertinent-material-header .ribbon:after {
    border-left-width: 1.5rem;
    border-right-width: 1.5rem;
  }
  #post .pertinent-material-header h4 {
    font-size: 1rem;
  }
  /* -----------------------------------------
  CTAボタン
  ----------------------------------------- */
  .btn-cta {
    padding: 1rem 2rem;
  }
  /* -----------------------------------------
  流れ
  ----------------------------------------- */
  .flow-item {
    padding: 1.5rem;
  }
  .flow-item-inner {
    padding: 1.5rem;
  }
  /* -----------------------------------------
  インタビュアー
  ----------------------------------------- */
  .interviewer-container {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }
}
@media (min-width: 1400px) {
  /* -----------------------------------------
  関連資料
  ----------------------------------------- */
  .pertinent-material-header .ribbon {
    width: 2.5rem;
  }
  .pertinent-material-header .ribbon:after {
    border-left-width: 1.25rem;
    border-right-width: 1.25rem;
  }
}