@charset "UTF-8";
/*
Theme Name: OLTANA Child
Template: oltana-004
*/

/* トップメッセージギミックフォント */
#olConceptDecoCircle ~ g text,
.ol-concept__deco-shortcut text {
    font-family: "Noto Serif JP", "Hiragino Mincho ProN", serif !important;
}

/* フッターコンタクトレイアウト調整 */


/* CONTACT US全幅 */
.ol-contact__content-wrapper {
    flex-direction: column !important;
}

.ol-contact__heading-wrapper {
    width: 100% !important;
}

/* 下段3カラム */
.ol-contact__body {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    gap: 60px !important;
    width: 100% !important;
    margin-top: 24px !important;
    justify-content: flex-start !important;
}

.ol-contact__body-left {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    max-width: 60% !important;
}

.ol-contact__catch {
    font-size: 1rem !important;
    line-height: 1.8 !important;
    color: #ffffff !important;
}

/* ボックス共通 */
.ol-contact__box {
    flex: 0 0 280px !important;
    border: 1px solid rgba(255,255,255,0.4) !important;
    padding: 32px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 12px !important;
    text-align: center !important;
    box-sizing: border-box !important;
    justify-content: space-between !important;
}

.ol-contact__box-title {
    font-size: 0.85rem !important;
    color: #ffffff !important;
    margin: 0 !important;
}

.ol-contact__box-icon {
    font-size: 2rem !important;
    color: rgba(255,255,255,0.7) !important;
}

.ol-contact__box-text {
    font-size: 0.85rem !important;
    color: #ffffff !important;
    line-height: 1.6 !important;
    margin: 0 !important;
}

/* メールボタン */
.ol-contact__box-btn {
    display: block !important;
    width: 100% !important;
    border: 1px solid rgba(255,255,255,0.6) !important;
    padding: 10px !important;
    text-align: center !important;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 0.85rem !important;
    margin-top: auto !important;
}

.ol-contact__box-btn:hover {
    background: rgba(255,255,255,0.1) !important;
}

/* 電話番号 */
.ol-contact__box-phone-num {
    font-size: 1.4rem !important;
    color: #ffffff !important;
    text-decoration: none !important;
    letter-spacing: 0.05em !important;
    margin-bottom: 0 !important;
}

.ol-contact__box-subtext {
    font-size: 0.75rem !important;
    color: rgba(255,255,255,0.7) !important;
    margin-top: 4px !important;
    margin-bottom: 0 !important;
}
body.page .ol-contact__box {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}
/* スマホ対応 */
/* スマホ対応 */
@media screen and (max-width: 768px) {
    .ol-contact__body {
        flex-direction: column !important;
        gap: 16px !important;
        margin-top: 4px !important;
    }

    .ol-contact__body-left {
        max-width: 100% !important;
    }

    .ol-contact__catch,
    .ol-heading-contact-desc {
        font-size: 0.9rem !important;
        line-height: 1.8 !important;
        letter-spacing: 0.05em !important;
    }

    .ol-contact__box {
        flex: none !important;
        width: 100% !important;
        min-height: auto !important;
    }

    .ol-contact__box-title {
        white-space: nowrap !important;
    }
}
@media screen and (max-width: 768px) {
    .ol-contact__body {
        flex-direction: column !important;
        gap: 16px !important;
        margin-top: 8px !important;
    }

    .ol-contact__heading-wrapper {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }
}
@media screen and (max-width: 768px) {
    .ol-contact__heading-wrapper-inner {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }
    
    .ol-heading-wrapper {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }
}

#olContact .ol-contact__box {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

/* アクセス解析ページ */
/* ========================================
   大阪の企業様向けセクション
   ======================================== */

.analytics-osaka-section {
    padding: 80px 20px;
    background-color: #f8f9fa;
}

.analytics-osaka-container {
    max-width: 1200px;
    margin: 0 auto;
}

.analytics-osaka-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    font-family: "Noto Serif JP", "Hiragino Mincho ProN", serif;
}

.analytics-osaka-lead {
    font-size: 16px;
    line-height: 1.8;
    text-align: center;
    color: #666;
    margin-bottom: 60px;
}

/* カードグリッド */
.analytics-osaka-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.analytics-osaka-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    text-align: center;
    transition: all 0.3s ease;
}

.analytics-osaka-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.analytics-osaka-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.analytics-osaka-card-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    font-family: "Noto Serif JP", "Hiragino Mincho ProN", serif;
}

.analytics-osaka-card-text {
    font-size: 14px;
    line-height: 1.8;
    color: #666;
}

/* コミットメント */
.analytics-osaka-commitment {
    background: linear-gradient(135deg, #343d46 0%, #4a5568 100%);
    padding: 40px;
    border-radius: 10px;
    color: #fff;
    text-align: center;
}

.analytics-osaka-commitment-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    font-family: "Noto Serif JP", "Hiragino Mincho ProN", serif;
}

.analytics-osaka-commitment-text {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
}

/* スマホ対応 */
@media (max-width: 767px) {
    .analytics-osaka-section {
        padding: 60px 15px;
    }
    
    .analytics-osaka-title {
        font-size: 28px;
    }
    
    .analytics-osaka-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .analytics-osaka-commitment {
        padding: 30px 20px;
    }
    
    .analytics-osaka-commitment-title {
        font-size: 20px;
    }
}
.analytics-osaka-icon i {
    font-size: 48px;
    color: #343d46;
}

/* ========================================
   NEWケースセクション
   ======================================== */

.cases {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
}

.case-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 200px 1fr;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.case-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}

