/* ============================================
   吹き出し
============================================ */

.speech-block {
  display: flex;
  align-items: center;
  margin: 2em 0;
}

/* ---- 配置modifier ---- */
.speech-block--center {
  margin-left: auto;
  margin-right: auto;
  width: fit-content;
}

.speech-block--left {
  margin-left: 0;
  margin-right: auto;
  width: fit-content;
}

/* ---- 画像エリア ---- */
.speech-block__image {
  flex-shrink: 0;
  width: fit-content; /* clamp(120px, 30%, 500px) から変更 */
  max-width: clamp(120px, 30%, 500px); /* 上限はmaxwidthで管理 */
}

.speech-block__image img {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
}

/* ---- 通常版：吹き出し（画像左 / 吹き出し右） ---- */
.speech-block--normal .speech-block__balloon {
  position: relative;
  background-color: #e8f6fd;
  border-radius: 16px;
  padding: 1.8em 2em;
  flex: 0 1 auto;
  width: fit-content;
  max-width: 100%;
  margin-left: 36px;
  margin-right: auto;
}

.speech-block--normal .speech-block__balloon::after {
  content: "";
  position: absolute;
  left: -24px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpolygon points='24,0 24,24 0,12' fill='%23e8f6fd'/%3E%3C/svg%3E") no-repeat center center;
  background-size: contain;
}

/* ---- 反転版：吹き出し（画像右 / 吹き出し左） ---- */
.speech-block--reverse .speech-block__balloon {
  position: relative;
  background-color: #e8f6fd;
  border-radius: 16px;
  padding: 1.8em 2em;
  flex: 0 1 auto;
  width: fit-content;
  max-width: 100%;
  margin-right: 36px;
  margin-left: auto;
}

.speech-block--reverse .speech-block__balloon::after {
  content: "";
  position: absolute;
  right: -24px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpolygon points='0,0 0,24 24,12' fill='%23e8f6fd'/%3E%3C/svg%3E") no-repeat center center;
  background-size: contain;
}

/* ---- レイアウト ---- */
.speech-block--normal {
  flex-direction: row;
}

.speech-block--normal .speech-block__image {
  margin-right: 12px;
}

.speech-block--reverse {
  flex-direction: row-reverse;
}

.speech-block--reverse .speech-block__image {
  margin-left: 12px;
}

/* ---- リスト ---- */
.speech-block__balloon ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.speech-block__balloon ul li {
  margin: 0;
  padding: 0.3em 0;
  list-style: none;
}

