/**
 * Template: snow-monkey
 * Theme Name: Snow Monkey Child
 */

/* =========================================================
	全ページ共通CSS
========================================================= */

/* ----------------------------------------
	基本設定
---------------------------------------- */
a{
	text-decoration: none!important;
}

a:active,
a:visited {
  color: inherit!important;
}

table {
		font-weight: 500;
}

/* スマホ：テーブル文字サイズ */
@media (max-width: 767px) {
	table {
		font-size: 13px!important;
	}
}



/* ----------------------------------------
	フォント設定
---------------------------------------- */
body{
	font-family: "dnp-shuei-gothic-kin-std", sans-serif!important;
}

h2,h3,.smb-section__title .c-entry__title{
	letter-spacing: 0.1em;
}

/* タイトルを少しコンパクトに（改行対策） */
.is-compact-title{
	letter-spacing: 0.05em;
}

/* スマホ：見出しサイズ  */
@media screen and (max-width: 767px) {
	h2,h3, .c-entry__title{
		font-size: 20px!important;
	}
	.smb-section__title {
		font-size: 22px!important;
	}
	
	.c-entry-summary__title{
		font-size: 18px!important;
	}
	
	h4{
		font-size: 16px!important;
	}
}


/* ----------------------------------------
	タブレット以下：カラムレイアウト
---------------------------------------- */
@media screen and (max-width: 1024px){
  .wp-block-columns{
    flex-direction: column;
  }

  .wp-block-column{
    width: 100% !important;
  }
}


/* =========================================================
	ヘッダー
========================================================= */
/* ----------------------------------------
	ロゴ
---------------------------------------- */
.c-site-branding__title {
    width: 320px;
    margin: 12px 0;
}

/* スマホ：ロゴサイズ */
@media screen and (max-width: 767px) {
	.c-site-branding__title {
		width: 80%
	}
}

/* PC：TEL少し大きく */
@media screen and (min-width: 1025px) {
	.l-header .menu-item-2341 > a {
		font-size: 16px;
	}
}


/* ----------------------------------------
	電話リンク制御
---------------------------------------- */
/* PC：リンク無効 */
.menu-item a[href^="tel:"],
.tel-banner a[href^="tel:"]{
	pointer-events: none;
	cursor: default;
}

/* スマホ：リンク有効 */
@media (max-width: 767px) {
	.menu-item a[href^="tel:"] ,
	.tel-banner a[href^="tel:"]{
		pointer-events: auto;
		cursor: pointer;
	}
}

/* 電話番号常に白 */
.tel-banner a,
.tel-banner a:visited,
.tel-banner a:hover,
.tel-banner a:active,
.tel-banner a:focus {
	color: #ffffff !important;
}


/* =========================================================
	パーツ調整
========================================================= */
/* ----------------------------------------
	強調ボタン
---------------------------------------- */
.btn-large .smb-btn {
	padding-top: 24px;
	padding-bottom: 24px;
}


/* ----------------------------------------
	テーブル線
---------------------------------------- */
.table-border-dark table{
	border: 1px solid #ccc!important;
}

.table-border-dark td,
.table-border-dark th{
	border: 1px solid #ccc!important;
}


/* =========================================================
	追従系ボタン
========================================================= */
/* ----------------------------------------
   翻訳ボタン（GTranslate）
---------------------------------------- */
#gt_float_wrapper{
	position: fixed !important;
	left: 24px !important;
	bottom: 24px !important;
	right: auto !important;
	top: auto !important;
	transform: none !important;
	z-index: 9999 !important;
}

/* タブレット以下 */
@media screen and (max-width: 1024px) {
	#gt_float_wrapper{
		bottom: 70px !important;
	}
}


/* ----------------------------------------
	右側スライドお問い合わせボタン（atoaサイト風）
---------------------------------------- */
.slide-contact-btn {
	position: fixed;
	top: 12%;  /* 位置 */
	right: 0;
	transform: translateX(180px); /* ← 隠れる幅（ボタン幅に合わせて調整） */
	transition: transform 0.5s cubic-bezier(.15,.75,.35,1);
	z-index: 9999;
}

/* スクロール停止で出現 */
.slide-contact-btn.show {
	transform: translateX(0);
}

