/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Aug 25 2025 | 02:05:52 */
/* ==============================
   サービス紹介(ページID=1082)専用
============================== */

/* #forbottom 幅や位置 */
body.page-id-1082 #forbottom {
    max-width: 736px !important; /* PC用の幅 */
    margin: 0 auto;
    position: relative;
    left: 200px; /* 必要に応じて調整 */
  }
  
  /* アンカーリンク先の固定ヘッダー分余白 */
  body.page-id-1082 :target::before {
    content: "";
    display: block;
    height: 310px; /* 固定ヘッダーの高さに合わせる */
    margin-top: -310px;
  }
  
  /* sidebar-section (サイドバー) */
  body.page-id-1082 .sidebar-section {
    position: fixed;
    top: 270px;
    bottom: 150px;
    left: calc((100% - 1000px) / 2);
    width: 300px;
    max-width: 90%;
    overflow-y: auto;
    box-sizing: border-box;
    z-index: 10;
    font-family: Arial, sans-serif; 
    transition: top 0.2s ease;
  }
  
  /* リストのスタイル */
  body.page-id-1082 .sidebar-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  body.page-id-1082 .sidebar-section ul li {
    margin: 0;
  }
  body.page-id-1082 .sidebar-section ul li a {
    display: block;
    text-decoration: none;
    font-size: 14px;
    line-height: 18px;
    padding: 8px 15px;
    border: none;
  }
  body.page-id-1082 .sidebar-section ul li.main-category a {
    background-color: #0073aa;
    color: #ffffff;
    font-weight: bold;
    line-height: 19px;
  }
  body.page-id-1082 .sidebar-section ul li.main-category a:hover {
    background-color: #005177;
  }
  body.page-id-1082 .sidebar-section ul li.sub-category a {
    background-color: #e6f7ff;
    color: #0073e6;
  }
  body.page-id-1082 .sidebar-section ul li.sub-category a:hover {
    background-color: #b3e0ff;
    color: #005177;
  }
  body.page-id-1082 .sidebar-section ul li:last-child a {
    border: none;
  }
  
  /* 見出しの装飾 custom-guide */
  body.page-id-1082 .custom-guide {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  body.page-id-1082 .custom-guide .blue-box {
    width: 36px;
    height: 36px;
    background-color: #0073e6;
  }
  body.page-id-1082 .custom-guide .guide-text {
    font-weight: bold;
    color: #000;
    margin: 0;
    font-size: 36px !important;
  }
  body.page-id-1082 .custom-guide .gradient-line {
    flex-grow: 1;
    height: 36px;
    background: linear-gradient(to right, #0073e6, rgba(255, 255, 255, 0));
  }
  
  /* スマホ/タブレット(～1024px)でサイドバー非表示 */
  @media (max-width: 1024px) {
    body.page-id-1082 .sidebar-section {
      display: none;
    }
    body.page-id-1082 #forbottom {
      left: 0;
      margin: 0 auto;
      padding: 0 1em;
    }
  }
  
  /* スムーズスクロール */
  body.page-id-1082 html {
    scroll-behavior: smooth;
  }
  