/* -----------------------------------------
   吹き出しSP（768px以下）
----------------------------------------- */
@media (max-width: 768px) {

  .speech-block {
    flex-direction: column !important;
    align-items: center;
  }

  /* SP では配置指定を無効化して常に中央寄せ */
  .speech-block--center,
  .speech-block--left {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .speech-block__image {
    width: 100% !important;
    max-width: 500px;
    margin: 0 !important;
    order: 2;
    display: flex;
    justify-content: center;
  }

  .speech-block--normal .speech-block__balloon,
  .speech-block--reverse .speech-block__balloon {
    width: 100% !important;
    max-width: 500px;
    order: 1;
    margin: 0 0 36px 0 !important;
    padding: 1.2em 1.4em !important;
  }

  /* SP：しっぽ下向き */
  .speech-block--normal .speech-block__balloon::after,
  .speech-block--reverse .speech-block__balloon::after {
    top: auto !important;
    bottom: -23px !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    width: 24px;
    height: 24px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpolygon points='0,0 24,0 12,24' fill='%23e8f6fd'/%3E%3C/svg%3E") no-repeat center center !important;
    background-size: contain !important;
  }
}

/* ===========================
   カード
=========================== */

/* ------------------------
   カードラッパー・矢印
------------------------ */
.card-wrap {
  display: block;
  text-align: center;
}

.card-wrap::after {
  content: '';
  display: block;
  width: 40px;
  height: 47px;
  background-image: url('https://www.paltek.co.jp/dcms_media/image/arrow01.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin: 2rem auto 0;
}

.card-wrap--no-arrow::after {
  display: none;
}

.card-wrap--no-arrow {
  margin-bottom: 3rem;
}

/* ------------------------
   カード
------------------------ */
.card {
  position: relative;
  border: 1px solid #00a0c6;
  background-color: #ffffff;
  padding: 30px 20px 20px;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-height: calc(1.7em + 3rem);
  margin-top: 16px;
  text-align: left;
}

.card__label {
  position: absolute;
  top: -16px;
  left: 16px;
  background-color: #00a0c6;
  color: #ffffff;
  font-size: 14px;
  font-weight: bold;
  padding: 4px 32px;
  line-height: 1.6;
}

.card__body {
  font-size: 16px;
  color: #333333;
  line-height: 1.7;
}

/* ------------------------
   カード（角丸）
------------------------ */
.card--rounded {
  border-radius: 12px;
}

.card--rounded .card__label {
  border-radius: 4px;
}

/* ------------------------
   カード（点線・角丸）
------------------------ */
.card--dashed {
  border-style: dashed;
  border-radius: 12px;
}
/* ------------------------
   カードレスポンシブ
------------------------ */
@media (max-width: 768px) {
  .card-wrap::after {
    width: 40px;
    height: 47px;
    margin-top: 1.5rem;
  }

  .card-wrap--no-arrow {
    margin-bottom: 2rem;
  }

  .card {
    padding: 26px 14px 16px;
    min-height: calc(1.7em + 3rem);
    margin-top: 14px;
  }

  .card__label {
    font-size: 12px;
    padding: 3px 24px;
    top: -13px;
    left: 12px;
  }

  .card__body {
    font-size: 14px;
  }
}
/* ------------------------
   えんぴつリストマーク
------------------------ */
.box-blue-list {
    border: 2px solid #00A0E9;
    padding: 1.5rem;
}

.box-blue-list ul {
    padding-left: 0;
    margin-left: 0;
}

.box-blue-list li {
    list-style: none !important;
    position: relative;
    padding-left: 40px;
    margin-left: 0;
    margin-bottom: 7px;
    line-height: 1.7;
    color: #2c3e50;
    font-weight: bold;
}

.box-blue-list li:last-child {
    margin-bottom: 0;
}

.box-blue-list li::before {
    content: "\f044";
    position: absolute;
    left: 8px;
    top: -1.5px;
    font-weight: 900;
    font-size: 1.05em;
    font-family: "Font Awesome 5 Free";
    color: #00A0E9;
}


/* ------------------------
   えんぴつリストマーク
------------------------ */
#articledetail .box-blue-list2 {
    border: 2px solid #00A0E9;
    padding: 1.5rem;
    padding-top: 1.8rem;
    border-radius: 8px;
    position: relative;
    margin-top: 1.5rem;
}

#articledetail .box-blue-list2 .box-blue-list2-title {
    position: absolute;
    top: -0.75em; 
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    padding: 0 1rem;
    color: #00A0E9;
    font-size: 1.5rem;
    font-weight: bold;
    white-space: nowrap;
    margin: 0;
    line-height: 1.5;
    border: none;
    border-left: none;
    border-bottom: none;
    box-shadow: none;
    background-image: none;
    letter-spacing: normal;
}

#articledetail .box-blue-list2 ul {
    padding-left: 0;
    margin-left: 0;
    margin-bottom: 0.8rem;
    margin-top: 0.8rem;
}

#articledetail .box-blue-list2 li {
    list-style: none !important;
    position: relative;
    padding-left: 40px;
    margin-left: 0;
    margin-bottom: 7px;
    line-height: 1.7;
    color: #2c3e50;
    font-weight: bold;
}

#articledetail .box-blue-list2 li:last-child {
    margin-bottom: 0;
}

#articledetail .box-blue-list2 li::before {
    content: "\f044";
    position: absolute;
    left: 8px;
    top: -1.5px;
    font-weight: 900;
    font-size: 1.05em;
    font-family: "Font Awesome 5 Free";
    color: #00A0E9;
}


/* ------------------------
   ハイライトマーカー（青）
------------------------ */
.key-highlight {
text-decoration: underline;
text-decoration-thickness: 0.5em;
text-decoration-color: rgba(0, 174, 224, 0.2);
text-underline-offset: -0.2em;
text-decoration-skip-ink: none;
}