/* ボタン本体 */
.slide-contact-btn a {
	display: flex;
	align-items: center;
	background: #008640; /* 少し明るい緑 */
	color: #fff;
	padding: 28px 36px;   /* 太めに */
	/*height: 62px;   ボタンの高さを固定*/
	font-size: 16px;      /* 横書きの太字 */
	font-weight: 600;
	text-decoration: none;
	border-radius: 50px 0 0 50px; /* ふっくら丸い形 */

/* ふわっと浮く影（atoaっぽい） */
	box-shadow:0 15px 40px rgba(0,0,0,0.18),0 6px 12px rgba(0,0,0,0.12);
	transition: background 0.25s, transform 0.25s;
}

/* ホバー時：少し左に動く＋濃い緑 */
.slide-contact-btn a:hover {
	background: #006E33;
	transform: translateX(-4px);
}

/* スマホ：非表示 */
@media screen and (max-width: 767px) {
	.slide-contact-btn {
		display: none !important;
	}
}


/* =========================================================
	ナビゲーション
========================================================= */
/* ----------------------------------------
	サブメニュー（atoa風）
---------------------------------------- */
.c-navbar__submenu {
	margin: 0 auto !important;
	padding: 18px 20px !important;
	background: rgba(255, 255, 255, 0.65) !important;
	backdrop-filter: blur(12px) !important;
	-webkit-backdrop-filter: blur(12px) !important;
	border-radius: 22px !important;
	box-shadow: 0 12px 35px rgba(0,0,0,0.15) !important;
	border: 1px solid rgba(255,255,255,0.4) !important;
}

/* サブメニュー項目のリンク */
.c-navbar__submenu a {
	font-size: 14px !important;
	line-height: 1.4 !important;  /* ← 行間をゆるく */
	padding: 6px 0 !important;   /* 項目の上下余白 */
	color: #008640 !important;
	font-weight: 600 !important;
	text-decoration: none !important;
	display: block !important;
	text-align: center !important;
	transition: all 0.25s ease !important;
}

/* ホバー時：少し濃く、ちょい拡大 */
.c-navbar__submenu a:hover {
	color: #333333 !important;
	transform: translateY(-2px);
}

/* サブアイテム間のスペース */
.c-navbar__subitem {
	margin-bottom: 12px !important;
}
.c-navbar__subitem:last-child {
	margin-bottom: 0 !important;
}

/* サブメニューの緑の三角形を消す */
.c-navbar__item::before {
	display: none !important;
}

/* サブメニュー文字のドロップシャドウを消す */
.c-navbar__submenu a {
	text-shadow: none !important;
}


/* =========================================================
	投稿・固定ページ
========================================================= */
/* ----------------------------------------
	固定ページの見出し
---------------------------------------- */
.c-entry__header{
	display: none !important;
}


/* ----------------------------------------
	投稿ページの見出し
---------------------------------------- */
.single-post .c-entry__header{
	display: block !important;
	max-width: 1040px;
	margin-left: auto;
	margin-right: auto;
}

.single-post .c-entry__title {
	margin-bottom: 24px;
}

.single-post .c-entry__meta {
	display: none;
}


/* ----------------------------------------
	固定ページのアイキャッチ
---------------------------------------- */
.c-page-header {
	height: 340px!important;
}

/* スマホ以下 */
@media screen and (max-width: 767px){
	.c-page-header {
		height: 120px!important;
	}
}


/* ----------------------------------------
	お知らせの見出し装飾
---------------------------------------- */
.single-post .c-entry__title::after{
	display: block;
	content: "";
	width: 100%;
	height: 8px;
	margin-top: 12px;
	background: url(http://hibari21.com/hibari21_wp/wp-content/uploads/2026/01/contact_deco_green.svg)
		repeat-x center / auto 100%;
}


/* ----------------------------------------
	カテゴリーごとの色分け
---------------------------------------- */
/* B&G海洋センター */
.c-entry-summary__term--category-slug-pool {
	background-color: #0074b8;
}

/* ひばりテニススクール */
.c-entry-summary__term--category-slug-tennis-school {
	background-color: #805a40;
}

/* ビラデスト今津 */
.c-entry-summary__term--category-slug-villagedest {
	background-color: #e6ba1a;
}

/* ゆめの */
.c-entry-summary__term--category-slug-yumeno {
	background-color: #d87023;
}

/* 箱館そば鴨野 */
.c-entry-summary__term--category-slug-shigino {
	background-color: #00518b;
}

/* 運動公園 */
.c-entry-summary__term--category-slug-park {
	background-color: #008640;
}

/* 未分類 */
.c-entry-summary__term--category-slug-uncategorized {
	background-color: #999999;
}


/* =========================================================
	フッター
========================================================= */
/* ----------------------------------------
	フッター全体
---------------------------------------- */
.l-footer{
	font-weight: 600;
}

.l-footer .menu a {
	text-decoration: none !important;
}

/* グラデーション背景 */
.l-footer {
	background: linear-gradient(180deg, #ffffff, #f6fae7) !important;
}


/* コピーライト背景を透明に */
.c-copyright {
	background: transparent !important;
}

/* コピーライト文字色変更 */
.c-copyright--inverse {
	color: #008640;
}

/* フッターの一階層目メニュー（親＋子なし）すべてを緑に */
#block-7 .l-footer .menu > li > a {
	color: #008640 !important;
}


/* ----------------------------------------
	フッターロゴ
---------------------------------------- */
.footer-logo {
    width: 320px;
	margin: 0!important;
}

/* スマホ：ロゴ少し小さく */
@media screen and (max-width: 767px) {
	.footer-logo {
		width: 80%
	}
}


/* ----------------------------------------
	スマホ：フッター固定ナビ
---------------------------------------- */
/* 背景 */
#footer-sticky-nav {
	background: #006E33 !important;
	background: rgba(0, 110, 51, 0.9) !important;
}

