@charset "utf-8";
/*
Template:nihonshoryokugijutu
Theme Name:nihonshoryokugijutu-child
Theme URI:https://www.dispenser.jp/
Description:nihonshoryokugijutu
Author:TEAMWORKS
Author URI:https://tmwks.jp/
Version:1.15
*/

/* フォーム
------------------------------------------------------------*/
input[type="text"], input[type="tel"], input[type="email"], textarea{
vertical-align:middle;
width:100%;
line-height:35px;
height:35px;
padding:5px;
margin-bottom: 5px;
border:1px solid #d4d4d7;
border-radius:3px;
-webkit-border-radius:3px;
-moz-border-radius:3px;
font-size:100%;
color:#555;
background:#fcfcfc;
box-sizing: border-box;
}
textarea{
height:auto;
line-height:1.5;
}
select {
padding: 8px 5px;
}
input[type=checkbox] {
	transform: scale(1.5);
	margin: 0 6px 0 0;
}
.wpcf7 input.wpcf7-back,
.wpcf7 input.wpcf7-confirm { 
	position:relative;
	width:225px;
}
.wpcf7 form,.wpcf7 {
	margin: 0 !important;
	background: none !important;
	border: 0 !important;
}
.wpcf7 p {
	font-size: inherit !important;
}
*:first-child+html input[type="submit"]{padding:3px;}

span.yubin,
form input[type="submit"], input[type="reset"], input[type="button"] {
  margin: 0 auto;
  padding: 10px 20px;
  background: #f6c560;
  border: 0;
  border-radius: 3px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  line-height: 1.5;
  font-size: 120% !important;
  color: #fff;
  cursor: pointer;
	height:48px;
	outline:none;
	-webkit-transition: all .3s;
	transition: all .3s;
}
span.yubin,
span.yubin:hover { font-size: 80% !important; padding: 7px 10px; }
form input[type="submit"]:hover, input[type="reset"]:hover, input[type="button"]:hover, span.yubin:hover {
  background: #666;
}
#searchform input[type="submit"] {
    line-height: 1;
    padding: 6px;
    vertical-align: top;
}
.submit-button{
  text-align:center;
}
/* 確認画面用CSS */
/*枠線消す*/
form .wpcf7c-conf {
  background-color: transparent !important;
  border: none !important;
}
.wpcf7-form table p {
  padding-bottom: 5px;
}
textarea.wpcf7-form-control {
  max-height: 100px;
}
.wpcf7 .wpcf7-submit {
	background-color: #f6c560 !important;
}
.wpcf7 .wpcf7-submit:hover {
	background-color: #f4a300 !important;	
}
.wpcf7 input[type="submit"], .wpcf7 input[type="button"] {
	border: 0 !important;
}
/*確認画面でradioが見え難い*/
input[type="hidden"] + span {
  font-weight: bold;
}
/*確認画面セレクトボックスヤジルシ消す*/
select.wpcf7c-conf {
   -webkit-appearance: none;
   -moz-appearance:    none;
   -ms-appearance:    none;
   appearance:         none;
   /*Firefox用*/
    text-indent: .01px; 
    text-overflow: "";
}
select.wpcf7c-conf::-ms-expand {
  display: none;
}
.wpcf7-form table p {
    padding-bottom: 0;
}
[data-name="zip"] input[type="text"],
.zip input[type="text"],
.s_size input[type="text"] {
  width: 20%;
}
.wpcf7 input[type="tel"],
.wpcf7 input[type="email"]{
  width: 40%;
}
span.required {
    display: inline-block;
    padding: 4px 6px;
    border-radius: 6px;
    background: red;
    color: #fff;
    font-size: 90%;
    line-height: 1.2;
    text-align: center;
    margin: 0 4px;
}
form table .txt_s {
    font-size: 80%;
    color: #666;
}
/*TABLE*/
.post_content table {
    border-collapse: separate;
    border-spacing: 0;
    border-top: 1px solid #CCCCCC;
    border-left: 1px solid #CCCCCC;
    font-size: 100%;
    line-height: 141.7%;
    margin: 10px -1px 24px 0;
    width: 100%;
    text-align:left;
}
.post_content table th {
    box-shadow: 1px 1px 0 #FFFFFF inset;
    border: 0;
    border-right: 1px solid #CCCCCC;
    border-bottom: 1px solid #CCCCCC;
    vertical-align: top;
    font-weight: bold;
    background-color: #F0F0F0;
    padding: 10px;
    white-space: nowrap;
    text-align:left;
}
.post_content table td {
    border: 0;
    border-right: 1px solid #CCCCCC;
    border-bottom: 1px solid #CCCCCC;
    padding: 10px;
    vertical-align: middle;
    text-align:left;
}
.post_content table th.txt_c, .post_content table thead th {
    text-align:center;
}
.post_content table.flat,
.post_content table.flat th,
.post_content table.flat td {
  border: 0;
  background: none;
  box-shadow: none;
  font-weight: normal;
}
.post_content table.border,
.post_content table.border th,
.post_content table.border td {
  border: 0;
  background: none;
  box-shadow: none;
}
.post_content table.border th {
  border-bottom: 1px solid #000;
}
.post_content table.border td {
  border-bottom: 1px solid #ccc;
}
.post_content table.border tr:first-child th {
  border-top: 1px solid #000;
}
.post_content table.border tr:first-child td {
  border-top: 1px solid #ccc;
}
.post_content dl.history {
  display: flex;
  flex-wrap: wrap;
}
.post_content dl.history dt, .post_content dl.history dd {
	box-sizing: border-box;
}
.post_content dl.history dt {
  width: 35%;
  padding: 10px;
  background-color: #DADADA;
  margin: 0 0 10px 0;
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.post_content dl.history dd {
  width: 65%;
  padding: 10px;
  background-color: #F3F3F3;
  margin: 0 0 10px 0;
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
}

/*TCD*/
/* Column layout - カラムレイアウト*/
.post_col.post_col-4 { -webkit-box-sizing:border-box; box-sizing:border-box; position:relative; width:100%; min-height:1px; margin-bottom:2em; padding-right:25px; padding-left:25px; float:left; }
@media screen and (min-width: 768px) {
    .post_col.post_col-4 { width:66.66666%; }
}
@media screen and (min-width: 1024px) {
    .post_col.post_col-4 { width:66.66666%; }
}
.post_content [class^="well"] *:first-child:not(a) {
	margin-top: 0 !important;
	padding-top: 0 !important;
}
.post_content [class^="well"] *:last-child {
	margin-bottom: 0 !important;
}
.post_content [class^="well"] { 
	padding: 1.2em;
}
.post_content .style4a,
.post_content .style5a {
	margin-top: 30px !important;
}

@media only screen and (max-width: 767px) {
	.post_content form table th, .post_content form table td,
	.post_content table.resp th, .post_content table.resp td {
  	display: block;
	}
	.post_content form table th, .post_content table.resp th {
  	border-top: 0;
  	border-bottom: 0;
	}
	[data-name="zip"] input[type="text"],
	.zip input[type="text"],
	.s_size input[type="text"] {
	  width: 30%;
	}
	span.yubin, span.yubin:hover { 
		font-size: 80% !important;
		padding: 7px 10px; 
	}
}
.anchor{
	display: block;
	padding-top: 120px;
	margin-top: -120px;
}
/*アンカー除外*/
.post_content .pb-widget-editor *:first-child:not(.anchor):not(.gallery-item) {
	margin-top: 0 !important;
}
@media only screen and (max-width:767px) {
	.scroll table{
	width:100%;
	}
	.scroll{
	overflow: auto;
	white-space: nowrap;
	}
	.scroll::-webkit-scrollbar{
	 height: 5px;
	}
	.scroll::-webkit-scrollbar-track{
	 background: #F1F1F1;
	}
	.scroll::-webkit-scrollbar-thumb {
	 background: #BCBCBC;
	}
}

/* GENESIS theme */

/* ドロワーメニューの表示 */

@media screen and (max-width: 1250px) {
  #drawer_menu {
    display: block;
    position: fixed;
    top: 0px;
    right: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: #000;
    overflow: auto;
    z-index: 99999;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    -webkit-overflow-scrolling: touch;
    pointer-events: none;
    transform: translate3d(100%,0,0);
  }
}


