/*
Theme Name: snow-monkey-child
Template: snow-monkey
Description: Snow Monkeyの子テーマです
*/





a { 
	text-decoration: none;
	color:#333333;
}


/* 余白調整 */
:where(.p-entry-content)>:where(:not(:first-child)) {
    margin-top: calc(var(--_margin0) * var(--_margin-top));
}
:root {
    --_global--container-max-width: 100% !important;
    --_global--container-margin: 0 !important;
    --_container-margin: 0 !important;
}
.c-section{
	padding: var(--_padding0) 0;
}
.l-1row-header__branding, .l-1row-header__content {
padding-bottom: var(--_padding-0);
	padding-top: var(--_padding-0);}


/* TOPKV背景画像 */
.top-kv-section{
	display:block;
	  background-image: url("https://www.niigata-namakon.jp/namakonwp/wp-content/uploads/2026/03/bgkv.jpg")!important;
  background-size: cover!important;
  background-position: center!important;
  background-repeat: no-repeat!important;
}

.kv-sp-box{
	display:none;
	}


/* 見出しの余白なくす */
h1,h2,h3,h4,h5{
    line-height: 1.5 !important;
}

.has-sm-2-xl-font-size, .has-sm-3-xl-font-size, .has-sm-4-xl-font-size, .has-sm-5-xl-font-size, .has-sm-xl-font-size{
	line-height: 1.5 !important;
}



.l-header{
	padding:0 1%;
}

.p-global-nav ul li a span{font-size:1rem;}

.l-header__content{
	padding:10px 0px;
}

.menu-item{
	padding:0 5px;
}

.c-site-branding--has-logo{
	display:inline-block;
	vertical-align:middle;
}

/* ヘッダーの「お問合せ」をボタン化 */
.header-contact-btn a {
    background-color: #007bbb !important;
    color: #ffffff !important;
    padding: 10px 25px !important;
    font-weight: bold !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
    margin-left: 15px;
}

/* ホバーの色変更 */
.header-contact-btn a:hover {
    background-color: #005ea4 !important;
}

.c-entry-summary__body{
	display:flex;
	align-items:center;
	gap:20px;
}

.c-entry-summary__term{
	padding:0px 8px;
}

.c-entry-summary__header{
	order: 2!important;
}
.c-entry-summary__meta{
	order: 1!important;
}

.l-footer-widget-area{
	background:#e5e7e9;
}
.c-copyright--inverse{
	border-top:1px solid #CFCFCF!important;
	background:#e5e7e9!important;
	color:#989A9B!important;
}
.c-copyright{
	--_font-size-level: -3;
}

/*ボタンの矢印の色変更*/
:root :where(.smb-btn-wrapper.is-style-snow-monkey-143790).top-btn2 .smb-btn{
	color:#FFF;
}
:root :where(.smb-btn-wrapper.is-style-snow-monkey-143790).top-btn2 .smb-btn::after
{
	content: '';
    position: absolute;
    left: calc(var(--btn--circle-size) / 2 - .5em);
    display: block;
    mask-image: var(--btn--inline-svg);
    mask-position: center center;
    mask-repeat: no-repeat;
    mask-size: contain;
    height: 1em;
    width: 1em;
    background-color: #007bbb!important;
}
 





/*下層ページのヘッダー*/

.c-page-header[data-has-image=true] {
	height: clamp(170px, 30vw, 400px);
}

.c-page-header__title{
	font-size:2.8125em;
}

.c-page-header__content{
	width:1300px;
	margin:auto;
}

.table-01 td.has-text-align-left{
	width:20%;
	font-weight:bold;
	background:#dff2ff;
}

.wp-block-table .has-fixed-layout td, .wp-block-table .has-fixed-layout th{
	border:1px solid #b5b5b5;
}


.h3-a{
    background-color: transparent!important;
    border-left: 8px solid #007bbb;
    padding-left: 15px!important;
}

.wp-block-table thead{
	background:#dff2ff!important;
	border-bottom:
		1px solid!important;
}
.wp-block-table thead th{
	color:#007bbb!important;
}

.company-flex{
	gap:10px!important;
}

.company-flex > *:first-child{
  flex: 0 0 65%;
}
.company-flex > *:last-child{
  flex: 0 0 30%;
}





/*---------TOPページ----------*/	