/* アイテム共通設定 */
#footer-sticky-nav .c-navbar__item {
	display: flex;
	align-items: center;
	position: relative;
}
.p-footer-sticky-nav a {
	padding: 1em !important;
}

/* 左側（電話） */
/* 左右バランス（調整幅） */
#footer-sticky-nav .c-navbar__item:first-child {
	flex: 1.3;
}

#footer-sticky-nav .c-navbar__item:first-child > a {
	display: flex;
	flex-direction: column;
	align-items: center;
	color: #fff !important;
}

/* 電話：上段（アイコン + 番号 + 代表） */
.tel-top {
	display: flex;
	align-items: center;
	gap: 6px;
}
.tel-top i { 
	font-size: 20px;
	color:#fff; 
}
.tel-main { 
	font-size:14px;
	font-weight:bold;
}
.tel-sub  { 
	font-size:12px;
	position:relative;
	top:1px;
}

/* 電話：下段 */
.tel-time {
	font-size: 12px;
	margin-top: 4px;
}

/* 真ん中の点線 */
#footer-sticky-nav .c-navbar__item:first-child::after {
	content: "";
	position: absolute;
	right: -12px;
	top: 15%;
	height: 70%;
	border-right: 1px dotted #fff;
}

/* 右側（お問い合わせ） */
#footer-sticky-nav .c-navbar__item:last-child {
	flex: 0 0 auto;
	margin-left: 20px;
	margin-right: 8px;
}
#footer-sticky-nav .c-navbar__item:last-child > a {
	display: flex;
	align-items: center;
	gap: 6px;
	color:#fff !important;
	font-size:14px; 
	font-weight:bold;
}
#footer-sticky-nav .c-navbar__item:last-child i {
	font-size: 20px !important;
	position: relative;
	top: -1px;
}


/* ----------------------------------------
	スマホ：ハンバーガーボタン
---------------------------------------- */
/* ハンバーガーボタンのみ固定 */
.l-header .c-hamburger-btn {
	position: fixed;
	top: 12px;
	right: 16px;
	z-index: 1100;
}
	
/* ハンバーガーボタンを丸く固定 */
.l-header .c-hamburger-btn {
	position: fixed;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #008640;
	z-index: 2000;
}

/* MENUの文字非表示 */
.c-hamburger-btn__label{
	display: none;
}

/* バーの色変更 */
.l-header .c-hamburger-btn__bar {
	background-color: #fff;
}

/* バーの長さ変更 */
.c-hamburger-btn__bars{
	width: 32px;
}


/* ----------------------------------------
	スマホ：ドロワーメニュー調整
---------------------------------------- */
.c-drawer__menu {
    font-size: 16px;
    margin: 1rem;
}


/* =========================================================
	その他
========================================================= */
/* ----------------------------------------
	Googleマップ埋め込み
---------------------------------------- */
@media screen and (max-width: 1024px) {
	iframe {
		height: 260px;
	}
}


/* ----------------------------------------
	タブレット：コンテンツ幅
---------------------------------------- */
@media screen and (min-width: 768px) and (max-width: 1024px) {
	.c-container {
		max-width: 80%;
		margin-left: auto;
		margin-right: auto;
	}

	/* フル幅系は触らない */
	.alignfull,
	.smb-section--full {
		max-width: none;
	}
}


/* -------------------------------------
   サイト全体のフェードイン
------------------------------------- */
body {
  animation: site-fadein 0.6s ease-out both;
	
}

@keyframes site-fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}