/* 左カラム */
.case-left {
  background: #0057FF;
  padding: 36px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.case-left::after {
  content: '';
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
}

.case-card:nth-child(2) .case-left { background: #111827; }
.case-card:nth-child(3) .case-left { background: #0a4f3a; }

.case-number {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
}

.case-area {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}

.case-category {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  line-height: 1.5;
  margin-top: 16px;
}

.case-result {
  margin-top: auto;
  padding-top: 24px;
}

.result-label {
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.result-number {
  font-family: 'DM Sans', sans-serif;
  font-size: 42px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.result-unit {
  font-size: 16px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  margin-left: 2px;
}

/* 右カラム */
.case-right {
  padding: 36px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.block-label {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #0057FF;
  margin-bottom: 0px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.case-card:nth-child(2) .block-label { color: #6366f1; }
.case-card:nth-child(3) .block-label { color: #0a9a6a; }

.block-label::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.block-text {
  font-size: clamp(0.96875rem, -0.7562435633rem + 1.596292482vw, 1.9375rem);
  line-height: 1.75;
  color: #444;
}
.cases .case-right p.block-text {
  margin-top: 10px;
  margin-bottom: 10px;
}
.divider {
  height: 1px;
  background: #f0f0f0;
}

/* レスポンシブ */
@media (max-width: 640px) {
  .case-card {
    grid-template-columns: 1fr;
  }
  .case-left {
    padding: 28px 24px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .case-result {
    padding-top: 0;
    text-align: right;
  }
  .case-category {
    margin-top: 4px;
  }
}
/* 導入文 */
.block_padding_enter{
padding: 5%;	
}

.list_line_height{
	line-height: 2.0;
}

/* 導入文のグレーボックスを角丸にする */
.intro-gray-box {
    border-radius: 30px; /* 数字を大きくするともっと丸くなります */
    overflow: hidden;    /* 背景がはみ出さないようにガード */
}

/* 導入文のグレーボックスを角丸にする */
.intro-line-box {
    border-radius: 12px; /* 数字を大きくするともっと丸くなります */
    overflow: hidden;    /* 背景がはみ出さないようにガード */
}

/* 既存の角丸設定を活かしつつ枠線を追加 */
.intro-line-box {
    border: 1px solid #d1d5db; /* 枠線の太さと色（落ち着いたグレー） */
    border-radius: 12px;       /* 既存の設定を維持 */
    overflow: hidden;          /* 既存の設定を維持 */
    
    box-sizing: border-box;    /* 枠線が外にはみ出さないように設定 */
}

/* もし少しだけ立体感（影）を出して「枠」を強調したい場合のみ追加 */
.intro-line-box {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.align-center-row {
    align-items: center !important;
}

/* =============================
   SIBLAB流アクセス解析 3項目
   ============================= */

.siblab-features {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.siblab-feature {
  background: #fafafa;
  border-radius: 12px;
  padding: 28px 24px;
  border-bottom: none;
}

.siblab-feature:first-child {
  border-top: none;
}
.siblab-features p.siblab-feature__text {
  margin-top: 0;
  margin-bottom: 0;
}
.siblab-feature__icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: #0057FF;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.siblab-feature__icon i {
  font-size: 22px;
  color: #fff;
}

.siblab-feature__body {
  flex: 1;
}

.siblab-feature__title {
  font-size: 17px;
  font-weight: 700;
  color: #111;
  margin-bottom: 10px;
  line-height: 1.5;
}

/* レスポンシブ */
@media (max-width: 640px) {
  .siblab-feature {
    gap: 16px;
    padding: 24px 0;
  }

  .siblab-feature__icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
  }

  .siblab-feature__icon i {
    font-size: 18px;
  }

  .siblab-feature__title {
    font-size: 15px;
  }
}
/* ========================================
   制作事例ページ - 大きめカード式（16:9統一版）
   ======================================== */

/* ヘッダー */
.works-archive-custom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.works-header {
    text-align: center;
    margin-bottom: 60px;
}

.works-header-subtitle {
    font-size: 14px;
    font-weight: 400;
    color: #999;
    margin-bottom: 10px;
    letter-spacing: 0.1em;
}

.works-header-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    font-family: "Noto Serif JP", "Hiragino Mincho ProN", serif;
}

.works-header-description {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
}

/* 注目実績（大きめ表示） */
.works-featured {
    margin-bottom: 80px;
}

.works-featured-card {
    display: block;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.works-featured-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.works-featured-image {
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9比率 */
    position: relative;
    overflow: hidden;
}

.works-featured-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.works-featured-card:hover .works-featured-image img {
    transform: scale(1.05);
}

.works-featured-content {
    padding: 40px;
}

.works-category {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.works-tag {
    display: inline-block;
    padding: 5px 12px;
    background-color: #343d46;
    color: #fff;
    font-size: 12px;
    border-radius: 4px;
}

.works-industry {
    display: inline-block;
    padding: 5px 12px;
    background-color: #f5f5f5;
    color: #333;
    font-size: 12px;
    border-radius: 4px;
}

.works-featured-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    font-family: "Noto Serif JP", "Hiragino Mincho ProN", serif;
}

.works-featured-text {
    font-size: 15px;
    line-height: 1.8;
    color: #666;
}

/* 通常実績（2カラム） */
.works-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.works-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.works-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.works-card-image {
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9比率 */
    position: relative;
    overflow: hidden;
}

.works-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.works-card:hover .works-card-image img {
    transform: scale(1.05);
}

.works-card-content {
    padding: 20px;
}

.works-card-title {
    font-size: 18px;
    font-weight: 700;
    margin-top: 10px;
    font-family: "Noto Serif JP", "Hiragino Mincho ProN", serif;
}

/* スマホ対応 */
@media (max-width: 767px) {
    .works-archive-custom {
        padding: 40px 15px;
    }

    .works-header-title {
        font-size: 32px;
    }

    .works-featured-content {
        padding: 20px;
    }

    .works-featured-title {
        font-size: 22px;
    }

    .works-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
/* アニメーション制御 */
/* ふわっと出るアニメーションを無効化（制作事例以外） */
    .ol-concept__content-inner,
    .ol-news__heading-wrapper-inner,
    .ol-banner__heading-wrapper-inner,
    .ol-service__heading-wrapper-inner,
    .ol-price__heading-wrapper-inner,
    .ol-story__heading-wrapper-inner,
    .ol-voice__heading-wrapper-inner,
    .ol-media__heading-wrapper-inner,
    .ol-faq__heading-wrapper-inner,
    .ol-access__heading-wrapper-inner,
    .ol-faq__desc,
    .ol-banner__desc,
    .ol-news__nav,
    .ol-story__item,
    .ol-access__body,
    .ol-news__container,
    .ol-banner__list,
    .ol-faq__list,
    .ol-media__list,
    .ol-animation {
        transform: none !important;
        transition: none !important;
        animation: none !important;
        opacity: 1 !important;
        will-change: auto !important;
    }

/* ECサイト制作ページ */
/* カートロゴセクション全体 */
.cart-logos-section {
    margin: 60px 0;
    padding: 0 20px;
}

/* タイトル */
.cart-logos-title {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: #343d46;
}

/* 説明文 */
.cart-logos-description {
    font-size: 15px;
    line-height: 1.8;
    text-align: left;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #555;
}

/* ロゴのグリッド（3列） */
.cart-logos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}

/* 各ロゴのアイテム */
.cart-logo-item {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: box-shadow 0.3s ease;
    height: 120px;
}

.cart-logo-item:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* ロゴ画像 */
.cart-logo-item img {
    width: 100%;
    height: auto;
    max-height: 60px;
    object-fit: contain;
}

/* カラーミーショップだけ調整 */
.cart-logo-item:nth-child(1) {
    padding: 15px;
}

.cart-logo-item:nth-child(1) img {
    max-height: 90px;
}

/* 9回の打ち合わせ強調ボックス */
.ec-key-message-box {
    background: linear-gradient(135deg, #343d46 0%, #2c353d 100%);
    border-radius: 15px;
    padding: 40px;
    margin: 60px auto;
    max-width: 1200px;
    display: flex;
    gap: 30px;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}

/* 背景の装飾 */
.ec-key-message-box::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: rgba(79, 195, 247, 0.1);
    border-radius: 50%;
}

/* アイコン部分 */
.ec-key-message-icon {
    flex-shrink: 0;
    width: 90px;
    height: 90px;
    background: #4FC3F7;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.ec-icon-number {
    font-size: 44px;
    font-weight: 900;
    color: #ffffff;
    line-height: 1;
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

.ec-icon-label {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin-top: 2px;
    font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
}

/* コンテンツ部分 */
.ec-key-message-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

/* タイトル */
.ec-key-message-title {
    font-size: 26px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.5;
    font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
}

/* テキスト */
.ec-key-message-text {
    font-size: 16px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 25px;
    font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
}

.ec-key-message-text strong {
    color: #4FC3F7;
    font-weight: 700;
}

/* 注意書き */
.ec-key-message-note {
    background: rgba(255, 255, 255, 0.08);
    border-left: 4px solid #4FC3F7;
    padding: 20px 25px;
    border-radius: 8px;
    font-size: 15px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.9);
    font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
}

.ec-key-message-note strong {
    color: #ffffff;
    font-weight: 700;
}

/* スマホ対応 */
@media (max-width: 767px) {
    .cart-logos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .cart-logo-item {
        padding: 20px;
        height: 100px;
    }
    
    .cart-logo-item img {
        max-height: 50px;
    }
    
    .cart-logo-item:nth-child(1) {
        padding: 10px;
    }
    
    .cart-logo-item:nth-child(1) img {
        max-height: 70px;
    }
    
    .ec-key-message-box {
        flex-direction: column;
        padding: 30px 20px;
        gap: 25px;
    }
    
    .ec-key-message-icon {
        width: 70px;
        height: 70px;
        margin: 0 auto;
    }
    
    .ec-icon-number {
        font-size: 36px;
    }
    
    .ec-icon-label {
        font-size: 14px;
    }
    
    .ec-key-message-title {
        font-size: 20px;
        text-align: center;
        margin-bottom: 15px;
    }
    
    .ec-key-message-text {
        font-size: 15px;
        margin-bottom: 20px;
    }
    
    .ec-key-message-note {
        font-size: 14px;
        padding: 18px 20px;
    }
}

/* タブレット対応 */
@media (min-width: 768px) and (max-width: 1024px) {
    .cart-logos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 地域特化セクション */
/* ========================================
   大阪の企業様向けセクション
   ======================================== */

.ec-osaka-section {
    padding: 80px 20px;
    background-color: #f8f9fa;
}

.ec-osaka-container {
    max-width: 1200px;
    margin: 0 auto;
}

.ec-osaka-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    font-family: "Noto Serif JP", "Hiragino Mincho ProN", serif;
}

.ec-osaka-lead {
    font-size: clamp(0.96875rem, -0.7562435633rem + 1.596292482vw, 1.9375rem); /* 15.5px〜31px */
    line-height: 2.4;
    letter-spacing: 1.92px;
    text-align: left;
    color: #666;
    margin-bottom: 60px;
}

.ec-osaka-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.ec-osaka-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    text-align: center;
    transition: all 0.3s ease;
}

.ec-osaka-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.ec-osaka-icon i {
    font-size: 48px;
    color: #343d46;
    margin-bottom: 20px;
}

.ec-osaka-card-title {
    font-size: 24px; /* 見出しなので少し大きめ */
    font-weight: 700;
    margin-bottom: 15px;
    font-family: "Noto Serif JP", "Hiragino Mincho ProN", serif;
}

.ec-osaka-card-text {
    font-size: clamp(0.96875rem, -0.7562435633rem + 1.596292482vw, 1.9375rem); /* ベースサイズ */
    line-height: 2.4;
    letter-spacing: 1.92px;
    color: #666;
    text-align: left;
}

.ec-osaka-commitment {
    background: linear-gradient(135deg, #343d46 0%, #4a5568 100%);
    padding: 40px;
    border-radius: 10px;
    color: #fff;
    text-align: center;
}

.ec-osaka-commitment-title {
    font-size: 28px; /* 見出し */
    font-weight: 700;
    margin-bottom: 20px;
    font-family: "Noto Serif JP", "Hiragino Mincho ProN", serif;
}

.ec-osaka-commitment-text {
    font-size: clamp(0.96875rem, -0.7562435633rem + 1.596292482vw, 1.9375rem); /* ベースサイズ */
    line-height: 2.4;
    letter-spacing: 1.92px;
    color: rgba(255, 255, 255, 0.95);
    text-align: left;
}

/* スマホ対応 */
@media (max-width: 767px) {
    .ec-osaka-section {
        padding: 60px 15px;
    }
    
    .ec-osaka-title {
        font-size: 28px;
    }
    
    .ec-osaka-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .ec-osaka-commitment {
        padding: 30px 20px;
    }
    
    .ec-osaka-commitment-title {
        font-size: 24px;
    }
}

/* ========================================
   実績数値セクション（強化版）
   ======================================== */

.ec-results-section {
    padding: 80px 20px;
    background: #fff;
}

.ec-results-container {
    max-width: 1200px;
    margin: 0 auto;
}

.ec-results-title {
    font-size: 42px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    font-family: "Noto Serif JP", "Hiragino Mincho ProN", serif;
}

.ec-results-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.ec-result-card {
    background: linear-gradient(135deg, #f5f5f5 0%, #e8f4f8 100%);
    padding: 50px 30px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
}

.ec-result-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.ec-result-card.highlight {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.ec-result-number {
    font-size: 56px;
    font-weight: 900;
    margin-bottom: 15px;
    font-family: "Noto Serif JP", serif;
}

.ec-result-number span {
    font-size: 40px;
}

.ec-result-card.highlight .ec-result-number {
    color: #ffd700;
}

.ec-result-label {
    font-size: clamp(0.96875rem, -0.7562435633rem + 1.596292482vw, 1.9375rem);
    line-height: 2.4;
    letter-spacing: 1.92px;
    color: #666;
}

.ec-result-card.highlight .ec-result-label {
    color: rgba(255, 255, 255, 0.95);
}

/* スマホ対応 */
@media (max-width: 767px) {
    .ec-results-section {
        padding: 60px 15px;
    }
    
    .ec-results-title {
        font-size: 32px;
    }
    
    .ec-results-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .ec-result-card {
        padding: 35px 20px;
    }
    
    .ec-result-number {
        font-size: 42px;
    }
    
    .ec-result-number span {
        font-size: 28px;
    }
}
/* =============================================
   ホームページ制作デザインCSS
   ============================================= */
/* =============================================
   3つの強みセクション
   ============================================= */

.siblab-strengths-section {
    margin: 60px 0;
}

.siblab-strengths-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

.siblab-strength-card {
    background: linear-gradient(135deg, #343d46 0%, #2c353d 100%);
    border-radius: 15px;
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
}

.siblab-strength-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: rgba(79, 195, 247, 0.1);
    border-radius: 50%;
}

.siblab-strength-number {
    font-size: 72px;
    font-weight: 900;
    color: rgba(79, 195, 247, 0.2);
    line-height: 1;
    margin-bottom: -20px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

.siblab-strength-icon {
    font-size: 48px !important;
    color: #4FC3F7 !important;
    margin-bottom: 20px;
    margin-top: 10px;
}

.siblab-strength-title {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
    line-height: 1.5 !important;
}

.siblab-strength-text {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.9 !important;
    margin: 0 !important;
    padding: 0 !important;
    letter-spacing: 0.06em;
}

.page:not(.home) .siblab-strength-text,
.single .siblab-strength-text {
    margin: 0 !important;
    padding: 0 !important;
}

@media (max-width: 767px) {
    .siblab-strengths-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .siblab-strength-card {
        padding: 30px 25px;
    }
    .siblab-strength-number {
        font-size: 56px;
    }
    .siblab-strength-icon {
        font-size: 40px !important;
    }
    .siblab-strength-title {
        font-size: 17px;
    }
    .siblab-strength-text {
        font-size: 15px;
    }
}

/* =============================================
   業種別実績セクション
   ============================================= */

.siblab-industry-cards-wrap {
    max-width: 1000px;
    margin: 0 auto;
    padding-bottom: 20px;
}

.siblab-industry-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.sib-ind-card {
    background: #fff;
    border-radius: 16px;
    padding: 36px 32px 28px;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 1px 3px rgba(0,0,0,0.04),
        0 4px 16px rgba(0,0,0,0.07);
    display: flex;
    flex-direction: column;
}

/* 上部グラデーションライン */
.sib-ind-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #1a2a3a 0%, #3a6680 55%, #7ab0cc 100%);
}

/* 右下の背景デコ円 */
.sib-ind-card::after {
    content: '';
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a2a3a, #3a6680);
    opacity: 0.045;
    pointer-events: none;
}

.sib-ind-icon-wrap {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: linear-gradient(140deg, #1a2a3a 0%, #3a6680 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    flex-shrink: 0;
    box-shadow: 0 6px 18px rgba(26,42,58,0.30);
    position: relative;
    z-index: 1;
}

.sib-ind-icon-wrap i {
    font-size: 21px !important;
    color: #fff !important;
}

.sib-ind-card-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 10px !important;
    line-height: 1.6 !important;
    letter-spacing: 0.05em;
    position: relative;
    z-index: 1;
}

.sib-ind-card-text {
    font-size: 15px;
    font-weight: 300;
    color: #3a3a3a;
    line-height: 1.9 !important;
    letter-spacing: 0.06em;
    margin: 0 0 18px !important;
    padding: 0 !important;
    flex-grow: 1;
    position: relative;
    z-index: 1;
}

.page:not(.home) .sib-ind-card-text,
.single .sib-ind-card-text {
    margin: 0 0 18px !important;
    padding: 0 !important;
}

.sib-ind-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: auto;
    position: relative;
    z-index: 1;
}

.sib-ind-tag {
    font-size: 11.5px;
    font-weight: 600;
    color: #2e5f7e;
    background: rgba(58,102,128,0.08);
    border: 1px solid rgba(58,102,128,0.18);
    padding: 4px 12px;
    border-radius: 100px;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.sib-ind-card--last {
    grid-column: 1 / 2;
}

@media (max-width: 680px) {
    .siblab-industry-cards-grid {
        grid-template-columns: 1fr;
    }
    .sib-ind-card--last {
        grid-column: auto;
    }
    .sib-ind-card {
        padding: 28px 24px 24px;
    }
}

/* =============================================
   差別化セクション：上ビジュアル×下テキスト
   ============================================= */

.sib-diff2-section {
  --dark:  #1a2a3a;
  --mid:   #3a6680;
  --light: #7ab0cc;
  padding-bottom: 0;
}

.sib-diff2-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.sib-diff2-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 2px 8px rgba(26,42,58,0.05),
    0 8px 32px rgba(26,42,58,0.08);
  display: flex;
  flex-direction: column;
}

/* ===== 上：ビジュアルエリア ===== */
.sib-diff2-visual {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 60px 36px 22px;
}

.sib-diff2-card--01 .sib-diff2-visual {
  background: linear-gradient(150deg, #0f1d2b 0%, var(--dark) 45%, #2e5f7e 100%);
}

.sib-diff2-card--02 .sib-diff2-visual {
  background: linear-gradient(150deg, #0a1825 0%, #1e3a50 45%, var(--mid) 100%);
}

.sib-diff2-visual::before {
  content: '';
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.08);
  top: -80px;
  right: -80px;
  pointer-events: none;
}

.sib-diff2-visual::after {
  content: '';
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.06);
  top: -20px;
  right: -20px;
  pointer-events: none;
}

/* アイコン（重複を整理） */
.sib-diff2-icon {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  z-index: 2;
}

.sib-diff2-icon i {
  font-size: 20px !important;
  color: #fff !important;
}

.sib-diff2-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.45);
  line-height: 1 !important;
  margin: 0 0 8px !important;
  padding: 0 !important;
  position: relative;
  z-index: 2;
}

.sib-diff2-visual h3 {
  font-size: clamp(15px, 1.6vw, 18px);
  font-weight: 700;
  color: #fff;
  line-height: 1.65 !important;
  letter-spacing: 0.05em;
  margin: 0 !important;
  padding: 0 !important;
  position: relative;
  z-index: 2;
  text-shadow: 0 1px 12px rgba(0,0,0,0.3);
}

/* ===== 下：テキストエリア ===== */
.sib-diff2-body {
  padding: 24px 36px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.sib-diff2-body p.sib-diff2-lead {
  font-size: 19px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.7 !important;
  letter-spacing: 0.06em;
  padding: 0 0 0 14px !important;
  border-left: 3px solid var(--mid);
  margin: 0 0 16px 0 !important;
}

.sib-diff2-body p.sib-diff2-text {
  font-size: 17px;
  font-weight: 300;
  color: #3a3a3a;
  line-height: 2.0 !important;
  letter-spacing: 0.06em;
  margin: 0 !important;
  padding: 0 !important;
}

/* テーマのmargin上書き */
.page:not(.home) .sib-diff2-body p.sib-diff2-lead,
.single .sib-diff2-body p.sib-diff2-lead {
  margin-top: 10px !important;
  margin-bottom: 30px !important;
}

.page:not(.home) .sib-diff2-body p.sib-diff2-text,
.single .sib-diff2-body p.sib-diff2-text {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

@media (max-width: 680px) {
  .sib-diff2-visual {
    padding: 48px 24px 18px;
  }
  .sib-diff2-body {
    padding: 20px 24px 24px;
  }
}

/* =============================================
   制作の流れセクション
   ============================================= */
.sib-flow-section {
  --dark: #1a2a3a;
  --mid:  #3a6680;
  --accent: #4FC3F7;
}

.sib-flow-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

/* 縦のコネクターライン */
.sib-flow-list::before {
  content: '';
  position: absolute;
  left: 36px;
  top: 52px;
  bottom: 52px;
  width: 2px;
  background: linear-gradient(to bottom,
    #4FC3F7 0%,
    #3a6680 50%,
    #1a2a3a 100%
  );
  z-index: 0;
}

/* ===== 各ステップ ===== */
.sib-flow-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0 24px;
  align-items: start;
  padding: 0 0 28px;
  position: relative;
  z-index: 1;
}
.sib-flow-item:last-child {
  padding-bottom: 0;
}

/* 左：ステップ番号サークル */
.sib-flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding-top: 2px;
}

.sib-flow-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--dark) 0%, var(--mid) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(26,42,58,0.30);
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.sib-flow-circle-label {
  font-size: 8px;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.1em;
  line-height: 1;
}

.sib-flow-circle-num {
  font-size: 16px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  font-family: 'Helvetica Neue', Arial, sans-serif;
}

/* 右：カード */
.sib-flow-card {
  background: #fff;
  border-radius: 14px;
  padding: 22px 28px 22px;
  box-shadow:
    0 1px 4px rgba(0,0,0,0.04),
    0 4px 16px rgba(26,42,58,0.07);
  position: relative;
  overflow: hidden;
}

/* カード左のアクセントライン */
.sib-flow-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, #4FC3F7, #3a6680);
  border-radius: 14px 0 0 14px;
}

/* カード右上のデコ */
.sib-flow-card::after {
  content: '';
  position: absolute;
  top: -24px; right: -24px;
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a2a3a, #3a6680);
  opacity: 0.04;
  pointer-events: none;
}

.sib-flow-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.sib-flow-card-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--dark), var(--mid));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sib-flow-card-icon i {
  font-size: 20px !important;
  color: #fff !important;
}

.sib-flow-card-title {
  font-size: 20px;
  font-weight: 900;
  color: #1a1a1a;
  line-height: 1.5 !important;
  letter-spacing: 0.05em;
  margin: 0 !important;
  padding: 0 !important;
}

.sib-flow-card-text {
  font-size: 16px;
  font-weight: 300;
  color: #3a3a3a;
  line-height: 1.85 !important;
  letter-spacing: 0.06em;
  margin: 0 !important;
  padding: 0 !important;
}

.page:not(.home) .sib-flow-card-text,
.single .sib-flow-card-text {
  margin: 0 !important;
  padding: 0 !important;
}

/* 最終ステップだけアクセントカラーを変える */
.sib-flow-item:last-child .sib-flow-circle {
  background: linear-gradient(135deg, #1a3a2a 0%, #2e7a5a 100%);
  box-shadow: 0 4px 16px rgba(26,58,42,0.30);
}
.sib-flow-item:last-child .sib-flow-card::before {
  background: linear-gradient(to bottom, #4FC3A0, #2e7a5a);
}
.sib-flow-item:last-child .sib-flow-card-icon {
  background: linear-gradient(135deg, #1a3a2a, #2e7a5a);
}

/* ===== レスポンシブ ===== */
@media (max-width: 640px) {
  .sib-flow-list::before {
    left: 25px;
  }
  .sib-flow-item {
    grid-template-columns: 50px 1fr;
    gap: 0 16px;
  }
  .sib-flow-circle {
    width: 42px;
    height: 42px;
  }
  .sib-flow-circle-num {
    font-size: 14px;
  }
  .sib-flow-card {
    padding: 18px 20px;
  }
  .sib-flow-card-title {
    font-size: 15px;
  }
}

/* =============================================
   対応エリアセクション
   ============================================= */
.sib-area-section {
  --dark: #1a2a3a;
  --mid:  #3a6680;
  --light: #7ab0cc;
}

/* 1枚カード */
.sib-area-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 1px 4px rgba(0,0,0,0.04),
    0 4px 24px rgba(26,42,58,0.08);
  margin-bottom: 16px;
}

/* 上部グラデーションライン */
.sib-area-card::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, #1a2a3a 0%, #3a6680 55%, #7ab0cc 100%);
}

.sib-area-card-inner {
  padding: 32px 36px;
}

/* エリア行 */
.sib-area-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 0 20px;
  padding: 14px 0;
  border-bottom: 1px solid #f0f0f0;
  align-items: baseline;
}
.sib-area-row:first-child {
  padding-top: 0;
}
.sib-area-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

/* エリア名 */
.sib-area-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.6 !important;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 !important;
  padding: 0 !important;
}
.sib-area-label::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mid);
  flex-shrink: 0;
}

/* 市区町村 */
.sib-area-cities {
  font-size: 14px;
  font-weight: 300;
  color: #3a3a3a;
  line-height: 1.8 !important;
  letter-spacing: 0.06em;
  margin: 0 !important;
  padding: 0 !important;
}

/* 全国対応行 */
.sib-area-row--wide .sib-area-label::before {
  background: #2e7a5a;
}
.sib-area-row--wide .sib-area-cities {
  color: #2a5a42;
}

.page:not(.home) .sib-area-label,
.page:not(.home) .sib-area-cities,
.single .sib-area-label,
.single .sib-area-cities {
  margin: 0 !important;
  padding: 0 !important;
}

/* 下部：訪問打ち合わせボックス */
.sib-area-note-box {
  background: linear-gradient(135deg, var(--dark) 0%, #2a4a62 100%);
  border-radius: 16px;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.sib-area-note-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sib-area-note-icon i {
  font-size: 20px !important;
  color: #fff !important;
}

.sib-area-note-body { flex: 1; }

.sib-area-note-title {
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  line-height: 1.5 !important;
  letter-spacing: 0.05em;
  margin: 0 0 4px !important;
  padding: 0 !important;
}

.sib-area-note-text {
  font-size: 16px;
  font-weight: 300;
  color: rgba(255,255,255,0.75);
  line-height: 1.75 !important;
  letter-spacing: 0.06em;
  margin: 0 !important;
  padding: 0 !important;
}

.page:not(.home) .sib-area-note-title,
.single .sib-area-note-title {
  margin: 0 0 4px !important;
  padding: 0 !important;
}
.page:not(.home) .sib-area-note-text,
.single .sib-area-note-text {
  margin: 0 !important;
  padding: 0 !important;
}

/* レスポンシブ */
@media (max-width: 560px) {
  .sib-area-card-inner {
    padding: 24px 20px;
  }
  .sib-area-row {
    grid-template-columns: 1fr;
    gap: 2px;
    padding: 12px 0;
  }
  .sib-area-note-box {
    flex-direction: column;
    text-align: center;
    padding: 22px 20px;
    gap: 14px;
  }
}
/* 実績コンテンツ */
/* 実績セクション全体 */
.siblab-stats-section {
    background-image: url(https://sib-lab.jp/test/wp-content/uploads/2026/02/Office.jpg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* パララックス効果 */
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: 80px 0;
}

/* 半透明オーバーレイ */
.siblab-stats-overlay {
    background-color: rgba(52, 61, 70, 0.85); /* 濃い青グレー、85%透明度 */
    padding: 60px 20px;
}

/* コンテナ */
.siblab-stats-container {
    max-width: 1180px;
    margin: 0 auto;
    text-align: center;
}

/* タイトル */
.siblab-stats-title {
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 50px;
    letter-spacing: 2px;
}

/* グリッド（2カラム） */
.siblab-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    max-width: 900px;
    margin: 0 auto;
}

/* 各統計項目 */
.siblab-stat-item {
    text-align: center;
}

/* 数字 */
.siblab-stat-number {
    font-size: 72px;
    font-weight: 900;
    color: #4FC3F7; /* 明るい青 */
    line-height: 1;
    margin-bottom: 20px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

/* ラベル */
.siblab-stat-label {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.6;
}

/* スマホ対応 */
@media (max-width: 767px) {
    .siblab-stats-section {
        padding: 60px 0;
        background-attachment: scroll; /* スマホでは固定背景を解除 */
    }
    
    .siblab-stats-overlay {
        padding: 40px 20px;
    }
    
    .siblab-stats-title {
        font-size: 24px;
        margin-bottom: 40px;
    }
    
    .siblab-stats-grid {
        grid-template-columns: 1fr; /* 1カラムに変更 */
        gap: 40px;
    }
    
    .siblab-stat-number {
        font-size: 56px;
    }
    
    .siblab-stat-label {
        font-size: 16px;
    }
}
/* スマホで改行、文字サイズ */
@media screen and (min-width: 768px) {
  .br-sp {
    display: none; /* PC時は改行タグを隠す */
  }
}

.sp-text-lead {
        font-size: 24px !important; /* 24px → 14px に縮小 */
        line-height: 1.8 !important
    }
/* Easy Table of Contents のデザインを微調整 */
#ez-toc-container {
    border-left: 4px solid #333 !important; /* 左側に太めのアクセント線 */
    box-shadow: 0 2px 10px rgba(0,0,0,0.05) !important; /* ほんのり影をつけて浮かせる */
    padding: 25px !important;
}

#ez-toc-container .ez-toc-title {
    font-size: 1.2em !important;
    letter-spacing: 0.05em;
}
/* 目次タイトル全体を包む箱の下に隙間を作る */
#ez-toc-container .ez-toc-title-container {
    padding-bottom: 15px !important;
    margin-bottom: 15px !important;
}

/* 目次の中身（リスト全体）の上に隙間を作る */
#ez-toc-container nav.ez-toc-title-container + ul,
#ez-toc-container ul.ez-toc-list,
#ez-toc-container .ez-toc-list-container {
    margin-top: 15px !important;
    padding-top: 0 !important;
}

/* 最初の1番目の項目（li）だけに余白を追加 */
#ez-toc-container ul.ez-toc-list > li:first-child {
    margin-top: 10px !important;
}
/* アイコンフォントの領域を固定してガタつきを防ぐ */
.oltana-icons {
    display: inline-block;
    width: 1em; /* アイコンが入る幅を先に確保 */
    min-height: 1px;
}
/* ブログ固定表示のコンバージョンボタン */
/* リスト内の不正なdivをアクセシビリティエラーから除外する */
.ol-cvbutton__list {
    display: flex !important;
    list-style: none !important;
}

