﻿@charset 'UTF-8';
/* ============================================================
   lp_shiroari.css
   シロアリLP専用 CSS
============================================================ */   

/* 挿絵用cssを読み込み */
@import url("./lp_shiroari_illust.css");

/* ============================================================
ページ使用
============================================================ */
/* 白枠シャドウあり、丸角 */
.waku{
  background-color: #FFFFFF;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}


/* ============================================================
セクションごとの指定
============================================================ */

/*****  ★★#section-lpshiroari-fv	【PC】	ファーストビューPC★★  *****/
/* PC */
#section-lpshiroari-fv{
   padding-top: 50px !important;
}


/* =========================
   FV 安心ポイント
========================= */
.lpshiroari-fv-point {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 10px auto;
    background-image: url("https://misono-base.com/cms/wp-content/uploads/2026/09/lp_shiroari_fv_point_bg.png");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
    position: relative;
    top: -60px;
    z-index: -1;
}

.lpshiroari-fv-point .swell-block-columns__inner {
    display: flex;
    align-items: stretch;
    width: 100%;
    margin: 0;
    padding: 0;
}

.lpshiroari-fv-point .swell-block-column {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 1;
    min-width: 0;
    min-height: 68px;

    margin: 0 !important;
    padding: 8px 15px;
}

.lpshiroari-fv-point .swell-block-column img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

/* 区切り線 */
.lpshiroari-fv-point .swell-block-column:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 18%;
    right: 0;
    width: 0;
    height: 64%;
    border-right: 2px dotted #8fb1d8;
}

/* 光るアニメーション */
.glowing-animation a {
	position: relative;
	overflow: hidden;
}

.glowing-animation a::after {
	content: "";
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(
		to right,
		rgba(255, 255, 255, 0) 25%,
		rgba(255, 255, 255, 0.7) 50%,
		rgba(255, 255, 255, 0) 75%
	);
	transform: skewX(-20deg);
	animation: glowing-shine 3s linear infinite;
	pointer-events: none;
}

@keyframes glowing-shine {
	0% {
		left: -100%;
	}
	20% {
		left: 100%;
	}
	100% {
		left: 100%;
	}
}

/* ファーストビュー画像ボタン */

/* for PC */
@media (min-width: 768px) {
    .lp_shiroari_fv_btn_cta {
        position: relative;
        top: -50px;
    }
}

.lp_shiroari_fv_btn_cta a {
	display: inline-block;
	border-radius: 50px;
}

/* ヘッド警告チェック */
#section-lpshiroari-fvhead{
    padding: 0;

    background-image: url("https://misono-base.com/cms/wp-content/uploads/2026/09/bg_warning_h100.jpg");
    background-repeat: repeat-x;
    background-size: auto 100%;

    display: flex;
    align-items: center;
    justify-content: center;
}

/* for PC */
@media (min-width: 768px) {
    #section-lpshiroari-fvhead{
        min-height: 60px;
    }

    #section-lpshiroari-fvhead img{
    max-height: 42px;
    width: auto;
    object-fit: contain;
}
}
/* for SP */
@media (max-width: 767px) {
    #section-lpshiroari-fvhead{
        margin: 0;
        min-height: 50px;
    }
}

/* =========================
   スマホ
========================= */
/* SP */
@media (max-width: 767px) {


    .fullwide_bg_warning{
        background-image: url("https://misono-base.com/cms/wp-content/uploads/2026/09/bg_warning_40x40.jpg");
        margin-top: 0px;
    }

    /*****  ★★#section-lpshiroari-fv_sp	【SP】	ファーストビューSP★★  *****/

    #section-lpshiroari-fv_sp{
        margin-top: 0px;
        padding-bottom: 20px !important;

    }


    .lpshiroari-fv-point {
        margin: 0 20px;
    }

   .lpshiroari-fv-point .swell-block-column {
      padding: 4px 4px;
   }

   .img_lp_shiroari_fv_illust01_sp{
      position: relative;
      top: -10px;
   }

   .fullwide_bg_warning .wp-block-columns {
    --wp-column-gap: 0.5em;
    gap: var(--wp-column-gap) !important;
}
}




#lpshiroari-fv-warning {
    border-radius: 16px;
    padding: 5px;
    position: relative;
    overflow: visible;
    margin-top: -80px;
}