/* ============================================
   画像拡大
   ============================================ */

/* ============================================
   PALTEK Image Zoom
   image-zoom.css
   ============================================ */

/* --- 画像ラッパー --- */
.zoom-wrapper {
  position: relative;
  display: inline-block;
  line-height: 0;
}

/* --- 虫眼鏡アイコン（右下） --- */
.zoom-trigger {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  background-color: rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  /* ↓ 変更：シャドウを多重にして白背景でも埋もれないよう強化 */
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(0, 0, 0, 0.10);
  transition: background-color 0.2s ease, transform 0.2s ease;
  z-index: 5;
  pointer-events: auto;
}

.zoom-wrapper:hover .zoom-trigger {
  background-color: rgba(255, 255, 255, 1);
  transform: scale(1.08);
}

/* 虫眼鏡 SVG アイコン */
.zoom-trigger svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: #444;
  stroke-width: 2;
  stroke-linecap: round;
}

/* --- 拡大画像コンテナ --- */
.zoom-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  /* ★ グレイアウト背景 追加のみ */
  background: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
}

.zoom-modal.is-active {
  display: flex;
}

/* --- 拡大画像インナー --- */
/* ★ ここは動作していた版のまま変更なし */
.zoom-modal-inner {
  position: fixed;
  pointer-events: auto;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.92);
  max-width: 95vw;
  max-height: 92vh;
  box-shadow:
    0 8px 30px rgba(0, 0, 0, 0.18),
    0 2px 8px rgba(0, 0, 0, 0.10);
  border-radius: 2px;
  background: #fff;
  line-height: 0;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.zoom-modal.is-active .zoom-modal-inner {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* --- 拡大画像本体 --- */
.zoom-modal-img {
  display: block;
  max-width: 95vw;
  max-height: 88vh;
  width: auto;
  height: auto;
  border-radius: 2px;
}

/* --- × 閉じるボタン --- */
.zoom-close-btn {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 36px;
  height: 36px;
  background-color: rgba(110, 110, 110, 0.85);
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background-color 0.2s ease, transform 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.zoom-close-btn:hover,
.zoom-close-btn:focus {
  background-color: rgba(70, 70, 70, 0.95);
  transform: scale(1.1);
  outline: none;
}

/* × アイコン */
.zoom-close-btn svg {
  width: 14px;
  height: 14px;
  stroke: #fff;
  stroke-width: 2.5;
  stroke-linecap: round;
}

/* --- 元の画像にカーソルを付ける --- */
.zoomable {
  cursor: zoom-in;
}

/* ============================================
   SP 対応（768px 以下）
   ============================================ */
@media screen and (max-width: 768px) {

  .zoom-trigger {
    width: 26px;
    height: 26px;
    bottom: 6px;
    right: 6px;
  }

  .zoom-trigger svg {
    width: 13px;
    height: 13px;
  }

  .zoom-modal-img {
    max-width: 96vw;
    max-height: 82vh;
  }

  .zoom-close-btn {
    top: -14px;
    right: -14px;
    width: 32px;
    height: 32px;
  }

  .zoom-close-btn svg {
    width: 12px;
    height: 12px;
  }

}
/* ============================================
   ブログ全体を囲む枠線を消す
   ============================================ */
	article {
		padding: 0;
		border-width: 0;
		border-style: none;
	}

	.ib {
		display: inline-block;
	}
/* ============================================
   目次
   ============================================ */

#articledetail nav.toc-blog-shared {
    background-color: #f8f9fa !important;
    padding: 25px !important;
    font-size: 1.05rem !important;
    margin-top: 2.5rem !important;
}

#articledetail nav.toc-blog-shared h2 {
    margin: 0 0 20px !important;
    padding-bottom: 10px !important;
    border-bottom: 1px solid #e1e4e8 !important;
    border-left: 0 !important;
}

#articledetail nav.toc-blog-shared ul {
    margin-bottom: 0 !important;
    list-style: disc !important;
}

#articledetail nav.toc-blog-shared li a {
    color: #1E1E1E !important;
}

#articledetail nav.toc-blog-shared li a:hover {
    color: #00A2CB !important;
}

#articledetail nav.toc-blog-shared ul ul {
    list-style: none !important;
}