/* レスポンシブ対応　画面両側余白 */

@media only screen and (max-width: 767px){
#header_slider_content .content {
    padding: 0 20px !important;
}
	.cb_design_header{
		padding: 0 20px !important;
	}
	
	body.home.admin-bar{
		    overflow: hidden;
	}
	body.admin-bar {
    padding-top: 0;
}
	body.admin-bar{
		overflow: hidden;
	}
	
/* レスポンシブ：パンくずリスト左寄せ */
	@media only screen and (max-width: 767px){
		#bread_crumb{
			padding: 0 20px;
		}
	}
	
	


/* TOPページ　service */
	.cb_service_list{
		padding: 150px 0 0 0;
		
	}
.design_header .title_area {
			padding-right:0;
	width: 52%;
		}
.cb_service_category_list {
    padding: 0;!important;
}
	.cb_service_category_list{
		    display: block;
	}
	.cb_service_category_list .image_wrap img.pc {
		display: block;
/*     width: 100%;
    height: 50%; */
	}
	
	
/* 	TOPページ　company */
	.cb_design_content{
		padding: 150px 0 0 0;
	}
	.cb_design_content .item_list{
		padding: 0!important;
	}
	.cb_design_arrow_button{
		padding: 0!important;
	}
	
	
/* TOPページ　news */	
	.news_carousel .item:last-of-type {
		    height: 300px;
	}
	
	.cb_news_list{
		padding: 150px 0 0 0;
	}
	.news_carousel_arap {
		padding:0!important;
	}
	.news_carousel .item{
		padding:0;
		width: 375px;
	}
	div .news_carousel_wrap {
		padding:0!important;
	}
	.news_carousel_cat_all_wrap{
		padding:0!important;
	}
	#index_news_list_wrap{
		padding:0!important;
	}
	.news_carousel .image_link{
		width: 100%;
		    height: 120px;
	}
	.news_carousel .content{
		width: 100%;
	}
	
	.news_carousel .content{
		padding: 0 0 0 15px;
	}
	
	.news_carousel .category_button {
		margin: 10px 0;
	}
	