/* 斜線 */
#lpshiroari-fv-warning::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 5px;
    border-radius: 16px;

    background: repeating-linear-gradient(
        135deg,
        #000 0 10px,
        #FFFF00 10px 20px
    );

    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;

    pointer-events: none;
}




.lpshiroari-fv-warning-imgbannin{
    position: absolute;
    right: 30px;
    bottom: -35px;
    width: 400px;
    z-index: 5;
    margin: 0;
}


/*****  ★★#section-lpshiroari-fv-tel		ファーストビューTEL★★  *****/
#section-lpshiroari-fv-tel{
   z-index: 1;
   position: relative;
   background-position: 50% 0%;
   margin-top: 0px;
   height: 200px;
    background-image: linear-gradient(0deg, rgba(3, 35, 94, 1), rgba(255, 255, 255, 0));
}

/* SP */
@media (max-width: 767px) {
    #section-lpshiroari-fv-tel-sp{
        z-index: 1;
        padding-top: 180px !important;
        padding-bottom: 50px !important;
        position: relative;
        margin-top: -320px;
    }
}





/*****  ★★#section-lpshiroari-symptom		こんな症状はありませんか？★★  *****/
/*****  ★★#section-lpshiroari-risk		放置リスク★★  *****/
/*****  ★★#section-lpshiroari-recommend01		無料調査をおすすめ★★  *****/
/*****  ★★#section-lpshiroari-survey		無料点検★★  *****/
/*****  ★★#section-lpshiroari-reason		選ばれる理由★★  *****/
/*****  ★★#section-lpshiroari-license		免許★★  *****/
/*****  ★★#section-lpshiroari-cta02		CTA★★  *****/
/*****  ★★#section-lpshiroari-flow01		施工前の流れ★★  *****/
/*****  ★★#section-lpshiroari-flow02		施工当日の流れ★★  *****/
/*****  ★★#section-lpshiroari-flow03		アフターサポート★★  *****/
/*****  ★★#section-lpshiroari-price		料金案内★★  *****/
/*****  ★★#section-lpshiroari-cta03		CTA★★  *****/
/*****  ★★#section-lpshiroari-case		施工事例★★  *****/
/* 施工事例とお客様の声 */

.lpshiroari_excase .swell-block-column h3{
   text-align: left;
}


/* ==============================
   シロアリ施工事例 詳細テーブル
============================== */

.lpshiroari_excase .swell-block-column dl {
    display: grid;
    grid-template-columns: 110px 1fr;
    margin: 20px 0 0;
    padding: 0;
    border-top: 1px solid #d9e2ec;
}


/* dt / dd 共通 */
.lpshiroari_excase .swell-block-column dt,
.lpshiroari_excase .swell-block-column dd {
    margin: 0;
    padding: 12px 10px;
    border-bottom: 1px solid #d9e2ec;
    box-sizing: border-box;
}


/* 項目名 */
.lpshiroari_excase .swell-block-column dt {
    background: #edf6fc;
    color: #0b4f7d;
    font-weight: 700;
    text-align: center;
}

/* 内容 */
.lpshiroari_excase .swell-block-column dd {
    background: #fff;
    color: #333;
}


/* ==============================
   スマホ
============================== */

@media (max-width: 767px) {

    .lpshiroari_excase .swell-block-column dl {
        grid-template-columns: 95px 1fr;
    }

    .lpshiroari_excase .swell-block-column dt,
    .lpshiroari_excase .swell-block-column dd {
        padding: 10px 8px;
        font-size: 14px;
    }

}

/* スマホでも横並び維持 */
@media (max-width: 767px) {
    .lpshiroari_excase .swell-block-column .c-dltable {
        grid-template-columns: 95px 1fr;
    }

    .lpshiroari_excase .swell-block-column .c-dltable dt,
    .lpshiroari_excase .swell-block-column .c-dltable dd {
        padding: 10px 8px;
        font-size: 14px;
    }
}


/* ==============================
   施工費用
============================== */

.lpshiroari_excase .swell-block-column dl.price {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 15px;
    margin-top: 10px;
    margin-bottom: 20px;
    border-top: 0px;
    border-bottom: 1px dotted #d9e2ec;
}