/* 区切り線のdivをリスト構造から無視させる */
.ol-cvbutton__list .ol-separator {
    display: block;
}
/* レコメンドCSS */
/* すべての干渉を無視して強制適用 */
body #pt-cv-view-5e45eedgdf .cvp-post-image {
    width: 100% !important;
    height: 160px !important; /* 画像の高さを強制固定 */
    object-fit: cover !important; /* はみ出し分をカットして揃える */
}
body #pt-cv-view-5e45eedgdf .cvp-post-title a {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif !important;
    font-size: 15px !important;
    font-weight: bold !important;
    line-height: 1.5 !important;
    color: #333 !important;
    text-decoration: none !important;
    display: block !important;
    margin-top: 10px !important;
}

/* リンクにマウスを乗せた時の色 */
body #pt-cv-view-5e45eedgdf .cvp-post-title a:hover {
    color: #0073aa !important;
}

/* これで関連記事の「タイトル」が消えれば、CSSは届いています */
.pt-cv-view .cvp-post-title {
    display: none !important;
}

.ol-article__title {
  width: 100%;
  padding: 80px;
  margin-bottom: 10px;
background-color: rgba(0, 9, 22, 0.84);  background-position: center;
  background-size: cover;
  text-align: center;
}
 
/* SP向けの設定 */
@media screen and (max-width: 600px) {
  .ol-article__title{
   padding: 4rem 4rem;
  }
}