/*News*/
.top-news.deco1{position:relative;max-width: 100%;}
.top-news.deco1:before{
  content:'';
  position:absolute;
  top:0;
  bottom:0;
  left:-20px;
  width:100%;
  background-image:url(https://www.niigata-namakon.jp/namakonwp/wp-content/uploads/2026/03/decoration0.png);
  background-repeat:no-repeat;
  background-position:left top;
  background-size:auto 100%;
  z-index:1;
  pointer-events:none;
}

.top-news.deco1:after {
  content:'';
  position:absolute;
  top:0;
  bottom:0;
  right:-100px;
  width:100%;
  background-image:url(https://www.niigata-namakon.jp/namakonwp/wp-content/uploads/2026/03/decoration6.png);
  background-repeat:no-repeat;
  background-position:right bottom;
  background-size:auto 100%;
  z-index:1;
  pointer-events:none;
}

/*About*/	
	.top-about .smb-section__title:after{
		height: 2px!important;
		width: 50px;
		margin:30px 0;
	}
.top-about.deco2 .top-about-content{
	  z-index:10;
}

.top-about.deco2{position:relative;}
.top-about.deco2:after{
  content:'';
  position:absolute;
  right:0;
  bottom:0;
  width:35%;
  height:80%;
  z-index:1;
	background:#007BBB;
	opacity:0.1;
}




/*温度補正表・生コン価格表*/


/*リンク集*/


/*お問い合わせ*/

.top-contact .smb-section__title:after{
	background-color: #FFF;
	width: 50px;
	margin:30px 0;
}







/*--------会社概要ページ--------*/

/*組合員会社・工場一覧*/
.about-company .c-row>.c-row__col{
	margin-bottom:60px;
}
/*理事長挨拶*/
.about-rijityo-txt{
	font-size:1.125rem;
}
.about-first .smb-box__background{
	width: 100vw !important;
	margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
}


/*--------お知らせページ--------*/

/*投稿者を非表示*/
.c-meta__item--author,.c-meta__item--modified{
display:none;
}

.single-post .l-contents__inner{
	width: 90%!important;
	margin:30px auto 0!important;
}

.p-archive{
	width: 90%!important;
}




/*--------生コン価格表ページ--------*/

.price-accordion .smb-accordion__item__title__icon{
	color: #fff;
	font-size: 30px;
}

.price-fit-shadow-box{
	display: inline-block;
}


/*--------温度補正表ページ--------*/

.table-calender-grid {
        display: flex !important;
				justify-content:space-between;
    }

.table-calender-grid> * {
        flex: 0 0 25% !important;
        max-width: 25% !important;
        margin-right: 0 !important;
    }
.table-calender-grid > *:last-child{
        flex: 0 0 70% !important;
        max-width: 70% !important;
        margin-left: 0 !important;
    }

/*--------お問合せページ--------*/
.scl_box {
    max-height: 300px;
    overflow-y: scroll; 
    border: 1px solid #ccc; 
    padding: 10px; 
  }
.smf-form--business .smf-item__col--controls{
	background:#FFF!important;
}




/*--------ハンバーガーメニュー--------*/

.c-drawer li{
	margin:0px 0px 0px;
}
.c-drawer a{
	border-bottom: 1px solid #FFF;
    color: #ffffff !important;
    padding: 15px 0px 15px 20px !important;
    font-weight: bold !important;
    align-items: left!important;
    justify-content: left!important;
    transition: background-color 0.3s;
    margin-left: 0;
	position: relative!important;
	display: block!important;
	vertical-align: middle!important;
}

.c-drawer a::before{
	
	position: absolute;
	top: 0;
	bottom: 0;
	left: 3px;
	margin: auto;
	content: "";
	vertical-align: middle;
	width: 6px;
	height: 6px;
	border-top: 2px solid #FFF;
	border-right: 2px solid #FFF;
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
}




/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */

@media screen and (max-width:1380px){
	
.smb-section__contents-wrapper,.page-id-38 .smb-section__inner,.smb-section-break-the-grid__contents-wrapper {width: 90%;}

.top-kv-section	.smb-section__contents-wrapper,.page-id-38 .smb-section__inner,.smb-section-break-the-grid__contents-wrapper{width: 100%;}

	.table-scroll{
  overflow-x:auto;
}

.table-scroll table{
  min-width:600px;
}
	
.table-scroll .table-scroll-box00{
  min-width:600px;
}
	
	.p-global-nav ul li a span{
		font-size:0.75rem;
	}
	
	.top-news{
		z-index:99;
	}
	
	
/*固定ページのヘッダー*/
	
	.p-breadcrumbs-wrapper{width: 90%;margin:auto;}

.c-page-header__title{
	font-size:1.8em;
	line-height:1.5;
}
	
.single-post .c-page-header__title{
	font-size:1.8em;
	line-height:1.5;
}

	

.c-page-header__content{
	width: 90%;
	margin:auto;
}	
	

	
/*--------会社概要ページ--------*/

/*組合員会社・工場一覧*/
.about-company .c-row>.c-row__col{
	margin-bottom:60px;
}
/*理事長挨拶*/
.about-rijityo-txt{
	font-size:1.125rem;
}
.about-first .smb-box__background{
	width: 100vw !important;
	margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
}
	
	.about-first .about-rijityo-box{
		width:90%;
		margin:0 auto;
	}
	
	.about-copy-box{
		width:90%;
		margin:0 auto;
	}
	
	

}






@media screen and (max-width:1050px){
		
.p-global-nav ul li a span{font-size:1rem;}
		
	
/*ヘッダー*/	
.l-header{
	padding: 0 3%;
}
	
.l-header__content{
	padding:12px 0px;
}	
	.l-header	.c-hamburger-btn__bars{
	box-sizing: initial;
    display: inline-block;
    height: 20px;
    position: relative;
		width: 30px!important;
		margin:3px auto 1px;
	}
	.l-header .c-hamburger-btn__bar{
		height: 2px;
	}
	
	.l-header .c-hamburger-btn__label{
		font-size: 10px!important;
	}
	

	.c-site-branding__title .custom-logo {
		width:90%!important;
	}
	
/* TOPKV背景画像 */
.top-kv-section{
	display:none;
}	
.kv-sp-box{
	display:block;
	width:100%;
}	
.kv-sp-box img{
	width:100%;
	height:auto;
	display:block;
}
	
.c-entry-summary__body{
	display:block;
	align-items:center;
	gap:0px;	
}

.c-entry-summary__meta .c-meta{
	flex-wrap:nowrap!important;
}
	
	
	
	
	
	
	
/*---------TOPページ----------*/	
	
/*News*/
	
	.top-news.deco1{position:relative;max-width:none ;}
.deco1:before{
  content: '';
    position: absolute;
    top: 0;
    left: -80px!important;
    background-image: url(https://www.niigata-namakon.jp/namakonwp/wp-content/uploads/2026/03/decoration0.png);
    background-size: cover;
    background-repeat: no-repeat;
    width: 220px;
    height: 369px;
    z-index: 1;
}

.top-news.deco1:after {
content: '';
    position: absolute;
	bottom:0;
	right:-50px!important;
	top:auto;
    background-image: url(https://www.niigata-namakon.jp/namakonwp/wp-content/uploads/2026/03/decoration6.png);
    background-size: cover;
    background-repeat: no-repeat;
    width: 180px;
    height: 287px;
    z-index: 1;
}	
	.top-news h{
		font-size:1rem;
	}
		.top-news{
		padding:30px 0px!important;
	}
	.top-news h3{
		margin-top:0px;
	}
	.top-news h3 span{
		font-size:1.5rem!important;
	}	
	.top-news .wp-block-snow-monkey-blocks-section-is-layout-constrained{
		margin-top:20px!important;
	}	
	.top-news .top-news-box{
		z-index:999;
	}	

	
	
/*About*/	
.top-about.deco2 .top-about-content{
	  z-index:10;
}
	
.top-about.deco2 .top-about-content{
		display:block!important;
		text-align:center;
	}	
.top-about.deco2{position:relative;}
.top-about.deco2:after{
  content:'';
  position:absolute;
  right:0;
  bottom:0;
  width:80%;
  height:35%;
  z-index:1;
	background:#007BBB;
	opacity:0.1;
}	
	
.top-about.deco2 .smb-section__inner[class*=is-content-justification-]>.c-container>.smb-section__contents-wrapper{
		width:100%;
	}
	
.top-about.deco2 h3.about-font-size{
	font-size:0.75rem;}	
	
	
	
	.top-about h3 span{
		font-size:1.75rem!important;
	}
	.top-about .smb-section__subtitle{
	text-align:center;
}
.top-about .smb-section__title{
	text-align:center;
}
.top-about .smb-section__contents-wrapper--left>.smb-section__header .smb-section__title:after{
	margin:30px auto;
}
.top-about .smb-buttons>.smb-btn-wrapper{
	margin:0 auto;
}
	.top-about .smb-section__contents-wrapper>*+*{
		margin:20px auto 30px;
	}
	.top-about img{
		width:100%!important;
		height:auto!important;
	}
	
	
/*温度補正表・生コン価格表*/
	.top-select{padding:50px 0px!important;}
	.top-select .top-select-box{
		display:block;
	}
	.top-select .top-select-box .top-select-box1{
		margin-bottom:30px!important;
	}
	
	.top-select .is-style-smb-section-undecorated-title{
		padding:30px 0px!important;
	}
	
	.top-select h3 span{
		font-size:1.5rem!important;
	}
	
	
	
/*リンク集*/
	.top-link h3{
		margin-top:0;
	}
	.top-link h3 span{
		font-size:1.5rem!important;
	}
	

		.top-link .smb-grid{
--smb-grid--column-min-width:150px!important;
}

	
	
/*お問い合わせ*/
	.top-contact{}
	.top-contact h3 span{
		font-size:1.75rem!important;
	}
	.top-contact .top-contact-box{
		display:block!important;
	}
	.top-contact .smb-section{
		--smb-section--padding:0px 0px!important;
	}
	.top-contact .smb-section__subtitle{
	text-align:center;
}
.top-contact .smb-section__title{
	text-align:center;
}
.top-contact .smb-section__contents-wrapper--left>.smb-section__header .smb-section__title:after{
	margin:30px auto;
}
.top-contact .smb-buttons>.smb-btn-wrapper{
	margin:0 auto;
}
	.top-contact .smb-section__contents-wrapper>*+*{
		margin:20px auto 30px;
	}

	.top-contact .smb-box{
		width:90%;
		margin:0 auto!important;
	}
	.top-contact .smb-box .top-contact-tel{
		margin-bottom:20px!important;
	}
	
	
/*フッター*/	
	.l-footer-widget-area .is-layout-flex{
		display:block;
	}
	
	.l-footer-widget-area .footer-menu{
		display:none;
	}
	
	.l-footer-widget-area .c-row>.c-row__col{
		margin-bottom:10px!important;
	}	
	
/*--------会社概要ページ--------*/	
	.about-rijityo-txt{
	font-size:1rem;
}
.about-copy-box{
		width:90%;
		margin:0 auto;
	}
	
	.about-rijityo-box h3 span{
		font-size:1em!important;
	}
	.about-rijityo-box h3 {
		margin-bottom:30px!important;
	}
	
.about-copy-box-flex{
		display:block!important;
	width:100%!important;
	}
	.about-copy-box-flex img{
		width:100%!important;
	}
	
	.about-copy-box-flex p{
		margin-bottom:30px!important;
	}
	
/*--------生コン価格表ページ--------*/
	
	.price-table00.wp-block-snow-monkey-blocks-grid {
        display: block !important;
    }
	
	.table-under{
		margin-bottom:30px!important;
	}
	

	
	
	
/*--------温度補正表ページ--------*/

.table-calender-grid {
        display: block !important;
				justify-content:space-between;
    }

.table-calender-grid> * {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        margin-right: 0 !important;
    }
.table-calender-grid > *:last-child{
        flex: 0 0 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
				margin-top:30px!important;
    }
	

	
}



@media screen and (max-width:750px){
	
	
	
	
	
	/*--------お知らせページ--------*/
	.single-post .c-page-header__title{
	font-size:1.125em;
	line-height:1.5;
	}
	
	/*--------会社概要ページ--------*/
	.about-text-align{
		text-align:left!important;
	}
	.about-container h3 span{
		font-size:1.125em!important;
	}
	
	.about-container .has-sm-xl-font-size{
		font-size:1em!important;
	}
	
	.about-container h3{
		margin-top: 60px!important;
		margin-bottom: 20px!important;
	}
	
	/*--------温度補正表ページ--------*/

	
	.hoseihyou-container h3 span{
		font-size:1.125em!important;
	}
	.hoseihyou-container .hoseihyou-txt{
		font-size:1em!important;
	}
	
	
	
	
	/*--------生コン価格表ページ--------*/
	.price-container h3 span{
		font-size:1.125em!important;
	}
	
	.price-fit-shadow-box{
	width:100%;
	}
	
	.price-fit-shadow-box .price-pdf img{
	width:100%!important;
	}
	
	.price-container h3.price-slide span{
		font-size:1em!important;
	}
	
	.smb-accordion__item__title span{
		font-size:1em!important;
	}
	
	.date-pdf img{
	width:100%;
	}
	.date-pdf a{
		width:100%;
	}
	
	/*--------お問い合わせページ--------*/
	.contact-tel-box{
		margin-bottom:60px!important;
	}
	.contact-tel-txt{
		text-align:left;
	}
	.contact-form-title span{
	font-size:1.125em!important;	
	}
	
	.contact-container h3 span{
		font-size:1.125em!important;
	}
	
	
	
	
}


