@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;
}


/* ================================================
   グローバルメニューフォント
   ================================================ */
/* 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;
}
@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;
}

/* ================================================
   ブログヒーロー
   ================================================ */

.siblab-blog-hero {
	position: relative;
	display: flex;
	align-items: stretch;
	width: 100%;
	min-height: 400px;
	background: rgba(0, 9, 22, 0.84);
	overflow: hidden;
}

.siblab-blog-hero__watermark {
	position: absolute;
	top: 50%;
	left: -20px;
	transform: translateY(-50%);
	font-family: "Hiragino Mincho ProN", serif;
	font-size: 300px;
	font-weight: 300;
	letter-spacing: 8px;
	color: rgba(255, 255, 255, 0.035);
	white-space: nowrap;
	pointer-events: none;
	user-select: none;
	line-height: 1;
}

.siblab-blog-hero__left {
	position: relative;
	z-index: 2;
	width: 50%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding-top: 56px;
	padding-bottom: 56px;
	padding-right: 48px;
	padding-left: max(clamp(42px, 6vw, 66px), calc((100vw - 1180px) / 2));
}

.siblab-blog-hero__meta {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 24px;
}

.siblab-blog-hero__category {
	display: inline-block;
	background: #fff;
	color: rgba(0, 9, 22, 1);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1px;
	padding: 5px 16px;
	border-radius: 100px;
	text-decoration: none;
	transition: opacity 0.2s;
}

.siblab-blog-hero__category:hover {
	opacity: 0.8;
}

.siblab-blog-hero__date {
	font-size: 13px;
	color: rgba(255, 255, 255, 0.4);
	letter-spacing: 0.5px;
}

.siblab-blog-hero__accent-line {
	width: 32px;
	height: 2px;
	background: rgba(255, 255, 255, 0.5);
	margin-bottom: 22px;
}

.siblab-blog-hero__title {
	font-size: 22px;
	font-weight: 900;
	color: #fff;
	line-height: 1.6;
	letter-spacing: -0.3px;
	margin-bottom: 28px;
}

.siblab-blog-hero__title::before,
.siblab-blog-hero__title::after {
	display: none !important;
}

.siblab-blog-hero__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	padding: 0;
	margin: 0;
}

.siblab-blog-hero__tag {
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: rgba(255, 255, 255, 0.55);
	font-size: 11px;
	padding: 4px 12px;
	border-radius: 4px;
	letter-spacing: 0.3px;
}

.siblab-blog-hero__right {
	position: relative;
	z-index: 2;
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 40px 48px;
}

.siblab-blog-hero__img-frame {
	position: relative;
	width: 100%;
	max-width: 520px;
	aspect-ratio: 16 / 9;
	border-radius: 8px;
	overflow: hidden;
	box-shadow:
		0 0 0 1px rgba(255, 255, 255, 0.08),
		0 24px 60px rgba(0, 0, 0, 0.5);
}

.siblab-blog-hero__img-frame img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.siblab-blog-hero__img-frame::before {
	content: '';
	position: absolute;
	inset: 0;
	width: 80px;
	background: linear-gradient(90deg, rgba(0, 9, 22, 0.84), transparent);
	z-index: 1;
	pointer-events: none;
}

.siblab-blog-hero__img-frame::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: 8px;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
	pointer-events: none;
	z-index: 2;
}

.siblab-blog-hero + .ol-article__body {
	margin-top: 2rem;
}

/* ================================================
   レスポンシブ
   ================================================ */

@media screen and (max-width: 1024px) {
	.siblab-blog-hero__left {
		padding-top: 40px;
		padding-bottom: 40px;
		padding-right: 32px;
		padding-left: clamp(42px, 6vw, 66px);
	}
	.siblab-blog-hero__title {
		font-size: 20px;
	}
	.siblab-blog-hero__watermark {
		font-size: 200px;
	}
}

@media screen and (max-width: 768px) {

	.siblab-case-hero {
		grid-template-columns: 1fr;
	}

	.siblab-case-hero__left {
		padding: 48px 24px;
	}

	.siblab-case-hero__title {
		font-size: 1.5rem;
	}

	.siblab-case-hero__right {
		padding: 0 24px 40px;
		overflow: hidden;
	}

	.siblab-case-hero__screen {
		max-width: 100%;
	}

	.siblab-blog-hero {
		flex-direction: column;
		min-height: auto;
	}

	.siblab-blog-hero__watermark {
		font-size: 120px;
	}

	.siblab-blog-hero__left {
		width: 100%;
		padding-top: 40px;
		padding-bottom: 32px;
		padding-right: 24px;
		padding-left: clamp(27px, 6vw, 36px);
	}

	.siblab-blog-hero__title {
		font-size: 18px;
	}

	.siblab-blog-hero__right {
		width: 100%;
		padding: 0 24px 40px;
		justify-content: flex-start;
	}

	.siblab-blog-hero__img-frame {
		max-width: 100%;
	}

	.siblab-blog-hero__img-frame::before {
		display: none;
	}
}