/* PC向けの設定 */
@media screen and (min-width: 601px) {
  .ol-article__title{
    padding: 5rem 6rem;
  }
}

/* 見出し調整 */
h1{
	color: #ffffff;
}

    h2.wp-block-heading {
        padding-top: clamp(24px, 2.25vw, 24px);
		        margin-top: clamp(84px, 6vw, 82px);
		        margin-bottom: clamp(48px, 3vw, 15px);

    }
h2 {
  border-bottom: solid 3px #696969;
  position: relative;
}

h2:after {
  position: absolute;
  content: " ";
  display: block;
  border-bottom: solid 3px #d3d3d3;
  bottom: -3px;
  width: 30%;
}
.ol-product__shortcut-heading {
  color: #fff;
}

/* CTA調整 */
/* 「.is-style-compact-cta」というクラスがついた時だけ、幅を制限する */
.wp-block-cover.is-style-compact-cta {
    width: 100% !important;
    max-width: 1100px !important; 
    margin-left: auto !important;
    margin-right: auto !important;
    left: auto !important;
    right: auto !important;
    border-radius: 12px;
    overflow: hidden !important;
}

/* それ以外のカバーブロック（問い合わせ等）はテーマ標準（全幅）のまま */

/* 2. インナーコンテナの設定（基本は継承、微調整） */
.wp-block-cover__inner-container.is-layout-constrained {
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 20px !important;
}

