/*
Theme Name:   lightning-custom
Template:     lightning
*/

body,html{
	--wp--preset--font-family--system-font: "Noto Sana JP", sans-serif;
}


.site-body{
	padding-top:0;
}


/* H1全体の基本スタイル */
.fv-heading {
  color: #fff;
  text-shadow:
     0 2px 6px rgba(18, 163, 216, 0.25);
     0 0 1px rgba(18, 163, 216, 0.4);
  font-size: 52px;
  line-height: 1.4;
}
.fv-heading .big {
  font-size: 80px;
  line-height: 1;
}
@media screen and (max-width: 768px) {
  .fv-heading {
    font-size: 30px;
    line-height: 1.4;
  }
  .fv-heading .big {
    font-size: 52px;
  }
}








/* ロゴを常に表示する */
.header_scrolled .header-top,
.header_scrolled .site-header-logo,
.header_scrolled .site-header-sub,
.header_scrolled .vk-campaign-text{
    display: block !important;
}



/* 通常時・スクロール時 共通 */
.header_scrolled header.site-header,
header.site-header{
  /* 白背景・透過率65%（少し軽くなる） */
  background-color: rgba(255,255,255,0.65);
}


/* ----------------------
    モーダル start
---------------------- */
/* モーダルを開くボタン */
/* ---- Full Screen Modal ---- */
.full-modal {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,.75);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    backdrop-filter: blur(5px);
}

.full-modal.active {
    display: flex;
}

.full-modal-inner {
    width: min(90%, 900px);
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    animation: fadeIn .3s ease;
    position: relative;
}

/* Close Button */
.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 2rem;
    border: none;
    cursor: pointer;
    background: none;
}

body.modal-open {
    overflow: hidden;
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* ---------------------- モーダル end */


/* ----------------------
    複数モーダル start
---------------------- */
/* モーダルを開くボタン */
/* ---- Full Screen Modal ---- */
.global_modal {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,.75);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    backdrop-filter: blur(5px);
}

.global_modal.active {
    display: flex;
}

.global_modal .modal_inner {
    width: min(90%, 600px);
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    animation: fadeIn .3s ease;
    position: relative;
}

/* Close Button */
.modal_close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 2rem;
    border: none;
    cursor: pointer;
    background: none;
}

body.modal_open {
    overflow: hidden;
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* ---------------------- モーダル end */



/* Lightning：ページタイトル帯を非表示 */
.page-header,
.vk_pageHeader {
  display: none;
}

/* Lightning：パンくずリストを非表示 */
.breadcrumb,
#breadcrumb,
.vk_breadcrumb,
.vk-breadcrumb {
  display: none;
}

/* 強制：ページタイトル帯＆パンくずを消す */
.page-header,
#breadcrumb,
.breadcrumb,
.vk_pageHeader,
.vk_breadcrumb,
.vk-breadcrumb{
  display:none !important;
}



/*
Theme Name:   lightning-child
Template:     lightning
*/

/* モーダル全体 */
.f-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: none;
}

.f-modal.f-is-open {
    display: block;
}

/* 背景 */
.f-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.6);
    backdrop-filter: blur(5px);
}

/* ダイアログ */
.f-modal__dialog {
    position: relative;
    max-width: 920px;
    width: calc(100% - 32px);
    margin: 40px auto;
    padding: 24px;
    background: #12a3d8;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,.25);
    outline: none;

    animation: fFadeIn 0.25s ease;
}

/* 閉じるボタン */
.f-modal__close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 999px;
    background: rgba(0,0,0,.06);
    cursor: pointer;
    font-size: 22px;
    line-height: 40px;
    z-index: 999;
    color:#fff;
}

/* 中身切り替え */
.f-modal__panel {
    display: none;
}

.f-modal__panel.f-is-active {
    display:flex;
    align-items: center;
    color:#fff;
    gap:20px;
}



  /* コンテンツ */
.f-modal__title {
    margin: 0 0 10px;
    font-size: 18px;
    border-bottom: none;
    margin-block-start: 0;
    margin-block-end: 0;
}
.f-modal__title:after {
    border-bottom: none;
    content:attr(data-subtitle);
    overflow: inherit;
    position: relative;
    bottom: initial;
    font-size: 12px;
    padding-top: 10px;
    width: 100%;
}
.f-modal__subtitle{
    margin-block-start: 0;
    margin-block-end: 0;
}