/* 	TOPページ　footer */
	#footer_inner{
		padding: 0!important;
	}
	#footer_address {
		p{
			padding:0 20px;
		}
	}
	#copyright span {
		padding:0 20px!important;
		 font-size: 10px;
}
	#footer_logo img{
		width: 70%;
    height: 100%;
		margin: 20px 60px;
	}
	
	
/* TOPページ　header */
	#header_logo img{
		max-height: 40%;
	}

	
	#header_logo img.mobile{
		display:block;
	} 
	img.mobile{
		width:330px!important;
	}
/* CONTACTページ */
	#page_header .catch {
		width:100%;
		padding-right:0;
	}

	#page_header .design_header {
		padding:0 20px!important;
	}
	#page_contents .post_content {
		padding:0 20px!important;
	}
/* ボタンセンターにしたい */
	.submit-button {
		align-items: center!important;
	}
	.wpcf7-from-control {
		align-items: center!important;
	}
	.wpcf7-spinner {
		margin:0;
	}

/* 	table収めたい */
	#main_content{
		padding:0 20px!important;
	}
	#main_col{
		width:100%;
		max-width:100%;
	}
	
	.post_content .s_table {
		white-space: wrap!important;
		overflow: hidden!important;
	}
	
	/* PRODUCTページ */
	.service_category_content .header{
		max-width:100%;
		padding:0 20px!important;
	}
	.service_category_content .desc_area {
		flex-wrap:nowrap;
	
	}
	.service_category_content .header .catch {
		width:100%;
		padding:0;
	}
	.service_category_content .post_list .type1{
		padding:0!important;
	}
	.post_list .type1 {
		padding : 0 20px!important;
	}
	#single_service_main_content {
		padding:0 20px!important;
			margin-bottom:50px;
	}
	#single_service_header .category {
		padding:0 20px!important;
	}
	#single_service_header .title{
		position: absolute;
    z-index: 3;
    bottom: 0;
    left: -90px;
    width: 150%;
    height: 80px;
    transition: opacity 1.0s ease 0.4s;
    opacity: 0;
    color: #fff;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 18px;
    line-height: 80px;
		white-space:wrap;
	}
	.post_content .s_table{
		    width: 100%;
	}
	
	#service_link_list_inner{
		padding:20px;
	}
	.service_category_content .post_list.type1 {
		padding:0;
	}
	
	.service_category_content .post_list.type1 .content{
		padding: 0 10px;
		width: 100%;
	}
	service_category_content .post_list.type1 a{
		padding: 0 20px!important;
	}
	.service_category_content .post_list.type1 .title span{
		font-size: 18px;
	}
	
	.service_category_content .post_list.type1 .desc span {
		    font-size: 12px;
		    margin: 5px 0;
	}
	
	.service_category_content .post_list.type1 .image_wrap{
		width: 100%;
	}
	.service_category_content .post_list.type1 .title{
		margin-top: 15px;
	}
	
/* テクニカルガイド */
	#archive_blog {
    max-width: 100%;
    padding: 0 20px;
}
	.blog_list .item {
	width: 100%;
}
	#archive_header{
		padding: 0 20px;
	}
	#archive_header .title_area {
		width: 100%;
	}
	
/* テクニカルガイド→各コンテンツ投稿 */

	#single_post_header {
		width: 100%;
	}
	#single_post_header_image{
		margin-left: 5px;
	}
	
	#related_post .related_post_carousel_wrap{
		padding:20px;
		margin:0;
		width:100%!important;
	}

	
	#related_post .blog_list{
		display:block;
	}
	#related_post .blog_list .item{
		width: 100% !important;
	}
	
	#next_prev_post .item {
	width: 100%;
    height: 100%;
	}
	
	#next_prev_post .title{
	display: block;
	}
	
	
/* 	COMPANYページ */
	#page_header .desc_area{
		padding:0 20px;
	}
/* 	.post_content .s_table{
		font-size: 66%;
	} */
	.post_content table{
		font-size: 63%;
	}
	
/* アクセスページ */

	.q_custom_button{
		background:#ff4000;
	}
	
}

/* 20250624 資料ダウンロード */
.catalog-parent{
	display:flex !important;
	flex-direction:row;
	justify-content:space-between;
}

.catalog-child1{
	width:30%;
	margin-right:20px;
}

.catalog-child2{
	width:70%;
}

@media only screen and (max-width:767px){
	.catalog-child1{
	margin-right:0px;
	}
}