#articledetail nav.toc-blog-shared ul ul li {
    list-style: none !important;
    position: relative !important;
}

#articledetail nav.toc-blog-shared ul ul li::marker {
    content: "" !important;
}

#articledetail nav.toc-blog-shared ul ul li::before {
    content: "-" !important;
    position: absolute !important;
    left: -1rem !important;
}

/* ============================================
   h3のmt調整
   ============================================ */

   #articledetail h3{
    margin-top: 3rem;
   }

/* ============================================
   注釈
============================================ */
#articledetail .glossary-box {
    position: relative;
    width: 95%;
    margin: 2rem auto;
    border: 1px dashed #ccc;
    border-radius: 6px;
    padding: 1.2rem 1.2rem 1rem;
    color: #4a4a4a;
    box-sizing: border-box;
}

#articledetail .glossary-box--inline {
    display: inline-block;
    width: 100%;
    margin: 1rem 0 0.5rem;
}

#articledetail .glossary-box__title {
    position: absolute;
    top: -0.55rem;
    left: 1rem;
    background-color: #fff;
    padding: 0 0.4rem;
    font-size: 0.95rem;
    color: #4a4a4a;
    margin: 0;
    line-height: 1;
}

#articledetail .glossary-box--inline .glossary-box__title {
    display: block;
}

#articledetail .glossary-box__body {
    font-size: 0.9rem;
    color: #4a4a4a;
    margin: 0;
    line-height: 1.7;
}

#articledetail .glossary-box--inline .glossary-box__body {
    display: block;
    margin-top: 0.4rem;
}

@media (max-width: 768px) {
    #articledetail .glossary-box {
        width: 100%;
        padding: 1rem;
    }

    #articledetail .glossary-box__title {
        font-size: 0.85rem;
    }

    #articledetail .glossary-box__body {
        font-size: 0.85rem;
    }
}

  /* ============================
     PDFへのリンクでPDFアイコン表示
     ============================ */

#articledetail a[href$=".pdf"]::after,
#articledetail a[href$=".PDF"]::after {
  content: "";
  display: inline-block;
  width: 20px;
  height: 22px;
  margin-left: 6px;
  margin-top: -6px;
  vertical-align: middle;
  background-image: url("/dcms_media/image/common/pdf.png");
  background-repeat: no-repeat;
  background-size: contain;
}

/* ------------------------
   表・画像タイトルキャプション共通
------------------------ */
#articledetail .caption {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #0D3780;
  text-align: center;
}

/* ============================================
   #articledetail > .shared-list のネストリスト
   子リスト（第2階層）：マーカー「-」
   孫リスト（第3階層）：マーカー「--」
   ============================================ */

/* --- 子リスト（第2階層 ul）の li --- */
#articledetail .shared-list ul > li {
  list-style: none;
}

#articledetail .shared-list ul > li::before {
  content: "- ";
}

/* --- 孫リスト（第3階層 ul）--- */
#articledetail .shared-list ul ul {
  padding-left: 1.5em; /* ← この値を調整してください */
}

/* --- 孫リスト（第3階層 ul）の li --- */
#articledetail .shared-list ul ul > li {
  list-style: none;
}

#articledetail .shared-list ul ul > li::before {
  content: "-- ";
}


#articledetail ol.linenums li:nth-child(even) {
  background-color: transparent !important;
}

/* ============================================
   コード記述
   ============================================ */

/*! Color themes for Google Code Prettify | MIT License | github.com/jmblog/color-themes-for-google-code-prettify */

#articledetail .prettyprint {
  background: #002451;
  font-family: Menlo, Consolas, 'DejaVu Sans Mono', monospace;
  border: 0 !important;
  font-size: 14px;
  line-height: 1.3;
  white-space: pre-wrap;
  padding: 20px;
  border-radius: 8px;
}

#articledetail .pln { color: #ffffff; }

#articledetail ol.linenums {
  margin-top: 0;
  margin-bottom: 0;
  color: #7285b7;
}

#articledetail ol.linenums li {
  padding-left: 1em;
  background-color: #002451 !important;
}