/* お知らせセクション: is-active時にvisibility:hiddenを解除
   親テーマのCSSがvisibility:hiddenを設定しているが、
   アニメーションのキーフレームにvisibility:visibleが含まれていないため
   アニメーション後も非表示になる問題を修正 */
body:not(.customize-partial-edit-shortcuts-shown) .js-news-content.is-active {
    visibility: visible;
}
/* =============================================
   提供サービス セクション
   ============================================= */

/* セクション背景 */
.services-section-bg {
  background: #f0f4f8;
}
 
/* セクション全体 */
.services-section {
  font-family: inherit;
}
 
/* 上下余白のみ追加（左右はol-content-frameのclampに任せる） */
.services-section .ol-content-frame {
  padding-top: 80px;
  padding-bottom: 80px;
}
 
/* テーマのh2ボーダーを無効化 */
.services-section h2.section-title {
  border-bottom: none;
}
.services-section h2.section-title::after {
  display: none;
}
 
.services-section .section-label {
  font-family: inherit;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: #0d1b2a;
  font-weight: 600;
  margin-bottom: 12px;
  text-transform: uppercase;
  opacity: 0.5;
}
 
.services-section h2.section-title {
  font-family: inherit;
  font-size: 36px;
  font-weight: 700;
  color: #0d1b2a;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
 
.services-section .section-divider {
  width: 40px;
  height: 3px;
  background: #0d1b2a;
  margin: 20px 0 56px;
  border-radius: 2px;
}
 
/* グリッド */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
 
/* カード */
.service-card {
  font-family: inherit;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.28s cubic-bezier(.25, .8, .25, 1),
              box-shadow 0.28s cubic-bezier(.25, .8, .25, 1);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
  position: relative;
}
 
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}
 
/* 画像エリア */
.card-image {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #0d1b2a;
}
 
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
  transition: opacity 0.3s, transform 0.4s;
}
 
.service-card:hover .card-image img {
  opacity: 0.92;
  transform: scale(1.04);
}
 
/* プレースホルダー（写真がない場合） */
.card-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #0a1628 0%, #0d2240 50%, #1e3a52 100%);
}
 
.card-image-placeholder::before {
  content: '';
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.06);
  top: -80px;
  right: -80px;
  z-index: 1;
}
 
.card-image-placeholder::after {
  content: '';
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.05);
  bottom: -50px;
  left: -30px;
  z-index: 1;
}
 
/* アイコンリング */
.icon-ring {
  position: relative;
  z-index: 3;
  width: 108px;
  height: 108px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  box-shadow:
    0 0 0 12px rgba(255, 255, 255, 0.04),
    0 0 32px rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(2px);
  transition: box-shadow 0.3s, border-color 0.3s;
}
 
.service-card:hover .icon-ring {
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow:
    0 0 0 14px rgba(255, 255, 255, 0.06),
    0 0 48px rgba(255, 255, 255, 0.1);
}
 
.card-image-placeholder svg.icon {
  width: 52px;
  height: 52px;
  stroke: rgba(255, 255, 255, 0.95);
  fill: none;
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
 
/* サービス番号バッジ */
.service-badge {
  font-family: inherit;
  position: absolute;
  top: 20px;
  left: 20px;
  background: #0d1b2a;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 5px 12px;
  border-radius: 20px;
  text-transform: uppercase;
}
 
/* カード本文 */
.card-body {
  padding: 28px 32px 32px;
}
 
.card-body .card-title {
  font-family: inherit;
  font-size: 22px;
  font-weight: 700;
  color: #0d1b2a;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  line-height: 1.4;
}
 
.card-body .card-desc {
  font-family: inherit;
  font-size: 14px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 28px;
}
 
/* CTAエリア */
.card-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #f0f0f0;
  padding-top: 20px;
}
 
.card-cta .cta-link {
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: #0d1b2a;
  letter-spacing: 0.04em;
}
 
.card-cta .cta-btn {
  width: 40px;
  height: 40px;
  background: #0d1b2a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
  flex-shrink: 0;
}
 
.service-card:hover .cta-btn {
  background: #1a3a5c;
  transform: scale(1.1);
}
 
.card-cta .cta-btn svg {
  width: 16px;
  height: 16px;
  stroke: #fff;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
 
/* レスポンシブ */
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  .services-section .ol-content-frame {
    padding-top: 56px;
    padding-bottom: 56px;
  }
  .services-section h2.section-title {
    font-size: 28px;
  }
}
body.blog .ol-archive__title.ol-heading-wrapper,
body.archive .ol-archive__title.ol-heading-wrapper {
  display: none;
}