@charset "UTF-8";/*sales-leaflet.com*/
/*PC版 グロナビ問い合わせボタン*/
.grobnavi-toibt  {
	background-color: #C5946A;
	border-radius: 5px;
	text-align: center;
	width:205px;
	height:60px;
    font-weight: 600!important;
	color:#ffffff;
	font-size: 0.9rem;
	line-height: 2.6;
}
.grobnavi-toibt-s  {
	font-size: 0.65rem;
	line-height: 0.4;
}


/* ===================================================
   1. 通常ヘッダー（ページ最上部・スマホになってすぐ）の調整
   =================================================== */

/* 【PC・スマホ共通】通常ロゴのサイズと横のテキスト配置 */
img.custom-logo, 
.custom-logo,
.site-header img,
a[class*="logo"] img {
  width: 120px !important;
  height: auto !important;
  max-width: 100% !important;
}

.custom-logo-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 16px !important;
  text-decoration: none !important;
}

.custom-logo-link::after {
  content: "開業・営業のためのリーフレット制作室" !important;
  font-size: 1.2rem !important;
  font-weight: bold !important;
  color: #333333 !important;
  white-space: nowrap !important;
}

/* 【スマホ・タブレット表示：959px以下】通常ヘッダーを2行＆センター揃えにする */
@media (max-width: 959px) {
  
  /* ヘッダーの固定を解除し、高さを自動にしてコンテンツの被りを防ぐ */
  .l-header,
  .site-header,
  .p-headerInner,
  .c-headLogo {
    position: relative !important; 
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    height: auto !important;       
    background-color: #ffffff !important; 
  }

  /* ヘッダーの一番下に薄いグレーの境界線を入れる */
  .l-header {
    border-bottom: 1px solid #e5e5e5 !important; 
  }

  img.custom-logo, 
  .custom-logo,
  .site-header img,
  a[class*="logo"] img {
    width: 100px !important; 
  }

  .custom-logo-link {
    display: flex !important;          
    flex-direction: column !important; 
    align-items: center !important;    
    justify-content: center !important;
    gap: 10px !important;              
    margin: 0 auto !important;         
    padding: 15px 0 !important;        
    height: auto !important;
  }

  .custom-logo-link::after {
    font-size: 0.95rem !important;     
  }
}


/* ===================================================
   2. スクロール時（上からぺろっと出るドロップナビ）の調整
   =================================================== */

/* 【PC表示：960px以上】左側にロゴ＋テキスト、右側にボタン */
@media (min-width: 960px) {
  .p-drop-nav .c-container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-direction: row !important;
  }
  .p-drop-nav .c-container::before {
    content: "開業・営業のためのリーフレット制作室" !important;
    display: inline-flex !important;
    align-items: center !important;
    font-size: 1.1rem !important;
    font-weight: bold !important;
    color: #333333 !important;
    white-space: nowrap !important;
    background-image: url("https://sales-leaflet.com/wp-content/uploads/2026/07/cropped-logo.png") !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: left center !important;
    padding-left: 140px !important;
    height: 110px !important;
  }
}

/* 📱 【スマホ・タブレット表示：959px以下】ボタンを消し、ロゴの下に指定テキストを確実に表示 */
@media (max-width: 959px) {
  .l-header__drop-nav {
    display: block !important;
    height: auto !important;
    border-bottom: 1px solid #e5e5e5 !important; /* スクロールナビの下にも境界線を表示 */
  }
  
  .p-drop-nav {
    height: auto !important;
  }
  
  .p-drop-nav .c-container {
    display: flex !important;
    flex-direction: column !important; 
    align-items: center !important;    
    justify-content: center !important;
    padding-top: 15px !important;       
    padding-bottom: 15px !important;
  }
  
  /* 右側にあった「無料相談」ボタンのエリアを完全に非表示にする */
  .p-drop-nav .p-global-nav {
    display: none !important;
  }
  
  /* 🛠️【確実版】1つの要素の中にロゴとテキストを内包させ、パディングで縦並びを完全再現 */
  .p-drop-nav .c-container::before {
    content: "開業・営業のためのリーフレット制作室" !important;
    display: block !important;
    text-align: center !important;
    
    /* 通常ナビのスマホ文字サイズ（0.95rem）と同期 */
    font-size: 0.95rem !important;     
    font-weight: bold !important;
    color: #333333 !important;
    white-space: nowrap !important;
    
    /* ロゴ画像の設定（上部の中央に配置） */
    background-image: url("https://sales-leaflet.com/wp-content/uploads/2026/07/cropped-logo.png") !important;
    background-size: 100px auto !important; /* ロゴの横幅を通常時と同じ100pxに指定 */
    background-repeat: no-repeat !important;
    background-position: top center !important;
    
    /* 【仕組み】ロゴの高さ（約86px）＋ 文字との隙間（10px）＝ 96pxの余白を上に作り、文字を下に押し下げる */
    padding-top: 96px !important; 
    width: 100% !important;
    box-sizing: border-box !important;
  }
}