/* 3. カラムブロックのレイアウト崩れ防止（継続） */
.wp-block-columns.is-layout-flex {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 2em;
    width: 100% !important;
}

/* 4. 各カラムの突き抜け防止（継続） */
.wp-block-column {
    flex-basis: 0;
    flex-grow: 1;
    min-width: 0;
    word-break: break-all;
}

/* 5. スマホ表示時の調整（継続） */
@media (max-width: 781px) {
    .wp-block-columns.is-layout-flex {
        flex-direction: column !important;
    }
}
.br-sp {
    display: none;
}

@media (max-width: 600px) {
    .br-sp {
        display: block;
    }
}
/* CLS対策 */
/* メニューが読み込まれる前のガタつきを抑える */
#mega-menu-wrap-max_mega_menu_1 {
    min-height: 50px; /* PCでのメニューバーの高さに合わせて調整してください */
}
/* モバイルでメニューが出る前から、その『席』を確保しておく */
@media screen and (max-width: 767px) {
    /* メニューバーを包むコンテナに高さを強制 */
    .mega-menu-wrap, 
    #mega-menu-wrap-max_mega_menu_1 {
        min-height: 50px !important; /* メニューバーの実際の高さに合わせる */
        display: block !important;
        background: transparent; /* 背景色が決まる前も領域だけ確保 */
    }

    /* トグルボタン（三本線）のエリアも高さを確保 */
    .mega-menu-toggle {
        height: 50px !important;
    }
}
/* 1. アニメーション対象の初期状態を固定（CLS対策） */
.ol-concept__content-inner, .ol-news__heading-wrapper-inner, .ol-banner__heading-wrapper-inner, 
.ol-service__heading-wrapper-inner, .ol-price__heading-wrapper-inner, .ol-story__heading-wrapper-inner, 
.ol-voice__heading-wrapper-inner, .ol-media__heading-wrapper-inner, .ol-faq__heading-wrapper-inner, 
.ol-access__heading-wrapper-inner, .ol-faq__desc, .ol-banner__desc, .ol-news__nav,
.ol-story__item, .ol-access__body, .ol-news__container, .ol-banner__list, 
.ol-faq__list, .ol-media__list, .ol-animation {
    opacity: 0;
    transform: translateY(9px);
    will-change: opacity, transform;
}

/* 2. ロゴ・ヘッダーの共通設定 */
.ol-header__logo-img,
img[src*="SIBLAB_LOGO02"] {
    aspect-ratio: 200 / 50 !important;
    width: 200px !important;
    height: auto !important;
    display: block !important;
    max-width: 100%;
}

/* 3. モバイル専用設定 (767px以下) */
@media screen and (max-width: 767px) {
    .ol-header__main {
        min-height: 70px !important; 
    }
    #mega-menu-wrap-max_mega_menu_1 {
        min-height: 50px !important;
    }
}

/* 4. PC専用設定 (992px以上) */
@media screen and (min-width: 992px) {
    .ol-header__logo-img {
        height: 50px !important; /* PCでの整列を優先 */
    }
    .ol-header__main {
        padding-top: 10px !important; /* メニュー位置の微調整 */
        min-height: 80px !important;
    }
}

/* 5. アイキャッチ画像の表示保証（JSではなくCSSで制御） */
.ol-article__thumbnail {
    opacity: 0;
    transform: translateY(9px);
    animation: fadeInLift 0.8s ease-out 0.3s forwards; /* 少し遅れて確実に表示 */
}

@keyframes fadeInLift {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* ロゴの表示エリアと比率を完全に固定する */
.ol-header__logo-img {
    width: 200px !important;
    height: auto !important; /* heightを固定せず比率に任せるのが今の主流 */
    aspect-ratio: 200 / 50 !important; /* これが最重要：ブラウザに形を予約させる */
    display: block !important;
}

/* ヘッダー全体の高さを確保（メニューを含めた実測値に合わせる） */
/* 50pxだとロゴ単体の高さなので、メニュー等を含む「.ol-header__main」全体としては
   もう少し高さがあるはずです。80px〜90px程度に調整すると安定します */
.ol-header__main {
    min-height: 85px; 
}
/* CLS（レイアウトのズレ）を 0 に固定する */
.main-visual img, .map-container, .ol-access__map iframe {
  width: 100% !important;
  height: auto;
  aspect-ratio: 16 / 9;
  background-color: #f0f0f0;
}

/* アニメーション警告（visibility）の強制排除 */
#olLoading, .ol-loading__complete, .ol-news__list, .ol-news__item {
  visibility: visible !important;
  animation-fill-mode: both !important;
}

@keyframes finish {
  from { opacity: 1; visibility: visible; }
  to { opacity: 0; visibility: visible; }
}

@keyframes oltanaSlideInFromRight2-for-news0 {
  from { opacity: 0; transform: translateY(10px); visibility: visible; }
  to { opacity: 1; transform: translateY(0); visibility: visible; }
}

/* フォント読み込み前のCLS防止 */
body {
    font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
}
body.fonts-loaded {
    font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
}
/* 1. アニメーション対象の初期状態を固定（CLS対策） */
.ol-concept__content-inner, .ol-news__heading-wrapper-inner, .ol-banner__heading-wrapper-inner, 
.ol-service__heading-wrapper-inner, .ol-price__heading-wrapper-inner, .ol-story__heading-wrapper-inner, 
.ol-voice__heading-wrapper-inner, .ol-media__heading-wrapper-inner, .ol-faq__heading-wrapper-inner, 
.ol-access__heading-wrapper-inner, .ol-faq__desc, .ol-banner__desc, .ol-news__nav,
.ol-story__item, .ol-access__body, .ol-news__container, .ol-banner__list, 
.ol-faq__list, .ol-media__list, .ol-animation {
    opacity: 0;
    transform: translateY(9px);
    will-change: opacity, transform;
}

/* 2. ロゴ・ヘッダーの共通設定 */
.ol-header__logo-img,
img[src*="SIBLAB_LOGO02"] {
    aspect-ratio: 200 / 50 !important;
    width: 200px !important;
    height: auto !important;
    display: block !important;
    max-width: 100%;
}

/* 3. モバイル専用設定 (767px以下) */
@media screen and (max-width: 767px) {
    .ol-header__main {
        min-height: 70px !important; 
    }
    #mega-menu-wrap-max_mega_menu_1 {
        min-height: 50px !important;
    }
}

/* 4. PC専用設定 (992px以上) */
@media screen and (min-width: 992px) {
    .ol-header__logo-img {
        height: 50px !important; /* PCでの整列を優先 */
    }
    .ol-header__main {
        padding-top: 10px !important; /* メニュー位置の微調整 */
        min-height: 80px !important;
    }
}

/* 5. アイキャッチ画像の表示保証（JSではなくCSSで制御） */
.ol-article__thumbnail {
    opacity: 0;
    transform: translateY(9px);
    animation: fadeInLift 0.8s ease-out 0.3s forwards; /* 少し遅れて確実に表示 */
}