@media screen {
  #articledetail .str { color: #d1f1a9; }
  #articledetail .kwd { color: #ebbbff; }
  #articledetail .com { color: #7285b7; }
  #articledetail .typ { color: #bbdaff; }
  #articledetail .lit { color: #ffc58f; }
  #articledetail .pun { color: #ffffff; }
  #articledetail .opn { color: #ffffff; }
  #articledetail .clo { color: #ffffff; }
  #articledetail .tag { color: #ff9da4; }
  #articledetail .atn { color: #ffc58f; }
  #articledetail .atv { color: #99ffff; }
  #articledetail .dec { color: #ffc58f; }
  #articledetail .var { color: #ff9da4; }
  #articledetail .fun { color: #bbdaff; }
}

/* ============================================
   コードブロック（シンプル版）prettycode不使用
   ============================================ */

#articledetail .code-block {
  background: #002451;
  font-family: Menlo, Consolas, 'DejaVu Sans Mono', monospace;
  font-size: 14px;
  line-height: 1.8;
  white-space: pre-wrap;
  padding: 20px 24px;
  border-radius: 8px;
  color: #ffffff;
  overflow-x: auto;
  display: block;
  margin: 0 0 2rem;
}

/* ==============================================
 「採用事例」 「お客様の声」カード
   ============================================== */

#articledetail .cv-card {
  border: 2px solid #7dd6ea;
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  color: #333333;
  margin-top: 3rem;
  margin-bottom: 3rem;
}

#articledetail .cv-card__header {
  padding: 1.4rem 1.2rem 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

#articledetail .cv-card__badge {
  display: inline-block;
  background: #00a0c8;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  padding: 0.1em 0.6em;
  white-space: nowrap;
}

#articledetail .cv-card__product {
  font-size: 1rem;
  font-weight: 700;
  color: #00a0c8;
}

#articledetail .cv-card__product sup {
  font-size: 0.65em;
}

#articledetail .cv-card__body {
  display: flex;
  gap: 1.5rem;
  padding: 1rem 1.5rem 1.5rem;
}

#articledetail .cv-card__media .common_link {
  display: block;
  text-align: center;
}

#articledetail .cv-card__media {
  flex: 0 0 220px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

#articledetail .cv-card__photo {
  width: 100%;
  border-radius: 4px;
  display: block;
  object-fit: cover;
}

#articledetail .cv-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.875rem;
  color: #00a0c8;
  text-decoration: underline;
}

#articledetail .cv-card__link:hover {
  text-decoration: none;
}

#articledetail .cv-card__link-icon {
  font-size: 0.7rem;
}

#articledetail .cv-card__quote {
  flex: 1;
  margin: 0;
  padding: 2.2rem 2.5rem 2.5rem 2rem;
  position: relative;
  border-left: none;
  background: #e6f6fb;
  border-radius: 8px;
}

#articledetail .cv-card__quote::before {
  content: '\201C\201C';
  position: absolute;
  top: 0.3rem;
  left: 0.6rem;
  font-size: 3rem;
  line-height: 1;
  color: #00a0c8;
  font-family: Georgia, serif;
}

#articledetail .cv-card__quote::after {
  content: '\201D\201D';
  position: absolute;
  bottom: 0.1rem;
  right: 0.6rem;
  font-size: 3rem;
  line-height: 1;
  color: #00a0c8;
  font-family: Georgia, serif;
}

#articledetail .cv-card__company {
  font-size: 1rem;
  font-weight: 700;
  color: #00a0c8;
  margin: 0 0 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #7dd6ea;
}

#articledetail .cv-card__quote p {
  font-size: 0.9rem;
  line-height: 1.8;
  margin: 0 0 0.75rem;
}

#articledetail .cv-card__quote p:last-child {
  margin-bottom: 0;
}

/* レスポンシブ（768px以下） */
@media (max-width: 768px) {
  #articledetail .cv-card__body {
    flex-direction: column;
  }

  #articledetail .cv-card__media {
    flex: none;
    width: 100%;
  }
}

/* ==============================================
   既存CSSファイルへの追記分
   #articledetail 内の「参考ブログ」カード
   ============================================== */