.lpshiroari_excase .swell-block-column dl.price dt,
.lpshiroari_excase .swell-block-column dl.price dd {
   border-bottom: 0px;
}

/* 施工費用 */
.lpshiroari_excase .swell-block-column dl.price dt {
    font-size: 18px;
    font-weight: 700;
    background: #fff;
}


/* 金額全体 */
.lpshiroari_excase .swell-block-column dl.price dd {
    color: #d90000;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
}


/* 110,000 */
.lpshiroari_excase .swell-block-column dl.price dd span {
    color: #d90000;
    font-size: 30px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.02em;
}


/* スマホ */
@media (max-width: 767px) {
    .lpshiroari_excase .swell-block-column dl.price dt {
        font-size: 16px;
    }

    .lpshiroari_excase .swell-block-column dl.price dd {
        font-size: 13px;
    }

    .lpshiroari_excase .swell-block-column dl.price dd span {
        font-size: 27px;
    }

}



/*****  ★★#section-lpshiroari-warranty		保証★★  *****/
/*****  ★★#section-lpshiroari-cta04		CTA★★  *****/
/*****  ★★#section-lpshiroari-area		対応エリア★★  *****/
/*****  ★★#section-lpshiroari-company		会社情報★★  *****/
/*****  ★★#section-lpshiroari-cta05		CTA★★  *****/
/*****  ★★#section-lpshiroari-faq		よくある質問★★  *****/
/*****  ★★#section-lpshiroari-message		最後のメッセージ★★  *****/

#section-lpshiroari-message p {
    font-size: 18px;
    line-height: 2;
}

@media (max-width: 767px) {
    #section-lpshiroari-message p {
        font-size: 16px;
        line-height: 1.9;
    }
}

/*****  ★★#section-lpshiroari-form		問い合わせフォーム★★  *****/
/*****  ★★#lp_footer		フッター★★  *****/
/*****  ★★#lp-fixed-contactbtn-pc		固定無料相談問い合わせキャラクター★★  *****/
/* ============================================================
   12. PC右下 固定お問い合わせボタン
   #lp-fixed-contactbtn-pc

   ------------------------------------------------------------
   【用途】
   ------------------------------------------------------------

   PC表示時のみ、
   画面右下にお問い合わせ画像を固定表示します。

   ・PCのみ表示
   ・画面右下に固定
   ・画像全体をクリック可能
   ・スマホでは非表示
   ・マウスオーバー時に軽く浮かせる

============================================================ */


/* ------------------------------------------------------------
   PC 固定お問い合わせボタン
------------------------------------------------------------ */

#lp-fixed-contactbtn-pc {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 200px;
  margin: 0;
  padding: 0;
  z-index: 9998;
}


/* ------------------------------------------------------------
   SWELLグループ内部の余白を解除
------------------------------------------------------------ */

#lp-fixed-contactbtn-pc .wp-block-group__inner-container {
  width: 100%;
  margin: 0;
  padding: 0;
}


/* ------------------------------------------------------------
   画像ブロック
------------------------------------------------------------ */

#lp-fixed-contactbtn-pc .wp-block-image {
  width: 100%;
  margin: 0;
  padding: 0;
}


/* ------------------------------------------------------------
   リンク
------------------------------------------------------------ */

#lp-fixed-contactbtn-pc .wp-block-image a {
  display: block;
  width: 100%;
}


/* ------------------------------------------------------------
   画像
------------------------------------------------------------ */

#lp-fixed-contactbtn-pc .wp-block-image img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  transition: transform 0.2s ease;
}


/* ------------------------------------------------------------
   PC ホバークリックできることが伝わる程度に、少しだけ上へ移動
------------------------------------------------------------ */

#lp-fixed-contactbtn-pc .wp-block-image a:hover img {
  transform: translateY(-4px);
}

/* スマホでは非表示 */

@media screen and (max-width: 767px) {
  #lp-fixed-contactbtn-pc {
      display: none;
  }
}



/*****  ★★#lp-footer-fixed-cta-sp	【SP】	スマホフッター★★  *****/
/* ============================================================
   スマートフォン　LPページフッターの固定CTA
============================================================ */