@keyframes fadeInLift {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* スマホメニュー回り込み */

/* メニューを強制的に最前面へ持ってくる */
#mega-menu-wrap-max_mega_menu_1, 
.ol-header__main,
.ol-header {
    z-index: 9999 !important;
    position: relative !important;
}

/* コンテンツ側が上に被さらないように順位を下げる */
.ol-service, 
.ol-concept,
.ol-article__thumbnail {
    z-index: 1 !important;
}

/* メニュー展開時のリスト自体も確実に前面へ */
.mega-menu-menu {
    z-index: 99999 !important;
}

/* ブログ一覧を一気に表示 */
.ol-card-item {
  animation: none !important;
  opacity: 1 !important;
}

/* リスト全体にアニメーション */
.ol-card-list {
  opacity: 0;
  transform: translateY(9px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.ol-card-list.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 1. グローバルメニュー（Max Mega Menu） → Noto Serif JP（明朝） */
#mega-menu-max_mega_menu_1 a,
#mega-menu-max_mega_menu_1 .mega-menu-link,
.mega-menu-wrap .mega-menu-link {
    font-family: "Noto Serif JP", "Hiragino Mincho ProN", serif !important;
    font-weight: 500 !important;
}

/* 2. ヒーローエリアのキャッチコピー → Noto Serif JP（明朝） */
.ol-firstview__title,
.ol-firstview__title *,
.ol-firstview__title span {
    font-family: "Noto Serif JP", "Hiragino Mincho ProN", serif !important;
    font-weight: 300 !important;
    letter-spacing: 0.05em !important;
}

/* 3. 見出し h2, h3, h4 → Noto Serif JP（明朝） */
h2, h3, h4,
.ol-heading,
.ol-section h2,
.ol-section h3,
.ol-section h4,
.ol-service__heading,
.ol-product__heading,
.ol-access__heading {
    font-family: "Noto Serif JP", "Hiragino Mincho ProN", serif !important;
    font-weight: 500 !important;
}

/* 4. 本文 → 游ゴシック */
body,
p,
li,
.ol-text,
.ol-list-text,
.ol-card-item-title,
.ol-content p,
.ol-content li {
    font-family: "游ゴシック体", "Yu Gothic", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif !important;
    font-weight: 500 !important;
}

/* ========================================
   フッターエリア調整（統合版）
   ======================================== */

/* トップページ用 */
body.home .ol-fullwidth.ol-footer__section {
    padding-top: 50px !important; /* 100px → 50px に変更 */
}

body:not(.home) #olContact {
    clear: both !important;
    display: block !important;
    position: relative !important;
    top: -120px !important;
    margin-bottom: -90px !important;
}
body:not(.home) .ol-breadcrumb__wrapper {
    padding-bottom: 120px !important;
}

body:not(.home) .ol-fullwidth.ol-footer__section {
    padding-top: 120px !important;
}

body.home .ol-footer {
    padding-bottom: 0px !important;
}
/* トップページ：フッター最下部の余白を強制的に削減 */
body.home .ol-footer__section {
    padding-bottom: 0 !important;
}

body.home .ol-footer-widget {
    margin-bottom: 0 !important;
}

body.home footer.ol-footer {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

body.home .ol-footer * {
    margin-bottom: 0 !important;
}
/* トップページ：フッター最下部の余白を完全削減 */
body.home .ol-footer.ol-content-frame {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

body.home .ol-footer__inner {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

body.home .ol-footer__footer {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

body.home .ol-footer__links {
    margin-bottom: 10px !important; /* 個人情報とコピーライトの間の余白 */
}

body.home .ol-footer__copyright {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}
/* 下層ページ用 */
body:not(.home) .ol-fullwidth.ol-footer__section {
    padding-top: 0px !important;
}

/* コンタクトボックスを前面に＆回り込み防止（全ページ共通） */
.ol-contact__content {
    position: relative !important;
    z-index: 10 !important;
}

#olContact {
    clear: both !important; /* 回り込み完全防止 */
    display: block !important;
}

/* フッター本体の上余白調整 */
body:not(.home) .ol-footer {
    padding-top: 0 !important;
    margin-top: 0 !important;
}
/* トップページ：フッター下部の余白をさらに削減 */
body.home .ol-footer__bottom {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

body.home .ol-footer__copyright {
    margin-bottom: 0 !important;
}

/* VK Blocks：スマホで背景画像を表示 */
@media (max-width: 768px) {
    .vk_post .vk_outer {
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
    }
    
    .has-background {
        background-size: cover !important;
        background-position: center !important;
    }
    
    .vk_outer_bg {
        background-size: cover !important;
        background-position: center !important;
    }
}
/* VK Blocks：スマホで背景画像の高さを自動調整 */
@media (max-width: 768px) {
    .vk_outer,
    .vk_outer_bg {
        background-size: cover !important;
        min-height: auto !important;
        height: auto !important;
    }
    
    .vk_post .vk_outer {
        padding-top: 60px !important;
        padding-bottom: 60px !important;
    }
}
/* CTRブロック：お問い合わせのテキストサイズを小さく */
@media (max-width: 768px) {
    .ctr-block-responsive-bg h2,
    .ctr-block-responsive-bg .wp-block-heading {
        font-size: 18px !important; /* お好みで調整：16px〜20px */
        line-height: 1.6 !important;
    }
    
    .ctr-block-responsive-bg p {
        font-size: 16px !important; /* お好みで調整：12px〜16px */
        line-height: 1.6 !important;
    }
}
/* 制作実績ブロック：最強セレクタで強制適用 */
@media screen and (max-width: 768px) {
    body div.wp-block-cover.alignfull.product-block-responsive-bg[style*="min-height"] {
        min-height: auto !important;
        height: auto !important;
        padding-top: 60px !important;
        padding-bottom: 60px !important; /* 80px → 60px に変更 */
    }
    
    body div.wp-block-cover.product-block-responsive-bg .wp-block-cover__background {
        height: 100% !important;
        bottom: 0 !important;
        top: 0 !important;
    }
    
    body div.wp-block-cover.product-block-responsive-bg .wp-block-cover__inner-container {
        min-height: auto !important;
        padding-bottom: 0 !important; /* 20px → 0 に変更 */
    }
}

/* 制作実績ブロック：背景画像の高さを100%にする */
@media (max-width: 768px) {
    .product-block-responsive-bg picture,
    .product-block-responsive-bg .wp-block-cover__image-background,
    .product-block-responsive-bg .wp-block-cover__background {
        height: 100% !important;
        object-fit: cover !important;
    }
    
    .product-block-responsive-bg picture img {
        height: 100% !important;
        width: 100% !important;
        object-fit: cover !important;
    }
}
/* 制作実績ブロック：「制作事例の一部を〜」の文字サイズだけ小さく */
@media (max-width: 768px) {
    .product-block-responsive-bg p {
        font-size: 15px !important; /* お好みで調整：12px〜16px */
        line-height: 1.6 !important;
    }
}

/* 1. 【ここを修正】PC表示（768px以上）の時だけ -80px する */
@media (min-width: 768px) {
    :is(.page-id-59, .page-id-6721, .page-id-6297, .page-id-8956, .page-id-9425, .page-id-7544, .page-id-6235, .page-id-6210, .page-id-6270, .page-id-9213, .page-id-11) .l-main,
    :is(.page-id-59, .page-id-6721, .page-id-6297, .page-id-8956, .page-id-9425, .page-id-7544, .page-id-6235, .page-id-6210, .page-id-6270, .page-id-9213, .page-id-11) .ol-single__template {
        padding-top: 0 !important;
        margin-top: -80px !important;
    }
}

/* 2. ヒーローエリアの上下余白（これは全画面共通でOK） */
:is(.page-id-59, .page-id-6721, .page-id-6297, .page-id-8956, .page-id-9425, .page-id-7544, .page-id-6235, .page-id-6210, .page-id-6270, .page-id-9213, .page-id-11) .sib-oltana-full-hero {
    background-color: #f8fbff !important;
    border-top: 10px solid #343d46 !important;
    border-bottom: 10px solid #343d46 !important;
    width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    position: relative !important;
    padding: 45px 0 45px !important;
    display: block !important;
    margin-bottom: 60px !important;
}

/* 3. 4. コンテナとテキストデザイン（変更なし） */
.sib-hero-container {
    width: 100% !important;
    max-width: 1180px !important;
    margin: 0 auto !important;
    padding: 0 15px !important;
    text-align: left !important;
    box-sizing: border-box !important;
}
.sib-huge-text {
    font-size: clamp(80px, 15vw, 150px) !important;
    font-weight: 900 !important;
    color: #343d46 !important;
    line-height: 1 !important;
    font-family: 'Hiragino Mincho ProN', serif !important;
    margin: 0 0 20px 0 !important;
}
.sib-h1-title {
    font-size: 24px !important;
    font-weight: 800 !important;
    color: #1a1a1a !important;
    font-family: "Helvetica Neue", Arial, sans-serif !important;
    margin: 0 0 15px 0 !important;
    line-height: 1.4 !important;
}
.sib-lead-copy {
    font-size: 18px !important;
    line-height: 1.8 !important;
    color: #333 !important;
    font-family: "Helvetica Neue", Arial, sans-serif !important;
}

/* 5. 不要なヘッダーエリアを完全に隠す */
:is(.page-id-59, .page-id-6721, .page-id-6297, .page-id-8956, .page-id-9425, .page-id-7544, .page-id-6235, .page-id-6210, .page-id-6270, .page-id-9213, .page-id-11) .c-page-header,
:is(.page-id-59, .page-id-6721, .page-id-6297, .page-id-8956, .page-id-9425, .page-id-7544, .page-id-6235, .page-id-6210, .page-id-6270, .page-id-9213, .page-id-11) .l-main-header {
    display: none !important;
}

/* 6. スマホ表示：ヘッダーとの重なりを個別に設定 */
@media (max-width: 767px) {
    :is(.page-id-59, .page-id-6721, .page-id-6297, .page-id-8956, .page-id-9425, .page-id-7544, .page-id-6235, .page-id-6210, .page-id-6270, .page-id-9213, .page-id-11) .l-main,
    :is(.page-id-59, .page-id-6721, .page-id-6297, .page-id-8956, .page-id-9425, .page-id-7544, .page-id-6235, .page-id-6210, .page-id-6270, .page-id-9213, .page-id-11) .ol-single__template {
        margin-top: -20px !important; 
    }
    .sib-huge-text {
		font-size: 70px !important; /* PCは約150px、スマホは70px程度でバランス調整 */
        margin-bottom: 10px !important;
    }
}
.sib-huge-text1 {
    font-size: clamp(55px, 10vw, 100px) !important;
    font-weight: 900 !important;
    color: #343d46 !important;
    line-height: 1 !important;
    font-family: 'Hiragino Mincho ProN', serif !important;
    margin: 0 0 20px 0 !important;
}

.sib-h1-title1 {
    font-size: 24px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    font-family: "Helvetica Neue", Arial, sans-serif !important;
    margin: 0 0 15px 0 !important;
    line-height: 1.4 !important;
}
.sib-oltana-full-hero-bg {
    background-image: url(https://sib-lab.jp/test/wp-content/uploads/2026/02/Office.jpg);
    background-attachment: fixed; /* 固定（パララックス効果） */
    background-position: center center; /* 縦横中央 */
    background-size: cover !important; /* 画面全体を覆う */
    background-repeat: no-repeat !important; /* 繰り返さない */
    width: 100vw !important; /* 画面の横幅いっぱい */
    margin-left: calc(50% - 50vw) !important; /* 中央寄せ */
    position: relative !important;
    padding: 100px 0 !important; /* 上下の余白 */
}

/* 背景画像の上に暗いオーバーレイを追加（文字を読みやすくする） */
.sib-oltana-full-hero-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* 黒い半透明オーバーレイ */
    z-index: 1;
}

/* テキストをオーバーレイの上に表示 */
.sib-oltana-full-hero-bg .sib-hero-container {
    position: relative;
    z-index: 2;
}
.sib-lead-copy1 {
	padding: 35px !important;
	background: rgba(255,255,255,0.7);
    font-size: 24px !important;
    line-height: 1.8 !important;
    color: #000000 !important;
    font-family: "Helvetica Neue", Arial, sans-serif !important;
}
/* スマホ表示の調整 */
@media (max-width: 767px) {
    /* メインビジュアル全体 */
    .sib-oltana-full-hero-bg {
        padding: 60px 0 !important; /* 上下の余白を減らす */
        background-attachment: scroll !important; /* スマホでは固定背景を解除（パフォーマンス向上） */
        min-height: auto !important;
    }
    
    /* コンテナの余白調整 */
    .sib-oltana-full-hero-bg .sib-hero-container {
        padding: 0 20px !important; /* 左右の余白 */
    }
    
    /* 大きいテキスト（Osaka production company） */
    .sib-huge-text1 {
        font-size: 40px !important; /* 55px → 40px に縮小 */
        margin-bottom: 15px !important;
        line-height: 1.2 !important;
    }
    
    /* H1タイトル */
    .sib-h1-title1 {
        font-size: 20px !important; /* 24px → 20px に縮小 */
        margin-bottom: 20px !important;
        line-height: 1.5 !important;
    }
    
    /* リードコピー（3つの特徴） */
    .sib-lead-copy1 {
        font-size: 14px !important; /* 24px → 14px に縮小 */
        line-height: 1.8 !important;
    }
	/* 「.single-post」を先頭に付けることで、ブログ記事（投稿）のみに限定します */
.single-post h1#oltanaPostTitle.ol-article__title {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-break: break-all !important;
    text-align: left !important;
    line-height: 1.5 !important;
    /* PCでの表示幅制限 */
    padding-left: calc((100% - 1200px) / 2) !important;
    padding-right: calc((100% - 1200px) / 2) !important;
}
}	
/* スマホ用：投稿ページのみ余白を調整 */
@media screen and (max-width: 1240px) {
    .single-post h1#oltanaPostTitle.ol-article__title {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}
/* 制作事例ボタン */
	.button a {
    background: #eee;
    border-radius: 9999px;
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: auto;
    padding: 20px 65px;
    font-family: "Noto Sans Japanese";
    text-decoration: none;
    color: #333;
    line-height: 1.8;
    transition: 0.3s ease-in-out;
    font-weight: 500;
}
	.wp-element-caption{
	text-align: center;
	font-size: smaller;
}

	/* is-style-fillのボタンにホバー効果を追加 */
.wp-block-button.is-style-fill .wp-block-button__link:hover {
    background-color: #696969; /* ホバー時の背景色 (例: グレー) */
    color: white;              /* ホバー時のテキスト色 */
    transform: translateY(-3px); /* わずかに上に移動 */
    transition: all 0.3s ease; /* 効果を滑らかにするためのトランジション */
}

	/* 関連記事 */
.button a:after {
  content: "";
  position: absolute;
  top: 50%;
  bottom: 0;
  right: 2rem;
  font-size: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: right 0.3s;
  width: 6px;
  height: 6px;
  border-top: solid 2px currentColor;
  border-right: solid 2px currentColor;
  transform: translateY(-50%) rotate(45deg);
}
.button a:hover {
  background: #dcdcdc;
  color: #FFF;
}
.button a:hover:after {
  right: 1.4rem;
}
.button_con {
	margin-top: 30px;
	text-align: center;
}
	.container .img .bgImg {
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
  height: 500px;
  width: 66%;
  object-fit: cover;
}
	
	.bg{
width: 100%;
background-size: cover;
background-repeat:repeat;
background-position:center center;
}
.post-connection{
text-align:left;
border-bottom: 1px solid #4a4a4a;
width: 100%;
padding:0 0 5px 0;
margin:40px 0 20px 0;
}
.post-connection::before{
content: "";
}
.related-post article{
width: 100%;
padding: 0;
display: flex;
margin-bottom:30px;
}
.related-post article .imgtxt{
width: 30%;
margin:0;
}
.related-post article .imgtxt .img{
margin: 0;
width: 100%;
}
.related-post article .ttl{
padding-left:20px;
}
.related-post h2{
padding: 10px 0;
font-size: 15px;
background-color:inherit;
border: none !important;
font-weight: bold;
margin-top:0;
}
.related-post .title a{
font-weight:bold;
font-size: 15px;
}
.related-post p{
margin: 0;
}
.related-post a{
font-weight: normal;
color: #333;
}
@media screen and (max-width:768px){
.related-post .title a{
font-weight:bold;
font-size: 14px;
}
	}
/* Max Mega Menu調整 */
	/* これで動かなければ、CSSの記述ミスが濃厚です */
@media screen and (min-width: 1025px) {
    header div[class*="inner"], 
    header div[class*="container"] {
        display: flex !important;
        justify-content: flex-end !important;
    }

    header div[class*="left"],
    header div[class*="logo"] {
        margin-right: auto !important;
    }

    header div[class*="center"],
    header nav {
        margin-left: 0 !important;
        margin-right: 20px !important;
        flex: none !important;
    }

    header div[class*="right"] {
        margin-left: 0 !important;
        flex: none !important;
    }
}

/* スマホの時、Max Mega Menuを完全に消し去る（干渉防止） */
@media (max-width: 1024px) {
    #mega-menu-wrap-primary, 
    .mega-menu-toggle,
    #mega-menu-max_mega_menu_1 {
        display: none !important;
    }
}
/* --- 閉じボタンを効かせるための最終修正 --- */

@media (max-width: 1024px) {
    /* 1. 邪魔をしているMax Mega Menuの「透明な膜」を完全に排除する */
    #mega-menu-wrap-primary, 
    .mega-menu-toggle, 
    #mega-menu-max_mega_menu_1,
    .mega-menu-wrap {
        display: none !important;
        pointer-events: none !important; /* クリックを透過させる */
        z-index: -1 !important; /* 背後に隠す */
    }

    /* 2. OLTANAのメニュー本体を確実に前面へ */
    .ol-header__nav {
        z-index: 999998 !important; /* 邪魔な膜より上に */
    }

    /* 3. 【最重要】「×」ボタンを最前面へ（これで押せるようになります） */
    .ol-sp-menu-close-btn {
        display: flex !important;
        z-index: 999999 !important; /* サイト内で一番上に配置 */
        cursor: pointer !important;
        pointer-events: auto !important; /* 確実にクリックに反応させる */
    }
}
	@media screen and (min-width: 992px) {
    /* 1. 全体の基準 */
    #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 {
        position: relative !important;
    }

    /* 2. 親の基準解除 */
    #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 li.mega-menu-item#mega-menu-item-7043 {
        position: static !important;
    }

    /* 3. サブメニュー本体：通常時もホバー時も位置を完全固定 */
    #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 li.mega-menu-item#mega-menu-item-7043 > ul.mega-sub-menu,
    #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 li.mega-menu-item#mega-menu-item-7043:hover > ul.mega-sub-menu {
        display: flex !important;
        justify-content: center !important;
        position: absolute !important;
        
        /* 画面中央に固定し、JSによる書き換えを禁止する */
        left: 0 !important;
        right: 0 !important;
        margin-left: auto !important;
        margin-right: auto !important;
        transform: none !important; /* アニメーションによる移動を無効化 */
        
        width: 1140px !important;
        min-width: 1140px !important;
        max-width: 1140px !important;
        top: 100% !important;
        
        padding: 50px 0 !important;
        background: #ffffff !important;
        box-shadow: 0 15px 35px rgba(0,0,0,0.1) !important;
        border: none !important;
        border-radius: 0 0 10px 10px !important;
        z-index: 9999 !important;
    }
		}

    /* 4. 項目の整列 */
    #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 li.mega-menu-item#mega-menu-item-7043 > ul.mega-sub-menu > li.mega-menu-item {
        flex: 0 0 200px !important;
        width: 200px !important;
        list-style: none !important;
    }

/* 5. リンクの設定（文字は常に中央寄せ ＆ 背景色ホバー復活） */
    #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 li.mega-menu-item#mega-menu-item-7043 > ul.mega-sub-menu > li.mega-menu-item a.mega-menu-link {
        display: block !important;
        width: 100% !important;
        padding: 25px 0 !important;
        text-align: center !important; 
        font-weight: bold !important;
        opacity: 1 !important;
        color: #00030a !important;
        transition: background 0.2s ease !important; /* ふわっと色を変える */
    }

    /* ホバーした時に背景色をつける */
    #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 li.mega-menu-item#mega-menu-item-7043 > ul.mega-sub-menu > li.mega-menu-item a.mega-menu-link:hover {
        background-color: #f8f8f8 !important; /* ここでお好みの色を指定 */
        color: #00030a !important;
        opacity: 1 !important;
    }
	
	.header {
  background-color: #ededed;
}
.header-list {
  display: flex;
  justify-content: center;
}
.header-item:hover {
  background-color: #ededed;
}
.header-item a {
  color: #fff;
  display: block;
  padding: 20px;
}
.megaMenu {
  background-color: #ededed;
  left: 0;
  opacity: 0;
  position: absolute;
  text-align: center;
  visibility: hidden;
  width: 100%;
}
.megaMenu-list {
  padding-bottom: 30px;
  padding-top: 30px;
}
.megaMenu-item {
  display: inline-block;
}
/* メニューをhoverした時のスタイル */
.header-item:hover .megaMenu {
  opacity: 1;
  visibility: visible;
}
.zennhaba{
	width: 100%;
}