.f-modal__text {
    margin: 0 0 14px;
    line-height: 1.7;
    margin-block-start: 0;
    margin-block-end: 0;

}

.f-modal__img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* モバイル */
@media (max-width: 768px) {
    .f-modal__dialog {
        margin: 16px auto;
        padding: 16px;
    }
}

/* 既存 fadeIn と衝突しない */
@keyframes fFadeIn {
    from { opacity: 0; transform: translateY(10px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}




/* ハンバーガーメニュー中央揃え */
.vk-mobile-nav nav ul li{
	text-align:center;
}

/* ハンバーガーメニューライン削除 */
.vk-mobile-nav nav>ul{

}
.vk-mobile-nav .widget_nav_menu ul li a,
.vk-mobile-nav nav ul li a{
	border: none;
}


.vk-mobile-nav nav ul li a{
padding: 1.5em .5em;
}




/* ===== モーダル中身を2カラム（左：写真 / 右：文章）にする ===== */
.f-modal__panel.f-is-active .f-modal__content{
  display: grid;
  grid-template-columns: 1fr 1.1fr; /* 左=写真 / 右=文章（少し広め） */
  gap: 32px;
  align-items: center;
}

/* 写真をカラムいっぱいに */
.f-modal__panel.f-is-active .f-modal__img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px; /* 任意 */
}

/* SPは縦並びに戻す */
@media (max-width: 768px){
  .f-modal__panel.f-is-active .f-modal__content{
    grid-template-columns: 1fr;
  }
}


/* =========================
   ヘッダー：通常ナビ文字色
========================= */
.global-nav-list > li > a{
  color: #12a3d8; /* ← 好きな色に変更 */
  font-weight: 300; /* 標準ウェイト */
}

/* hover時（任意） */
.global-nav-list > li > a:hover{
  opacity: 0.7;
}


/* スクロール時のヘッダーnavのサイズ調整 */
.header_scrolled .global-nav-list{
    align-items: center;
}
/* ヘッダーnavのお問い合わせボタン */
.global-nav-list>li:last-child{ /* .global-nav-list>liの最後の要素に適用しています */
    background: #12a3d8;
}
.global-nav-list>li:last-child a{ 
    color: #FFF;
}


.global-nav-list>li:last-child:before{
    background: #06aeeb;
    border:none;
    height:100%;
    transition: all .3s ease-out;
}



/* VK Blocksのボタン（a.vk_button_link）に矢印PNGを追加 */
a.vk_button_link.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* 文字の後ろに矢印 */
a.vk_button_link.btn::after{
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-left: 10px;
  background: url("http://fabic11.com/wp-content/uploads/2026/02/img_cta_contact.png") no-repeat center / contain;

  transition: transform .25s ease;
}

/* hoverで少し右へ */
a.vk_button_link.btn:hover::after{
  transform: translateX(6px);
}



/* =========================
   矢印つきCTA（このボタンだけ）
========================= */
.arrow-blue-hover a.vk_button_link.btn{
  display: inline-flex;
  align-items: center;
  position: relative;
}

/* 通常時：白い矢印 */
.arrow-blue-hover a.vk_button_link.btn::after{
  content: "";
  width: 18px;
  height: 18px;
  margin-left: 10px;
  background: url("https://fabic11.com/wp-content/uploads/2026/02/img_cta_contact.png") no-repeat center / contain;
  transition: transform .25s ease, background-image .25s ease;
}

/* ホバー時：青い矢印＋少し右へ */
.arrow-blue-hover a.vk_button_link.btn:hover::after{
  background-image: url("https://fabic11.com/wp-content/uploads/2026/02/img_cta_aboutfabic.png");
  transform: translateX(6px);
}



/* =========================
   不要なフッター要素を削除
========================= */

/* ① フッター上部の自動ナビを削除 */
.site-footer nav.footer-nav{
  display: none !important;
}

/* ② Lightning自動生成のコピーライト帯を削除 */
.site-footer .container.site-footer-copyright{
  display: none !important;
}


/* =========================
   Footer（ウィジェット前提・最終版）
   上：白（ロゴ＋メニュー）
   下：青帯（コピーライト）
========================= */

/* フッター全体は白 */
.site-footer,
footer.site-footer{
  background:#fff;
  padding:0;
  color:#222;
}

/* Lightningの自動コピーライト（下に二重で出る場合）を消す */
.site-footer .container.site-footer-copyright{
  display:none;
}

/* =========================
   上段：ウィジェットエリア
========================= */
.site-footer .footerWidgetArea{
  padding: 32px 0;
  background:#fff;
}

/* 横並び制御 */
.site-footer .footerWidgetArea .row{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
}

@media (min-width: 768px) {
.container.site-footer-content .row{
    align-items: center;
}
.container.site-footer-content .row > *:nth-child(1) {
	width:30% !important;
	max-width: 30%;
	flex:initial;
}
.container.site-footer-content .row > *:nth-child(2) {
	width:70% !important;
	max-width: 70%;
	flex:initial;
}

.container.site-footer-content .row > *:nth-child(3) {
		width:100% !important;
	max-width: 100%;
	flex:initial;
}

	
.widget.widget_nav_menu .menu{
	display: flex;
	gap:1rem;
	align-items: center;
}


footer .widget_nav_menu>div>ul li{
    font-size: 16px;
}
}

/* フッターメニュー（白背景用） */
.site-footer .widget_nav_menu .menu{
  display:flex;
  gap:24px;
  list-style:none;
  margin:0;
  padding:0;
  flex-wrap:wrap;
}
.site-footer .widget_nav_menu .menu li{
  border:none;
}
.site-footer .widget_nav_menu .menu a{
  color:#222;
  text-decoration:none;
}
.site-footer .widget_nav_menu .menu a:hover{
  opacity:.7;
}

/* =========================
   下段：コピーライト（ウィジェット③）
========================= */
.site-footer .footerWidgetArea .row > *:nth-child(3){
  flex:0 0 100%;
  max-width:100%;
  order:99;
  margin-top:24px;
  padding:16px 12px;
  text-align:center;
  color:#fff;
  position:relative;
}

/* 水色帯を画面幅いっぱい */
.site-footer .footerWidgetArea .row > *:nth-child(3)::before{
  content:"";
  position:absolute;
  left:50%;
  top:0;
  transform:translateX(-50%);
  width:100vw;
  height:100%;
  background:#12a3d8;
  z-index:-1;
}

/* コピーライト文字 */
.site-footer .footerWidgetArea .row > *:nth-child(3) *{
  color:#fff;
  margin:0;
}



/* =========================
   Contact：押せるバッジ画像（右の画像など）
   ========================= */
.contact-badge img{
  transition: transform .15s ease, filter .15s ease;
  transform-origin: center;
  cursor: pointer;
}
.contact-badge:hover img{
  transform: scale(0.96);
}
.contact-badge:active img{
  transform: scale(0.93);
}


/* =========================
   お問い合わせページ：自動タイトル帯・パンくずを非表示
   （page-id-282 が問い合わせページの想定）
   ========================= */
body.page-id-22 .page-header,
body.page-id-22 .breadcrumb,
body.page-id-22 .vk_pageHeader,
body.page-id-22 .vk_breadcrumb,
body.page-id-22 .vk-breadcrumb{
  display: none;
}


/* =========================
   Contact Form 7（このフォームだけ）整形
   ========================= */
.cf7-contact-wrap{
  max-width: 760px;
  margin: 0 auto;
}

/* ラベル（見出し） */
.cf7-contact-wrap > label,
.cf7-contact-wrap .cf7-radio-field .cf7-label{
  display:block;
  margin: 0 0 22px;
  font-weight: 700;
  line-height: 1.5;
  color: #1f2a44; /* 必要ならブランドカラーへ */
}

/* 必須バッジ */
.cf7-contact-wrap .req{
  display:inline-block;
  margin-left: 8px;
  padding: 2px 10px;
  border-radius: 0px;
  font-size: 12px;
  line-height: 1.6;
  font-weight: 700;
  background: #12a3d8;
  color: #fff;
  vertical-align: middle;
}

/* 入力欄共通 */
.cf7-contact-wrap input[type="text"],
.cf7-contact-wrap input[type="email"],
.cf7-contact-wrap input[type="tel"],
.cf7-contact-wrap textarea{
  width:100%;
  box-sizing:border-box;
  margin-top: 10px;
  padding: 14px 16px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  background: #fff;
  font-size: 16px;
  line-height: 1.6;
}

/* プレースホルダー */
.cf7-contact-wrap input::placeholder,
.cf7-contact-wrap textarea::placeholder{
  color:#9aa3ad;
}

/* テキストエリア */
.cf7-contact-wrap textarea{
  min-height: 180px;
  resize: vertical;
}

/* ラジオの並び（縦並び＋余白） */
.cf7-contact-wrap .cf7-radio-field{
  margin: 0 0 22px;
}
.cf7-contact-wrap .cf7-radio-field .wpcf7-list-item{
  display:block;
  margin: 10px 0 0;
}
.cf7-contact-wrap .cf7-radio-field .wpcf7-list-item label{
  font-weight: 500;
  color: #1f2a44;
}

/* チェックボックス（同意） */
.cf7-contact-wrap .cf7-accept{
  margin-top: 6px;
  font-weight: 500;
}
.cf7-contact-wrap .cf7-accept input[type="checkbox"]{
  margin-right: 8px;
  transform: translateY(1px);
}

/* 送信ボタン */
.cf7-contact-wrap input[type="submit"]{
  width: 100%;
  max-width: 520px;
  display:block;
  margin: 28px auto 0;
  padding: 16px 24px;
  border: none;
  border-radius: 999px;
  background: #1f2a44; 
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor:pointer;
}
.cf7-contact-wrap input[type="submit"]:hover{
  opacity: .9;
}

/* バリデーションメッセージ */
.cf7-contact-wrap .wpcf7-not-valid-tip{
  margin-top: 8px;
  font-size: 13px;
}

/* 送信後メッセージ枠 */
.cf7-contact-wrap .wpcf7-response-output{
  margin: 18px 0 0;
  padding: 12px 14px;
  border-radius: 6px;
}


/* ===== ラベル文字を紺 #272D6C + 太字に統一 ===== */
.cf7-contact-wrap label{
  color: #394145 !important;
  font-weight: 500 !important;
}

/* 「お問い合わせについて」見出し等 */
.cf7-contact-wrap .cf7-radio-field .cf7-label{
  color: #394145 !important;
  font-weight: 500 !important;
}

    .site-body {
        padding-bottom: 0;
    }

@media (max-width: 991.98px) {
    .main-section {
        margin-bottom: 0;
    }
}

.company_text{
    text-align:center;
}
@media(min-width:768px) {
    .company_text{
        text-align:left;
    }
}


.global-nav-list>li .global-nav-name {
    font-size: 16px;
}


.company-outline {
  gap: 6px; /* 好きな数値に */
}

@media(max-width:768px){
  .f-modal__panel.f-is-active .f-modal__img{
    display:none;
  }
}


.wp-block-cover-image.has-parallax, .wp-block-cover.has-parallax, .wp-block-cover__image-background.has-parallax, video.wp-block-cover__video-background.has-parallax{
    background-size: contain;
}


.wp-block-cover-image.has-parallax, .wp-block-cover.has-parallax, .wp-block-cover__image-background.has-parallax, video.wp-block-cover__video-background.has-parallax{
    background-size: contain;
}


.wp-block-cover-image.has-parallax, .wp-block-cover.has-parallax, .wp-block-cover__image-background.has-parallax, video.wp-block-cover__video-background.has-parallax{
    min-height: 200px!important;
}
/* 480px以上で適用 */
@media (min-width: 480px) {
    .wp-block-cover-image.has-parallax, .wp-block-cover.has-parallax, .wp-block-cover__image-background.has-parallax, video.wp-block-cover__video-background.has-parallax{
        min-height: 350px!important;
    }
}

/* 992px以上で適用 */
@media (min-width: 992px) {
    .wp-block-cover-image.has-parallax, .wp-block-cover.has-parallax, .wp-block-cover__image-background.has-parallax, video.wp-block-cover__video-background.has-parallax{
        min-height: 600px!important;
    }
}


/* arrow-blue-hover を付けたボタンだけ、ホバー時の文字色を #12a3d8 にする */
.arrow-blue-hover .vk_button_link:hover,
.arrow-blue-hover .vk_button_link:hover .vk_button_link_txt,
.arrow-blue-hover .vk_button_link:hover .vk_button_link_before,
.arrow-blue-hover .vk_button_link:hover .vk_button_link_after,
.arrow-blue-hover .vk_button_link:hover .vk_button_link_subCaption {
  color: #12a3d8 !important;
}



@media screen and (min-width:980px) {
    .br_onoff {
        display: block !important;
    }
}

@media screen and (max-width:979px) {
    .br_onoff {
        display: none !important;
    }
}



.staff_info .wp-block-image{
    width: 100%;
    overflow: hidden;
}
.staff_info .wp-block-image img:hover{
    transform: scale(1.1);
    transition: all .3s ease-in-out;
}