#articledetail .ref-card {
  position: relative;
  background: #effbff;
  padding: 1rem 2rem 2rem;
  border: dashed 3px #00AEE0;
  border-radius: 10px;
  margin-top: 3rem;
  margin-bottom: 3rem;
}

#articledetail .ref-card__header {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 1rem;
  top: 0.5rem;
  left: -2.8rem;
  margin-bottom: 1.5rem;
}

#articledetail .ref-card__label {
  position: relative;
  display: inline-block;
  padding: 0.5rem 2rem;
  background: #00AEE0;
  color: #fff;
  font-weight: bold;
  font-size: 0.9rem;
  white-space: nowrap;
  flex-shrink: 0;
}

#articledetail .ref-card__label::before {
  position: absolute;
  content: '';
  top: 100%;
  left: 0;
  border: none;
  border-bottom: solid 10px transparent;
  border-right: solid 10px rgb(149, 158, 155);
}

#articledetail .ref-card__header-link {
  font-size: 0.9rem;
  color: #00AEE0;
  text-decoration: underline;
}

#articledetail .ref-card__header-link:hover {
  text-decoration: none;
}


#articledetail .ref-card__body {
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin-top: 20px;
  font-size: 0.9rem;
}

#articledetail .ref-card__media {
  flex-shrink: 0;
}

#articledetail .ref-card__media img {
  width: 220px;
  display: block;
  transition: all 0.3s ease;
}

#articledetail .ref-card__media img:hover {
  opacity: 0.7;
}

#articledetail .ref-card__media p {
  margin-bottom: 0;
}

#articledetail .ref-card__content {
  flex-grow: 1;
  font-size: 0.9rem;
  color: #333333;
}

#articledetail .ref-card__content p {
  margin: 10px 0;
  line-height: 1.7;
  font-size: 0.9rem;
}

/* レスポンシブ（768px以下） */
@media (max-width: 768px) {
  #articledetail .ref-card__body {
    flex-direction: column;
  }

  #articledetail .ref-card__media img {
    width: 100%;
  }
}

/* ==============================================
   h4サイズ調整
   ============================================== */
#articledetail h4 {
  font-size: 1.25rem;
}

/* ==============================================
   Ranpakブログ　リンクボタン
   ============================================== */

#articledetail .ranpak_blog_bottom {
  display: block;
  width: fit-content;
  margin: 3em auto;
  background-color: #00AEE0;
  color: #ffffff;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.8em 2em;
  font-weight: bold;
  transition: opacity 0.2s;
}

#articledetail .ranpak_blog_bottom:hover {
  opacity: 0.8;
  color: #ffffff;
}


/* ==============================================
   注釈
   ============================================== */
.note, .publication-date {
    font-size: 95%;
    text-align: right;
	color:#666;
}
/* ============================================
   CTA ブロック - ネイビー
   ============================================ */

.cta-block_navy {
  width: 90%;
  max-width: 700px;
  margin-top: 0;
  margin-right: auto;
  margin-left: auto;
  background-color: #254d96;
  border: none;
  border-radius: 16px;
  text-align: center;
  transition: background-color 0.2s ease;
}

.cta-block_navy a {
  display: block;
  padding: 40px 32px;
  color: #ffffff !important;
  font-size: 1rem;
  text-decoration: none;
  line-height: 1.6;
}

/* ホバー時 */
.cta-block_navy:hover {
  background-color: #00A2CB;
}

.cta-block_navy a:hover {
  opacity: 1;
}

/* ============================================
   CTA ブロック - ネイビー2（オレンジとデザイン統一）
   ============================================ */

#articledetail .cta-block_navy2 {
  max-width: 650px;
  margin: 0 auto 2.5rem;
  background-color: transparent;
  border: none;
  border-radius: 0;
  text-align: center;
  transition: none;
}

#articledetail .cta-block_navy2 a {
  display: block;
  padding: 2.5rem;
  color: #ffffff !important;
  font-size: 1.3rem;
  text-decoration: none;
  line-height: 1.6;
  border-radius: 10px;
  background-color: #254d96;
  box-shadow: 0 5px 0 0 #1a3668;
  transition: all 0.2s ease;
  transform: translateY(0);
  position: relative;  /* ← afterの基準になるので必須 */
  width: 100%;
  box-sizing: border-box;
}