.alignfull{
  width:100vw;
  margin-right:calc(50% - 50vw);
  margin-left:calc(50% - 50vw);
}
		/* 1. 表示設定（位置はテーマのデフォルトに任せる） */
.ol-firstview__scroll {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
    /* レイアウト計算からアニメーションを切り離す */
    will-change: opacity;
}

/* 2. 矢印（縦線）のベース */
.ol-firstview__scroll::before,
.ol-firstview__scroll::after {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    bottom: -40px !important; /* 元の位置に戻しました */
    left: 50% !important;
    width: 1px !important;
    height: 30px !important;
    background-color: #ffffff !important;
    transform: translateX(-50%) !important;
    /* 基準点をトップに固定（これがCLS対策のキモです） */
    transform-origin: top center !important;
    filter: drop-shadow(1px 1px 2px rgba(0,0,0,0.8));
}

/* 3. アニメーション（シンプル化） */
.ol-firstview__scroll::after {
    /* CLSの原因になる複雑な動きを排除し、シンプルな伸縮のみに */
    animation: ol-scroll-line-simple 2s infinite !important;
}

@keyframes ol-scroll-line-simple {
    0% { transform: translateX(-50%) scaleY(0); opacity: 0; }
    50% { transform: translateX(-50%) scaleY(1); opacity: 1; }
    100% { transform: translateX(-50%) scaleY(1); opacity: 0; }
}
		
	/* 会社概要ページ（スラッグがcompanyの場合）の調整 */