/* パソコンやタブレットでの画像サイズを75%縮小 */
.img-size75 img {
    width: 75% !important;
    height: auto !important;
    margin-left: auto;
    margin-right: auto;
}

/* スマホサイズ（画面幅767px以下）での画像サイズ（50%） */
@media screen and (max-width: 767px) {
    .img-size75 img {
        width: 65% !important;
    }
}

/*--------------------------------------------------------------
Googleカレンダー 予約スケジュール埋め込みコンテナの最適化
--------------------------------------------------------------*/
.msm-gcalendar-wrapper {
    width: 100%;
    max-width: 820px; /* Snow Monkeyのメインエリア幅に最適化 */
    margin: 2.5rem auto; /* 上下余白と、左右の中央寄せ */
    border: 1px solid #e2e8f0; /* スッキリした極細の枠線 */
    border-radius: 12px; /* 角を丸くしてモダンなデザインに */
    overflow: hidden; /* iframeの角がはみ出るのを防ぐ */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04); /* わずかな影を落として見やすく */
    background-color: #ffffff;
}

/* iframe自体の基本表示スタイル */
.msm-gcalendar-wrapper iframe {
    display: block;
    width: 100%;
    height: 700px;
}

/* スマートフォン（モバイル表示）の調整 */
@media (max-width: 767px) {
    .msm-gcalendar-wrapper {
        margin: 1.5rem auto; /* スマホ画面では上下の余白を少し詰める */
    }
    .msm-gcalendar-wrapper iframe {
        height: 600px; /* スマホ画面で縦に長くなりすぎるのを防ぐ */
    }
}


/* ===================================================
   2. スクロール時（上からぺろっと出るドロップナビ）の調整
   =================================================== */

/* 【PC表示：960px以上】左側にロゴ＋テキスト、右側にボタン */
@media (min-width: 960px) {
  .p-drop-nav .c-container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-direction: row !important;
  }
  
  /* PHPで追加した本物のリンクにスタイルを当てる */
  .p-drop-nav-custom-logo-link {
    display: inline-flex !important;
    align-items: center !important;
    font-size: 1.1rem !important;
    font-weight: bold !important;
    color: #333333 !important;
    text-decoration: none !important; /* 下線を消す */
    white-space: nowrap !important;
    background-image: url("https://sales-leaflet.com/wp-content/uploads/2026/07/cropped-logo.png") !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: left center !important;
    padding-left: 140px !important;
    height: 110px !important;
    transition: opacity 0.3s; /* ホバー時に少しフワッとさせる（任意） */
  }
  
  .p-drop-nav-custom-logo-link:hover {
    opacity: 0.7 !important;
  }
}