#articledetail .cta-block_navy2 a:hover {
  background-color: #00A2CB;
  box-shadow: 0 3px 0 0 #1a3668;
  transform: translateY(2px);
  opacity: 1;
}

/* ボタン右端に「›」を追加 */
#articledetail .cta-block_navy2 a:after {
  content: "\f054";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
}
/* ============================================
   CTA コンテナ - オレンジ
   ============================================ */

/* ボタン */
#articledetail .cta-button-container {
    margin: 0 auto 2.5rem;
    max-width: 650px;
}

#articledetail .cta-button-container a {
    display: inline-block;
    font-size: 1.3rem;
    position: relative;
    padding: 2.5rem;
    border-radius: 10px;
    color: #fff;
    text-decoration: none;
    width: 100%;
    text-align: center;
    transition: all 0.2s ease;
    transform: translateY(0);
    background-color: #ff9900;
    box-shadow: 0 5px 0 0 #cc7a00;
}

#articledetail .cta-button-container a:hover {
    background-color: #ffab33;
    box-shadow: 0 3px 0 0 #cc7a00;
    transform: translateY(2px);
}

#articledetail .cta-button-container a span {
    margin-right: 0.1rem;
}

.icon-download::before {
    content: "\f019";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}

#articledetail .cta-button-container a:after {
    content: "\f054";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
}

/* ============================================
   グレイ枠
   ============================================ */
#articledetail .box-gray-list {
    border: 2px solid #c3c3c3;
    margin-bottom: 0.75rem;
    padding: 1rem 1.5rem;
}

/* ============================================
   用語解説
   ============================================ */
#terminology dt {
    color: #007acc;
    font-weight: 600;
    font-size: 1.1rem;
    padding-left: 22px;
    position: relative;
}

#terminology dt::before {
    content: "▶";
    color: #007acc;
    position: absolute;
    left: 5px;
    top: 4px;
    font-size: 0.75rem;
    transition: all 0.3s ease;
}

#terminology dd {
    margin: 0 0 20px 35px;
    padding-left: 15px;
    border-left: 2px solid rgba(0, 122, 204, 0.1);
    line-height: 1.7;
}


/* =============================
   関連ブログ
============================= */

#blog .blog__grid {
  display: flex;
  flex-wrap: wrap;
}

#blog .blog__item {
  width: calc(100% / 3);
  box-sizing: border-box;
  padding: 0.5em;
}

#blog .blog__item img {
  width: 100%;
  height: auto;
  display: block;
}

#blog .blog__title {
  font-size: 0.9em;
  line-height: 1.5em;
  margin-top: 0.5em;
}

#blog .blog__title a {
  text-decoration: none;
  color: inherit;
}

/* =============================
   関連ブログ（タグ絞込用）
============================= */

#paltek-blog-or .blog__grid,
#paltek-blog-and .blog__grid {
  display: flex;
  flex-wrap: wrap;
}

#paltek-blog-or .blog__item,
#paltek-blog-and .blog__item {
  width: calc(100% / 3);
  box-sizing: border-box;
  padding: 0.5em;
}

#paltek-blog-or .blog__item img,
#paltek-blog-and .blog__item img {
  width: 100%;
  height: auto;
  display: block;
}

#paltek-blog-or .blog__title,
#paltek-blog-and .blog__title {
  font-size: 0.9em;
  line-height: 1.5em;
  margin-top: 0.5em;
}

#paltek-blog-or .blog__title a,
#paltek-blog-and .blog__title a {
  text-decoration: none;
  color: inherit;
}

/* =============================
   SP対応
============================= */
@media screen and (max-width: 768px) {
  #paltek-blog-or .blog__item,
  #paltek-blog-and .blog__item {
    width: calc(100% / 2);
  }
}

@media screen and (max-width: 480px) {
  #paltek-blog-or .blog__item,
  #paltek-blog-and .blog__item {
    width: 100%;
  }
}

/* =============================
   SP対応
============================= */
@media screen and (max-width: 768px) {
  #blog .blog__item {
    width: calc(100% / 2); /* SP: 2カラム */
  }
}

@media screen and (max-width: 480px) {
  #blog .blog__item {
    width: 100%; /* SP小: 1カラム */
  }
}


