/* ============================================================
   PAGE CONTENT ソリューション
============================================================ */
/*-- パンくずリスト */
.page-breadcrumb {
  background: #f5f5f5;
  border-bottom: 1px solid #e0e0e0;
  font-size: 12px;
  color: #888;
}
.page-breadcrumb-inner {
  max-width: var(--_global--container-max-width);
  margin: 0 auto;
  padding: 8px 15px;
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}
.page-breadcrumb a { color: #1a5fa8; }
.page-breadcrumb a:hover { text-decoration: underline; }

/* ヒーロー　セクション　*/
.hero-container {
  position: relative; /* 子要素の基準にする */
  height: 40vh; /* 画面の高さの50%など */
  width: 100%;
  overflow: hidden;
}
.hero-image {
  background-image: url('/template/img/bg-image01.png');
  background-size: cover;
  background-position: center;
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2); /* 少し暗くする */
}
.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-shadow: 4px 4px gray;
  text-align: center;
  z-index: 10; /* 画像の上に重ねる */
}

/*　ここから本文記事　*/

  /* 2ブロックセクション　親コンテナの基本設定 */
  .sec-container {
    display: flex; /* 横並びの指定 */
    flex-direction: row; /* PC（横並び）をデフォルトにする */
    gap: 0px; /* ブロック間の余白 */
  }

  /* ブロックの共通設定 */
  .sec-box {
    background-color: #f0f0f0;
    margin: 5px 0 10px 0;
    /* padding: 0px; */
    /* border: 1px solid #ccc; */
    flex: 1;  /* 幅を均等にする */
  }

  /* --- レスポンシブ対応：スマホ画面（例：768px以下） --- */
  @media (max-width: 768px) {
    .sec-container {
      flex-direction: column; /* 縦並びにする */
    }
  }


.page-breadcrumb {
  background: #f5f5f5;
  border-bottom: 1px solid #e0e0e0;
  font-size: 12px;
  color: #888;
}
.page-breadcrumb-inner {
  max-width: var(--_global--container-max-width);
  margin: 0 auto;
  padding: 8px 15px;
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}
.page-breadcrumb a { color: #1a5fa8; }
.page-breadcrumb a:hover { text-decoration: underline; }

.page-container {
  max-width: var(--_global--container-max-width);
  margin: 0 auto;
  padding: 40px 15px 60px;
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 40px;
  align-items: start;
}
@media (max-width: 781px) {
  .page-container { grid-template-columns: 1fr; }
}

.entry-header {
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid #1a5fa8;
}
.entry-header h1 { font-size: 22px; font-weight: 700; line-height: 1.4; color: #222; }
.entry-content h2 {
  font-size: 17px; font-weight: 700; margin: 28px 0 14px;
  padding: 8px 14px; background: #f0f5fb; border-left: 4px solid #1a5fa8;
}
.entry-content p { margin-bottom: 14px; line-height: 1.8; color: #444; }

.sidebar { position: sticky; top: calc(var(--header-height-desktop) + 16px); }
.widget { background: #fff; border: 1px solid #ddd; margin-bottom: 20px; border-radius: 6px;}
.widget-title { background: #1a5fa8; color: #fff; font-size: 13px; font-weight: 700; padding: 9px 14px; letter-spacing: 0.05em; border-top-left-radius: 6px; border-top-right-radius: 6px}
.widget-body { padding: 12px 14px; }
.widget-nav li a { display: flex; justify-content: space-between; padding: 8px 0; font-size: 13px; color: #444; border-bottom: 1px solid #eee; }
.widget-nav li:last-child a { border-bottom: none; }
.widget-nav li a:hover { color: #1a5fa8; }
.widget-nav li a::after { content: '›'; color: #aaa; }
.cta-widget { background: /*#1a5fa8*/#1aa852; color: #fff; text-align: center; padding: 20px 14px; margin-bottom: 20px; border-radius: 6px;}
.cta-widget p { font-size: 13px; margin-bottom: 12px; color: #dde8f5; }
.cta-widget a { display: block; background: #fff; color: #1a5fa8; font-weight: 700; font-size: 13px; padding: 10px; border-radius: 2px; }
.cta-widget a:hover { background: #1a5fa8; color: white;}
.contact-box { background: #ffa600!important; transition: all 0.3s ease;transform: translateY(0);}
.contact-box p { text-align: center;}
.contact-box a { background: red; color: white; border-radius: 20px; }
.contact-box:hover { background-color: #2c3e50;transform: translateY(-3px);box-shadow: 0 5px 15px rgba(0,0,0,0.2);}

/* =========================================
        YouTube on Modal Window
========================================== */
.yb-modal {
  display: none; /* 初期状態は非表示 */
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1000;
}
.yb-modal-content {
  position: relative;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 80%; max-width: 800px;
}
.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 のアスペクト比 */
  height: 0; overflow: hidden;
}
.video-container iframe {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
}
.close-button {
  position: absolute;
  top: -30px; right: 0;
  color: white; font-size: 24px; cursor: pointer;
}
.modal_block {
    box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.5);
    position: relative;
    display: inline-block;
    cursor: pointer;
    transition: .3s ease-out;
    text-align: center;
}
.modal_block:hover {
    opacity: .7;
}