@media screen and (max-width: 767px) {

  /* ----------------------------------------------------------
     固定CTA本体
  ---------------------------------------------------------- */

  #lp-footer-fixed-cta-sp {
    position: fixed;
    display: block;
    max-height: 100px;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    margin: 0;
    padding: 0 0 env(safe-area-inset-bottom);
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.12);
  }


  /* ----------------------------------------------------------
     SWELLフルワイド内部
     通常の本文幅や左右余白を解除し、固定CTAを画面幅いっぱいに使用します。
  ---------------------------------------------------------- */

  #lp-footer-fixed-cta-sp .swell-block-fullWide__inner {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
  }


  /* ----------------------------------------------------------
     2カラム
     SWELL標準のスマホ縦積みを解除し、電話と問い合わせを横並びにします。
  ---------------------------------------------------------- */

  #lp-footer-fixed-cta-sp .wp-block-columns {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0;
    width: 100%;
    margin: 0;
  }


  /* ----------------------------------------------------------
     カラム共通
  ---------------------------------------------------------- */

  #lp-footer-fixed-cta-sp .wp-block-column {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    margin: 0;
    padding: 0;
  }





  /* ----------------------------------------------------------
     電話画像
  ---------------------------------------------------------- */

  #lp-footer-fixed-cta-sp .wp-block-image {
    width: 100%;
    margin: 0;
    padding: 8px 10px;
  }

  #lp-footer-fixed-cta-sp .wp-block-image a {
    display: block;
    width: 100%;
  }

  #lp-footer-fixed-cta-sp .wp-block-image img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
  }


  /* ----------------------------------------------------------
     お問い合わせボタン
  ---------------------------------------------------------- */

#lp-footer-fixed-cta-sp .is-style-btn_shiny {
    --the-btn-radius: 10px;
}

  #lp-footer-fixed-cta-sp .swell-block-button {
    width: 100%;
    margin: 0;
    padding: 8px 10px;
  }

  #lp-footer-fixed-cta-sp .swell-block-button__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 60px;
    margin: 0;
    padding: 10px 8px;
    text-align: center;
    line-height: 1.3;
  }






















  /* ----------------------------------------------------------
     固定CTAにページ下部が隠れないための余白
     CTAの高さに合わせる。
  ---------------------------------------------------------- */

#lp-content[data-postid="2714"] {
      padding-bottom: calc(38px + env(safe-area-inset-bottom));
   }
}







/* =========================
   シロアリLP CTAボタン(赤・目立つ)
========================= */

.btn_lp_shiroari {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
}

/* ボタン本体 */
.btn_lp_shiroari .swell-block-button__link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 92px;

    padding: 18px 70px 18px 85px;

    background: linear-gradient(
        180deg,
        #ff2a16 0%,
        #e60012 55%,
        #c9000e 100%
    ) !important;

    border: 5px solid #fff;
    border-radius: 24px;

    box-shadow:
        0 7px 0 #a9000b,
        0 11px 20px rgba(0, 0, 0, 0.22);

    color: #fff !important;

    font-weight: 900;
    line-height: 1.2;
    letter-spacing: 0.03em;

    text-decoration: none !important;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        filter 0.2s ease;

    overflow: hidden;
}

/* 文字 */
.btn_lp_shiroari .swell-block-button__link span {
    position: relative;
    z-index: 2;

    font-size: clamp(22px, 2.4vw, 36px);

    text-shadow:
        0 2px 0 rgba(0,0,0,0.12);
}

/* 「無料点検」っぽく強調したい場合 */
.btn_lp_shiroari .swell-block-button__link span::first-letter {
    /* first-letterは今回は特に変更なし */
}

/* 左の丸アイコン */
.btn_lp_shiroari .swell-block-button__link::before {
    content: "→";

    position: absolute;
    left: 24px;
    top: 50%;

    transform: translateY(-50%);

    display: flex;
    align-items: center;
    justify-content: center;

    width: 54px;
    height: 54px;

    background: #fff;
    border-radius: 50%;

    color: #e60012;

    font-size: 30px;
    font-weight: 900;
    line-height: 1;

    box-shadow:
        0 2px 6px rgba(0, 0, 0, 0.18);
}

/* 光沢感 */
.btn_lp_shiroari .swell-block-button__link::after {
    content: "";

    position: absolute;
    top: 0;
    left: 5%;

    width: 90%;
    height: 46%;

    border-radius: 18px;

    background: linear-gradient(
        180deg,
        rgba(255,255,255,0.30),
        rgba(255,255,255,0)
    );

    pointer-events: none;
}