.page-id-company .entry-content {
    background-color: #000 !important; /* 背景を黒に */
    color: #fff !important; /* 文字を白に */
    padding: 60px 20px !important;
}

.page-id-company table {
    border-color: #333 !important; /* 表の線を暗めにする */
    width: 100% !important;
}

.page-id-company th {
    width: 30% !important;
    color: #999 !important; /* ラベル側を少しグレーに */
    border-bottom: 1px solid #333 !important;
}

.page-id-company td {
    border-bottom: 1px solid #333 !important;
}
		/* 画面幅1200px以下（タブレット横向き〜スマホ） */
@media screen and (max-width: 1200px) {
    /* 1. お知らせセクションの「巨大な空白」を消す */
    #ol-section-news, 
    .news-section,
    section[id^="ol-section"] {
        height: auto !important; /* JSによる高さ固定を解除 */
        min-height: 0 !important;
        max-height: none !important;
        padding-bottom: 40px !important;
    }

    /* 2. CONTACT USセクションが上に突き抜けるのを防ぐ */
    #olContact, 
    .ol-contact__section {
        margin-top: 0 !important; /* 食い込み設定を完全に削除 */
        position: relative !important;
        top: 0 !important;
        display: block !important;
        clear: both !important;
    }

    /* 3. タブレット横向き時にコンテンツが横に広がって崩れるのを防ぐ */
    .ol-contact__content {
        width: 90% !important;
        max-width: 800px !important;
        margin: 0 auto !important;
        padding: 40px 20px !important;
    }
}
html body:not(.home) .ol-footer {
    padding-top: 0 !important;
}
		@media screen and (max-width: 1024px) {
    /* 1. 元々あった邪魔なボタンやプラグインの残骸をすべて消去 */
    .ol-sp-menu-btn-wrap, 
    .ol-sp-menu-btn, 
    .mega-menu-toggle {
        display: none !important;
    }

    /* 2. 自作メニューの中身を強制的に「黒文字・縦並び」にする */
    #custom-nav ul {
        display: block !important;
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    #custom-nav li {
        display: block !important;
        width: 100% !important;
        border-bottom: 1px solid #eee !important;
    }

    #custom-nav a {
        display: block !important;
        padding: 20px !important;
        color: #000000 !important; /* 絶対に黒文字 */
        font-size: 16px !important;
        font-weight: bold !important;
        text-decoration: none !important;
        background: none !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    /* Max Mega Menuがスマホで文字を消す設定を上書き */
    #custom-nav .mega-menu-item > a {
        display: block !important;
        color: #000 !important;
    }
}

/* --- PC版の表示を維持する --- */
@media screen and (min-width: 1025px) {
    .pc-only-nav { display: block !important; }
    .sp-only-flex, #custom-nav { display: none !important; }
}

/* --- スマホ版の設定 --- */
@media screen and (max-width: 1024px) {
    .pc-only-nav { display: none !important; } /* スマホではPC用を隠す */
    
    .sp-only-flex {
        display: flex !important;
        position: fixed; top: 15px; right: 15px; z-index: 9999999;
        width: 50px; height: 50px; background: #000;
        flex-direction: column; justify-content: center; align-items: center;
        border-radius: 4px;
    }
    .btn-line { width: 25px; height: 2px; background: #fff; margin: 3px 0; transition: 0.3s; }

    #custom-nav {
        display: none; position: fixed; top: 0; left: 0; 
        width: 100%; height: 100vh; background: #fff; 
        z-index: 9999998; padding-top: 80px; overflow-y: auto;
    }
    #custom-nav.is-open { display: block !important; }

    /* 文字を黒く、リストを整える */
    #custom-nav ul { list-style: none !important; padding: 0 20px !important; }
    #custom-nav li a {
        display: block !important;
        color: #000 !important;
        padding: 15px 0 !important;
        border-bottom: 1px solid #eee !important;
        text-decoration: none !important;
        font-weight: bold !important;
    }
}
		/* --- 1. ヘッダー：中身が揃うまで枠を維持する --- */
.ol-header__main {
    display: flex !important;
    align-items: center !important; /* 読み込み前から配置を中央に固定 */
    min-height: 60px !important; /* 潰れないための最低限の担保 */
}

/* --- 2. ロゴ：サイズだけ伝え、高さは自動計算に任せる --- */
.ol-header__title-logo img,
img[src*="SIBLAB_LOGO02.png"] {
    width: 200px !important;
    height: auto !important;
    display: block !important;
}

/* --- 3. 記事タイトル：高さをpx固定せず、ゆとりで吸収する --- */
.ol-article__title {
    line-height: 1.5 !important; /* 行間を広めに固定して、フォント差を吸収 */
    margin-top: 15px !important;
    margin-bottom: 20px !important;
    display: block !important;
    min-height: 1.5em !important; /* 「1行分」の最低高さを文字単位(em)で予約 */
}

/* --- 4. カテゴリー：タイトルの上の揺れを防止 --- */
.ol-article__header .ol-article__category {
    display: flex !important;
    min-height: 1.5em !important; /* 文字1.5個分の高さを予約 */
    margin-bottom: 10px !important;
}

/* --- 5. アイキャッチ画像：ブラウザ標準の比率計算を利用 --- */
.wp-singular .wp-post-image {
    width: 100% !important;
    height: auto !important;
aspect-ratio: 16 / 9;
	display: block !important;
    background-color: #f0f0f0;
}

/* --- 6. 共通設定 --- */
#mega-menu-wrap-max_mega_menu_1 .mega-sub-menu {
    display: none !important;
    visibility: hidden;
}

		/* 1. ボタン本体（PC・スマホ共通） */
#floating-toc-btn {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    z-index: 999999 !important;
    width: 60px !important; /* 65pxから少しコンパクトに */
    height: 60px !important;
    background: #222 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3) !important;
    transition: all 0.3s ease !important;
    border: none !important;
}

/* ボタン内の「目次」の文字サイズを少し小さく */
.toc-text {
    color: #fff !important;
    font-size: 13px !important; /* 15pxから縮小 */
    font-weight: bold !important;
    letter-spacing: 1px !important;
    line-height: 1 !important;
    pointer-events: none !important;
}

/* 2. 展開される目次の箱 */
#floating-toc-content {
    display: none !important;
    position: absolute !important;
    bottom: 75px !important;
    right: 0 !important;
    width: 260px !important; /* 幅も少しスリムに */
    max-height: 60vh !important;
    background: #fff !important;
    border: 1px solid #ddd !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2) !important;
    padding: 18px !important;
    overflow-y: auto !important;
    cursor: default !important;
}

#floating-toc-btn.active #floating-toc-content {
    display: block !important;
}

/* 目次内のタイトル「目次」を小さく */
.floating-toc-title {
    font-weight: bold !important;
    font-size: 14px !important; /* 16pxから縮小 */
    color: #333 !important;
    margin: 0 0 10px 0 !important;
    border-bottom: 2px solid #222 !important;
    padding-bottom: 6px !important;
    text-align: left !important;
}

/* 3. リスト内の文字サイズ（階層デザイン） */
#floating-toc-content nav ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

#floating-toc-content a {
    display: block !important;
    padding: 7px 0 !important;
    color: #444 !important;
    text-decoration: none !important;
    font-size: 12.5px !important; /* 14pxから縮小：PC時のメインサイズ */
    border-bottom: 1px solid #f0f0f0 !important;
}

/* 段落（インデント）設定 */
#floating-toc-content li.ez-toc-page-2,
#floating-toc-content li.ez-toc-heading-level-3 {
    padding-left: 1.2em !important;
}

#floating-toc-content li.ez-toc-page-3,
#floating-toc-content li.ez-toc-heading-level-4 {
    padding-left: 2.4em !important;
}

/* 4. スマホ専用設定（さらに文字を小さく） */
@media screen and (max-width: 767px) {
    #floating-toc-btn {
        width: 50px !important; /* さらにコンパクトに */
        height: 50px !important;
        bottom: 85px !important;
        right: 15px !important;
    }

    .toc-text {
        font-size: 11px !important; /* スマホボタン内の文字 */
    }

    #floating-toc-content {
        width: 85vw !important;
        max-width: 280px !important;
        bottom: 60px !important;
        padding: 15px !important;
    }

    /* スマホ時の目次リスト文字サイズ */
    #floating-toc-content a {
        font-size: 12px !important; 
    }
}

@media screen and (min-width: 992px) {
    .ol-header__inner {
        justify-content: flex-end !important;
    }
    
    .ol-header__title-anchor {
        margin-right: auto !important;
    }
    
    .ol-header__main {
        margin-right: 30px !important;
    }
}
@media screen and (max-width: 767px) {
    h2.wp-block-heading,
    h2.ol-heading {
        margin-bottom: 40px !important;
    }
}
/* oltana-iconsのCLS対策 */
.oltana-icons i,
[class^="ol-icon-"] i,
[class*=" ol-icon-"] i {
    display: inline-block !important;
    width: 1em !important;
    height: 1em !important;
    font-size: inherit !important;
}
.ol-article__sns-anchor {
    white-space: nowrap !important;
}