/* =============================
   スペース
============================= */
#articledetail .mt1{
  margin-top: 1rem;
}
#articledetail .mt1-5{
  margin-top: 1.5rem;
}
#articledetail .mt2{
  margin-top: 2rem;
}
#articledetail .mt2-5{
  margin-top: 2.5rem;
}
#articledetail .mt3{
  margin-top: 3rem;
}
#articledetail .mt3-5{
  margin-top: 3.5rem;
}
#articledetail .mt4{
  margin-top: 4rem;
}
#articledetail .mt4-5{
  margin-top: 4.5rem;
}
#articledetail .mt5{
  margin-top: 5rem;
}

#articledetail .mb1{
  margin-bottom: 1rem;
}
#articledetail .mb1-5{
  margin-bottom: 1.5rem;
}
#articledetail .mb2{
  margin-bottom: 2rem;
}
#articledetail .mb2-5{
  margin-bottom: 2.5rem;
}
#articledetail .mb3{
  margin-bottom: 3rem;
}
#articledetail .mb3-5{
  margin-bottom: 3.5rem;
}
#articledetail .mb4{
  margin-bottom: 4rem;
}
#articledetail .mb4-5{
  margin-bottom: 4.5rem;
}
#articledetail .mb5{
  margin-bottom: 5rem;
}
/* =============================
   受付中ウェビナー
============================= */
#seminar-article-container {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 20px 0;
}

.seminar-card {
  width: calc(33.333% - 12px);
  border: 1px solid #999;
  border-radius: 4px;
  overflow: hidden;
  box-sizing: border-box;
}

.seminar-card a {
  text-decoration: none;
  color: #333;
  display: block;
}

.seminar-card a:hover {
  opacity: 0.8;
}

.seminar-card img {
  width: 100%;
  height: auto;
  display: block;
}

.seminar-card-body {
  padding: 10px;
}

.seminar-card-title {
  margin: 0;
  font-size: 0.9em;
  line-height: 1.5;
  color: #0D3780;
}

/* タブレット */
@media (max-width: 768px) {
  .seminar-card {
    width: calc(50% - 8px);
  }
}

/* スマホ */
@media (max-width: 480px) {
  .seminar-card {
    width: 100%;
  }
}

/* =============================
   注意ボックス
============================= */


#articledetail .alert-box p{
	line-height: 1.6;
}

#articledetail .alert-box {
  padding: 1.5rem;
  border: 2px solid;
}

#articledetail .alert-title{
  font-weight: bold;
  font-size: 1.15rem;
}

#articledetail .alert-title::before{
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin-right: 5px;
}

#articledetail .alert-box {
  border: none;
  border-left: 4px solid #e53e3e;
  background: #fff5f5;
  padding: 1.2rem 1.6rem 1.3rem;
}

#articledetail .alert-title {
  color: #e53e3e;
}

#articledetail .alert-title::before {
  content: "\f071";
}


/* ============================================
   まとめボックス
============================================ */

.matome-box {
  margin: 40px auto;
  padding: 32px 30px 10px;
  width: 100%;
  max-width: 980px;
  border: 2px solid #0D3780;
  border-radius: 12px;
  text-align: left;
  position: relative;
}

.matome-box__title {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0 14px;
  background: #ffffff;
  margin: 0;
  font-weight: normal;
  white-space: nowrap;
  color: #00A2CB;
  font-size: 1.5rem;
}


/* ============================================
   ブルー太字
============================================ */
        .blue-highlight {
            font-size: 1.1rem;
            color: #138ad9;
            font-weight: bold;
        }	


/* ============================================
   リスト - 破線下線スタイル
   ============================================ */

#articledetail ul.list-dashed {
  list-style: disc;
  width: 85%;
  margin: 0 0 3rem 2rem; 
  padding-left: 1.5em;
}

#articledetail ul.list-dashed li {
  border-bottom: 2px dashed #76D3EB;
  padding: 0.8em 0.5em 0.8em;
  line-height: 2;
  text-align: left;
  color: inherit;
  list-style-position: inside;
}

/* ・の色を#76D3EBに */
#articledetail ul.list-dashed li::marker {
  color: #76D3EB;
}