/* 📱 【スマホ・タブレット表示：959px以下】ボタンを消し、ロゴの下に指定テキストを確実に表示 */
@media (max-width: 959px) {
  .l-header__drop-nav {
    display: block !important;
    height: auto !important;
    border-bottom: 1px solid #e5e5e5 !important;
  }
  
  .p-drop-nav {
    height: auto !important;
  }
  
  .p-drop-nav .c-container {
    display: flex !important;
    flex-direction: column !important; 
    align-items: center !important;    
    justify-content: center !important;
    padding-top: 15px !important;       
    padding-bottom: 15px !important;
  }
  
  /* 右側にあった「無料相談」ボタンのエリアを完全に非表示にする */
  .p-drop-nav .p-global-nav {
    display: none !important;
  }
  
  /* PHPで追加した本物のリンクにスタイルを当てる */
  .p-drop-nav-custom-logo-link {
    display: block !important;
    text-align: center !important;
    font-size: 0.95rem !important;     
    font-weight: bold !important;
    color: #333333 !important;
    text-decoration: none !important; /* 下線を消す */
    white-space: nowrap !important;
    
    background-image: url("https://sales-leaflet.com/wp-content/uploads/2026/07/cropped-logo.png") !important;
    background-size: 100px auto !important;
    background-repeat: no-repeat !important;
    background-position: top center !important;
    
    padding-top: 96px !important; 
    width: 100% !important;
    box-sizing: border-box !important;
  }
}


/* ===================================================
   2. スクロール時（上からぺろっと出るドロップナビ）の調整
   =================================================== */

/* 【PC表示：960px以上】左側にロゴ＋テキスト、右側にボタン */
@media (min-width: 960px) {
  .p-drop-nav .c-container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-direction: row !important;
  }

  /* 🛠️【重要】二重に出ていた左側の「古い偽物ロゴ」を完全に消去します */
  .p-drop-nav .c-container::before {
    content: none !important;
    display: none !important;
  }
  
  /* PHPで追加した「本物のリンク（右側にあったもの）」のスタイル */
  .p-drop-nav-custom-logo-link {
    display: inline-flex !important;
    align-items: center !important;
    font-size: 1.1rem !important;
    font-weight: bold !important;
    color: #333333 !important;
    text-decoration: none !important; /* リンクの下線を消す */
    white-space: nowrap !important;
    background-image: url("https://sales-leaflet.com/wp-content/uploads/2026/07/cropped-logo.png") !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: left center !important;
    padding-left: 140px !important;
    height: 110px !important;
    transition: opacity 0.3s; /* マウスを乗せたときに少しフワッとさせる */
  }
  
  /* マウスを乗せたときにわかりやすく光らせる設定 */
  .p-drop-nav-custom-logo-link:hover {
    opacity: 0.7 !important;
  }
}

/* 📱 【スマホ・タブレット表示：959px以下】ボタンを消し、ロゴの下に指定テキストを確実に表示 */
@media (max-width: 959px) {
  .l-header__drop-nav {
    display: block !important;
    height: auto !important;
    border-bottom: 1px solid #e5e5e5 !important;
  }
  
  .p-drop-nav {
    height: auto !important;
  }
  
  .p-drop-nav .c-container {
    display: flex !important;
    flex-direction: column !important; 
    align-items: center !important;    
    justify-content: center !important;
    padding-top: 15px !important;       
    padding-bottom: 15px !important;
  }
  
  /* 右側にあった「無料相談」ボタンのエリアを完全に非表示にする */
  .p-drop-nav .p-global-nav {
    display: none !important;
  }

  /* 🛠️【重要】スマホ環境でも「古い偽物ロゴ」を確実に消去します */
  .p-drop-nav .c-container::before {
    content: none !important;
    display: none !important;
  }
  
  /* PHPで追加した「本物のリンク」のスタイル */
  .p-drop-nav-custom-logo-link {
    display: block !important;
    text-align: center !important;
    font-size: 0.95rem !important;     
    font-weight: bold !important;
    color: #333333 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    
    background-image: url("https://sales-leaflet.com/wp-content/uploads/2026/07/cropped-logo.png") !important;
    background-size: 100px auto !important;
    background-repeat: no-repeat !important;
    background-position: top center !important;
    
    padding-top: 96px !important; 
    width: 100% !important;
    box-sizing: border-box !important;
  }
}


/***画像キャプション中揃え***/
.wp-block-image figcaption {
    text-align: center;
}


/****スマホフッター固定ナビ***/
.p-footer-sticky-nav {
  background-color: #8a6f5d !important; /* 背景色 */
}

.p-footer-sticky-nav .c-navbar__item>a {
    color: #ffffff; /* 文字色 */
	font-size: 14px;
	font-weight: 600;
}