/* hover */
.btn_lp_shiroari .swell-block-button__link:hover {
    transform: translateY(2px);

    box-shadow:
        0 4px 0 #a9000b,
        0 8px 16px rgba(0, 0, 0, 0.20);

    filter: brightness(1.05);
}

/* click */
.btn_lp_shiroari .swell-block-button__link:active {
    transform: translateY(6px);

    box-shadow:
        0 1px 0 #a9000b,
        0 3px 8px rgba(0, 0, 0, 0.18);
}

/* =========================
   スマホ
========================= */

@media (max-width: 767px) {

    .btn_lp_shiroari {
        max-width: 100%;
    }

    .btn_lp_shiroari .swell-block-button__link {
        min-height: 72px;

        padding:
            14px 48px
            14px 60px;

        border-width: 4px;
        border-radius: 18px;

        box-shadow:
            0 5px 0 #a9000b,
            0 8px 14px rgba(0, 0, 0, 0.20);
    }

    .btn_lp_shiroari .swell-block-button__link span {
        font-size: 21px;
    }

    .btn_lp_shiroari .swell-block-button__link::before {
        left: 14px;

        width: 40px;
        height: 40px;

        font-size: 23px;
    }
}


/* =========================
   フルワイド下部 V字矢印 連続使用対応
========================= */

.bg-arrow-bottom {
    position: relative;
    z-index: 2;
}

/* 下向きV字 */
.bg-arrow-bottom::after {
    content: "";
    position: absolute;

    left: 50%;
    bottom: -45px;

    transform: translateX(-50%);

    width: min(420px, 70vw);
    height: 46px;

    background: inherit;

    clip-path: polygon(
        0 0,
        50% 100%,
        100% 0
    );

    z-index: 3;
    pointer-events: none;
}


/* ==================================================
   SWELL リッチカラム → Swiper
   .lpshiroari-swiper
================================================== */


/* ------------------------------
   Swiper本体
------------------------------ */
.lpshiroari-swiper.swiper {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;

    /* SWELLのカラム幅用変数をリセット */
    --clmn-w--pc: auto;
    --clmn-w--tab: auto;
    --clmn-w--mobile: auto;

    padding-bottom: 50px;
}

.lpshiroari-swiper.swiper > .swell-block-columns__inner {
    flex-wrap: nowrap !important;
    gap: 0 !important;
}


/* Swiperのslideとして明示 */
.lpshiroari-swiper .swiper-slide {
    height: auto;
}


/* ------------------------------
   ページネーション
------------------------------ */

.lpshiroari-swiper .swiper-pagination {
    bottom: 5px !important;
}

.lpshiroari-swiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
}

.lpshiroari-swiper .swiper-pagination-bullet-active {
    transform: scale(1.25);
}


/* ------------------------------
   左右ナビゲーション
------------------------------ */

.lpshiroari-swiper .swiper-button-prev,
.lpshiroari-swiper .swiper-button-next {
    width: 44px;
    height: 44px;
    background: #CCC;
    border-radius: 50%;
    box-shadow:
        0 3px 12px rgba(0,0,0,.18);
}


.lpshiroari-swiper .swiper-button-prev::after,
.lpshiroari-swiper .swiper-button-next::after {
    font-size: 18px;
    font-weight: 700;
}



#mobile-page-top {
  background: #0b3d78 !important;
  color: #fff !important;
  position: fixed !important;
  right: 28px !important;
  bottom: 200px !important;  
  width: 54px;
  height: 54px;

  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;

  border-radius: 50%;
  z-index: 99999;
  text-decoration: none;
  line-height: 1;
  box-shadow: 0 4px 12px rgba(0,0,0,.18);
  border: 2px solid rgba(255,255,255,.9);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity .4s ease,
    visibility .4s ease;
}

/* for SP */
@media (max-width: 767px) {
    #mobile-page-top {
        bottom: 90px !important;
    }
}



#mobile-page-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

#mobile-page-top .page-top-arrow{
    margin-bottom: 5px;
}

#mobile-page-top .page-top-text{
    font-size: 10px;
}