/*
Theme Name: kasei
Description: 丸山化成株式会社
Version: WordPress 6.7.2
Author: xxx
*/
@charset "utf-8";
/* ================================================== common（ 全画面共通 ）設定 */

body {
	font-family: 'Noto Sans JP', "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	background-color: #fff;
	color: #304f67;
	font-size: 16px;
}

a {
	text-decoration: none;
}

.clear {
	clear: both; /* レイアウト崩れ対処 */
}

.sub section {
	margin: 160px 0;
}

.sub h2 {
	font-size: 2.4rem;
	letter-spacing: 2px;
	width: 98%;
	max-width: 1000px;
	margin: 0 auto 40px auto;
	padding-bottom: 4px;
	border-bottom: 1px solid #8b969f;
}

#head {
	margin-bottom: 80px;
}

.button {
	display: block;
	max-width: 304px;
	margin: auto;
	padding: 2rem;
	font-weight: bold;
	font-size: 1.8rem;
	letter-spacing: 4px;
	background: transparent;
	color: #009de8;
	border: 2px solid #009de8;
	border-radius: 3px;
	position: relative;
	transition: 0.5s;
}
a.button {
	color: #009de8;
}
	.button::before {
		content: '';
		position: absolute;
		top: calc(50% - 2px);
		right: 1.6em;
		transform: translateY(calc(-50% - 2px)) rotate(45deg);
		width: 10px;
		height: 1px;
		background: #009de8;
	}
	.button::after {
		content: '';
		position: absolute;
		top: 50%;
		right: 1.6em;
		transform: translateY(-50%);
		width: 40px;
		height: 1px;
		background-color: #009de8;
	}
	.button:hover {
		background: #d4eef7;
		color: #009de8;
	}

header {
	padding: 10px 15px;
	box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	z-index: 10;
	background: #fff;
	transition: 0.5s;
}
nav ul {
	display: flex;
}
nav ul li {
	margin: 0 5vw 0 0;
}
header .logo,
header ul li a {
	color: #000;
	transition: .2s;
}
header ul li a:visited {
	color: #000;
}
header ul li a:hover {
	color: #009de8;
}
header .logo_w {
	display: none;
	transition: 0.5s;
}
header .logo_b {
	display: inline-block;
}
nav ul li a span {
	position: relative;
	display: inline-block;
	vertical-align: middle;
	text-decoration: none;
	font-size: 1em;
}
header nav ul .normal a span::after {
	position: absolute;
	top: 0;
	bottom: 0;
	right: -16px;
	margin: auto;
	content: "";
	vertical-align: middle;
	width: 0.4em;
	height: 0.4em;
	border-bottom: 2px solid #000;
	border-right: 2px solid #000;
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
}

footer {
	color: #222;
	background: #eeeff0;
	margin-top: 160px;
	padding: 40px 0;
	box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}
footer .box {
	max-width: 1000px;
	margin: 0 auto;
}
footer ul {
	display: flex;
	justify-content: space-between;
	border-bottom: 1px solid #8b969f;
	padding: 40px;
}
footer ul li a {
	transition: 0.5s;
}
footer ul li a:hover {
	color: #009de8;
	transition: 0.5s;
}
footer .box_item {
	max-width: 500px;
	width: 98%;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	padding: 24px 0;
}
.sub h1 {
	padding: 80px 0;
	text-align: center;
	background: url(image/line_h1.gif) no-repeat center;
	background-size: cover;
}
.sub h1 p:nth-child(1) {
	font-size: 6rem;
	letter-spacing: 2px;
}
.sub h1 p:nth-child(2) {
	font-size: 1.6rem;
	letter-spacing: 2px;
	margin-top: -8px;
}


/* ================================================== index */
.video-container {
	height: 50vh;
	position: relative;
	overflow: hidden;
  }
  @media (min-width: 600px) {
	.video-container {
	  height: 100vh;
	}
  }
  .video-container:after {
	position: absolute;
	content: "";
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(21, 23, 65, 0.5);
	background-image: radial-gradient(rgb(13, 15, 40) 20%, transparent 20%),
	  radial-gradient(rgb(13, 15, 40) 20%, transparent 20%);
	background-size: 6px 6px;
	background-position: 0 0, 3px 3px;
  }
   
  #index video {
	-o-object-fit: cover;
	   object-fit: cover;
	position: absolute;
	height: 100%;
	width: 100%;
	top: 0;
	left: 0;
	z-index: -1;
  }

  #index h1 {
	color: #fff;
	font-weight: 900;
	line-height: 1;
	font-size: 5vw;
	position: absolute;
	bottom: 112px;
	left: 40px;
	
	@media (max-width: 400px) {
	  font-size: 22px;
	}
	@media (min-width: 1200px) {
	  font-size: 80px;
	}
  }
  
  .callout {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	height: 100%;
	text-align: center;
	z-index: 10;
  }

  .callout p {
	color: #fff;
	position: absolute;
	bottom: 48px;
	left: 48px;
	text-align: left;
  }

#index header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	z-index: 10;
	background: transparent;
	padding: 40px 15px;
	transition: 0.5s;
	box-shadow: none;
}
 
#index header .logo {
	margin-right: auto;
}
#index .logo_w {
	display: inline-block;
}	
#index .logo_b {
	display: none;
}	

#index nav ul li a {
	display: inline-block;
	font-weight: 400;
	color: #fff;
	letter-spacing: 1.5px;
	transition: 0.5s;
}
#index nav ul .normal a span::after {
	position: absolute;
	top: 0;
	bottom: 0;
	right: -16px;
	margin: auto;
	content: "";
	vertical-align: middle;
	width: 0.4em;
	height: 0.4em;
	border-bottom: 2px solid #fff;
	border-right: 2px solid #fff;
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
}
#index nav ul .external a span::after {
	content: "↗";
	position: absolute;
	font-size: 1em;
	top: 0;
	right: -1em;
	color:#ec3c0b;
}
	#company nav ul .external a span::after {
	content: "↗";
	position: absolute;
	font-size: 1em;
	top: 0;
	right: -1em;
	color:#ec3c0b;
	}

.section {
height: 100vh;
}
	.section-a {
	background: #000;
	}
	.section-b {
	background: #fff;
	}

/* after scroll */
	#index header.scroll-nav {
	padding: 10px 15px;
	background: #fff;
	box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
	}
	#index header.scroll-nav .logo,
	#index header.scroll-nav ul li a {
	color: #000;
	}
	#index header.scroll-nav .logo_w {
	display: none;
	transition: 0.5s;
	}
	#index header.scroll-nav .logo_b {
	display: inline-block;
	}
	#index header.scroll-nav nav ul .normal a span::after {
		border-bottom: 2px solid #000;
		border-right: 2px solid #000;
	}
	#index header.scroll-nav nav ul .external a span::after,
	header.scroll-nav nav ul .external a span::after {
	content: "↗";
    position: absolute;
    font-size: 1em;
    top: 0;
    right: -1em;
    color: #ec3c0b;
	}

#intro {
	padding: 6em 0;
	text-align: center;
	line-height: 2.8rem;
	background: url(image/line.gif) no-repeat center;
	background-size: cover;
}

#intro .box {
	padding: 0 2%;
}

#intro p:nth-child(1) {
	font-size: 4rem;
	margin-bottom: 32px;
	text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 10px #fff;
}
#intro p:nth-child(2) {
	margin-bottom: 40px;
	text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 10px #fff;
}

#index h2 {
	font-size: 5rem;
	font-weight: 100;
	letter-spacing: 4px;
	border-bottom: 1px solid #8b969f;
}

#index h2 span {
	font-size: 1.2rem;
}

section .box {
	max-width: 1000px;
	margin: 0 auto;
}

#ab {
	background: #eeeff0;
	padding: 6em 0;
}

#ab .box {
	padding: 0 0 0 2%;
}

.box_ab {
	display: flex;
}
.box_ab p:nth-child(1) {
	padding: 40px 40px 0 0;
	line-height: 2.8rem;
}

#ab a.button {
	margin: 40px 0 0 0;
	text-align: center;
}

#aboutus {
	padding: 6em 0;
}

#aboutus .box{
	width: 98%;
	display: flex;
	align-items: stretch;
	margin: 0 auto;
}

#aboutus .box div {
	display: flex;
	flex-direction: column;
	color: #fff;
	width: 50%;
	margin: 4px;
	padding: 64px;
	text-align: center;
}

#aboutus .box div:nth-child(1) {
	background: url(image/about_bg01.png) no-repeat grey;
	background-size: cover;
}
#aboutus .box div:nth-child(2) {
	background: url(image/about_bg02.png) no-repeat grey;
	background-size: cover;
}

#aboutus a.button {
	color: #fff;
	border: 2px solid #fff;
	min-width: 240px;
	margin: 0 auto;
}
	#aboutus a.button::before {
		background: #fff;
	}
	#aboutus a.button::after {
		background-color: #fff;
	}
	#aboutus a.button:hover {
		background: #304f67;
		color: #fff;
	}

#aboutus h3 {
	font-size: 3rem;
	letter-spacing: .4rem;
	margin-bottom: 20px;
}

#aboutus .box p {
	margin-bottom: 40px;
	flex-grow: 1;
}

#info .box, #release .box {
	padding: 0 2%;
}

#info dl, #release dl {
	display: flex;
	flex-wrap: wrap;
	padding: 24px 1%;
}
#info dl dt, #release dl dt {
	width: 14%;
	margin: 16px auto;
	border-bottom: 1px solid #c0c3c6;
}
#info dl dd, #release dl dd {
	width: 86%;
	margin: 16px auto;
	padding-bottom: 16px;
	border-bottom: 1px solid #c0c3c6;
}
#info a.button, #release a.button {
	max-width: 216px;
	margin: 0 0 0 auto;
	border: none;
}

#info{
	margin-top: -20px;
}

#release {
	margin-bottom: 80px;
	margin-top: -20px;
}

#release .box {
	padding: 0 2%;
}

#contact {
	color: #fff;
	background: url(image/contact_bg01.png) no-repeat center;
	background-size: cover;
	padding: 6em 0;
}

#contact a.button {
	color: #fff;
	border: 2px solid #fff;
	min-width: 280px;
	text-align: center;
}
	#contact a.button::before {
		background: #fff;
	}
	#contact a.button::after {
		background-color: #fff;
	}
	#contact a.button:hover {
		background: #304f67;
		color: #fff;
	}

#contact .box_item {
	padding: 0 2%;
	display: flex;
	justify-content: center;
}

.number {
	border-right: 1px solid #fff;
	padding-right: 5%;
}
.formlink {
	padding-left: 5%;
}
.number p:nth-child(1) {
	font-size: 4.4rem;
	text-align: center;
}

#contact h3 {
	font-size: 3rem;
	letter-spacing: .4rem;
	margin-bottom: 20px;
	text-align: center;
}

#contact .text_c {
	text-align: center;
	margin-bottom: 40px;
}

/* ================================================== company */
#greeting {
	width: 98%;
	max-width: 1000px;
	margin: 0 auto 160px auto;
}

#greeting .inner_box {
	display: flex;
}
#greeting .sign {
	margin: 0 16px 0 auto;
	max-width: 160px;
	text-align: right;
}

#greeting .inner_box p:nth-child(1){
	margin-left: 16px;
}
#greeting .inner_box p:nth-child(2){
	padding: 0 24px 0 40px;
	line-height: 2.8rem;
}
#company table,
#contactform table {
	width: 98%;
	max-width: 1000px;
	margin: 0 auto;
}
#company table tr,
#contactform table tr {
	border-bottom: 1px solid #eeeff0;
}
#company table tr:last-child,
#contactform table tr:last-child {
	border-bottom: none;
}
#company table th, 
#contactform table th{
	width: 20%;
	background: #eeeff0;
	text-align: left;
	padding: 24px;
	vertical-align: top;
}
#company table td,
#contactform table td {
	padding: 24px;
}


/* ================================================== business */
#business .inner_box {
	width: 98%;
	max-width: 1000px;
	margin: 0 auto;
}
#business .inner_box p {
	margin: 8px auto 40px auto;
}
#business .inner_box .inner_img {
	max-width: 80%;
	text-align: center;
	margin: 0 auto;
}

#business h2 {
	padding-top: 80px;
}

#business #adblue {
	margin-top: -80px;
}

#business #container h3 {
	color: #009de8;
	font-size: 2rem;
	background: #d4eef7;
	padding: 4px 16px;
	border-radius: 3px;
}

#business #contents {
	max-width: 1200px;
	display: flex;
	flex-direction: row-reverse;
	margin: 0 auto;
}

#business #submenu ul {
	position: sticky;
	top: 100px;
}
#business #submenu ul li {
	border: 2px solid #009de8;
	border-radius: 2px;
	margin: 4px;
	padding: 16px 8px;
	transition: .2s;
}
#business #submenu ul li:hover {
	background: #d4eef7;
	transition: .2s;
}

#business #dpf-egr .chiba-genki {
	max-width: 400px;
	margin: 0 auto;
}

.egr_video {
	max-width: 1200px;
	display: flex;
}
.egr_video video {
	max-width: 50%;
	padding: 4px;
}

#business .yamano {
	display: flex;
	max-width: 900px;
	margin: 16px auto 0 auto;
}
#business .yamano .photo {
	width: 100%;
}
#business .yamano .profile {
	margin: 16px 0 0 -40px;
}
#business .yamano p,
#business .nats p {
	font-size: 1.4rem;
}
#business .nats {
	max-width: 900px;
	margin: 16px auto 0 auto;
}
#business #chemical img {
	margin: 0;
}
#business .race01,
#business .race02 {
	max-width: 900px;
	margin: 0 auto;
	text-align: center;
	position: relative;
}
#business .race01 {
	margin-bottom: 40px;
}

#business .caption {
	font-size: 1.3rem;
	padding: 2px 16px;
	position: absolute;
	bottom: -16px;
	left: 90px;
	background: #eeeff0;
}

#business .sdgs_doc {
	display: flex;
	flex-direction: row;
}
#business .sdgs_doc img {
	width: 50%;
}


/* ================================================== base */
#base .main {
	width: 98%;
	max-width: 1000px;
	margin: 0 auto;
	border: 2px solid #c0c3c6;
	border-radius: 3px;
	display: flex;
	justify-content: space-between;
}

#base #area .inner_box {
	position: relative;
	width: 96%;
	max-width: 880px;
	margin: 0 auto;
	text-align: right;
}
#base #area .button {
	text-align: center;
	letter-spacing: .2rem;
	margin-top: 40px;
}

#base #area .inner_box p:nth-child(1) {
	position: absolute;
	text-align: left;
	font-size: 3.5rem;
	top: 40px;
	left: 8vw;
}
#base #area .inner_box p:nth-child(2) {
	position: relative;
	right: 0;
}
#base #area .inner_box img {
	width: 70%;
}

#base #list .text {
	padding: 32px;
}

#base #list .img {
	width: 45%;
	min-height: 240px;
	background: url(image/base_chiba.png) center no-repeat;
	background-size: cover;
}

#base .bases,
#base .sales {
	width: 100%;
	max-width: 1000px;
	margin: 16px auto 0 auto;
}

#base .bases ul,
#base .sales ul {
	display: flex;
	flex-wrap: wrap;
}
#base .bases ul li,
#base .sales ul li {
	border: 2px solid #c0c3c6;
	width: calc(50% - 16px);
	margin: 8px;
	padding: 32px;
	border-radius: 3px;
}

#base .bases ul li p,
#base .sales ul li p {
	color: #222;
}

#base h3 {
	font-size: 2rem;
	margin-bottom: 16px;
}

/* ================================================== base */


/* ================================================== products */
#products .inner_box h3 {
	color: #009de8;
	font-size: 2rem;
	background: #d4eef7;
	padding: 4px 16px;
	border-radius: 3px;
}

#products section#adblue {
	margin-top: 0px;
}

#products #adblue ul,
#chemical ul {
	width: 98%;
	max-width: 1000px;
	margin: -24px auto 0 auto;
	display: flex;
	flex-wrap: wrap;
}
#products #adblue ul li,
#chemical ul li {
	width: 50%;
	padding: 24px;
}
#products #adblue ul li h3,
#chemical ul li h3 {
	font-size: 2rem;
	margin-bottom: 8px;
}
#products #adblue ul li p,
#chemical ul li p {
	margin-left: 4px;
}

#products #adblue .button,
#chemical .button {
	text-align: center;
	letter-spacing: .2rem;
}

#chemical img {
	width: 80%;
	margin-top: 32px;
}

#chemical ul li p:last-child {
	text-align: center;
}

#chemical img.FT-data{
	width: 60%;
	margin-top: 32px;
}



/* ================================================== contact */
#contactform .security {
	max-width: 800px;
	margin: 0 auto;
}
#contactform table textarea {
	font-size: 1.2rem;
	max-width: 800px;
	width: 100%;
	height: 224px;
	margin-top: 16px;
	border: 1px solid #222;
	border-radius: 3px;
}
#contactform table input[type=text] {
	font-size: 2rem;
	width: 100%;
	padding: 8px;
	border: 1px solid #222;
	border-radius: 3px;
}
#contactform table input[type=submit] {
	cursor: pointer;
}



.burger {
	display: none;	/*ハンバーガーメニューのリスト（スマホ用）を非表示*/
  }
  
  /**********************************　
  以下、ハンバーガーメニューの設定　
  ************************************/
  
@media (max-width: 599px) {
.default {
	display: none;	/*ヘッダーのグローバルメニューのリスト（パソコン用）を非表示*/
}

/* Nav items */
.menu {
	list-style: none;
	position: absolute;
	width: 120%;
	height: auto;
	top: 0;
	margin-top: 52px;
	padding: 0 0 10px 0;
	clear: both;
	background: #fff;
	transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
	transform: scale(1, 0);
	transform-origin: top;
	box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
  }
  
  /* Hamburger menu button */
  .menu-btn:checked ~ .menu {
	transform: scale(1, 1);
	transform-origin: top;
	transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
  }
  
  /* Hamburger menbu text */
  .menu a {
	text-decoration: none;
	font-weight: 500;
	letter-spacing: 2px;
	font-size: 13px;
	text-transform: capitalize;
	/*color: #ddd;*/
	color:#009de8;
	opacity: 0;
	transition: 0.5s;
  }

  .external a span {
  position: relative;
  display: inline-block;
}

  .external a span::after {
	content: "↗";
  position: relative;
  font-size: 1em;
  top: 0;
  right: -1em;
  color:#ec3c0b;
  }

  .menu a span{
	margin: 0 10px;
  }
  
  .menu li {
	border-top: 1px solid rgb(75, 75, 75);
	padding: 15px 24px;
	margin: 0 90px;
	opacity: 0;
	transition: 0.5s;
  }
  
  .menu-btn:checked ~ .menu a,
  .menu-btn:checked ~ .menu li {
	opacity: 1;
	transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.2s;
  }
  
  .menu-btn {
	display: none;
  }
  
  .menu-icon {
	display: inline-block;
	position: relative;
	cursor: pointer;
	padding: 24px 14px;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  }
  
  .navicon {
	background: #bebebe;
	display: block;
	height: 3px;
	width: 26px;
	position: relative;
	transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
	z-index: 100;
  }
  
  .navicon:before,
  .navicon:after {
	content: "";
	display: block;
	height: 100%;
	width: 100%;
	position: absolute;
	background: #bebebe;  transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
}

.navicon:before {
  top: 9px;
}

.navicon:after {
  bottom: 9px;
}

/* Hamburger Menu Animation Start */
.menu-btn:checked ~ .menu-icon .navicon:before {
  transform: rotate(-45deg);
}

.menu-btn:checked ~ .menu-icon .navicon:after {
  transform: rotate(45deg);
}

.menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before {
  top: 0;
}
.menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after {
  bottom: 0;
}

.menu-btn:checked ~ .menu-icon .navicon {
  background: rgba(0, 0, 0, 0);
  transition: 0.2192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
}
/* Hamburger Menu Animation End */

/* Navbar Container */
.burger {
  width: 100%;
  height: 52px;
  position: absolute;
  box-sizing: border-box;
  display: flex;
  justify-content: flex-end;
  align-items: center;
   padding-right: 10px;
}

/* Navbar Text */
.navtext {
  position: absolute;
  text-transform: uppercase;
  color: #ddd;
  letter-spacing: 4px;
  font-size: 20px;
}
}

/* ================================================== 900px以上（ PC画面用 ）専用設定 */
@media screen and (min-width:900px){
.pc{ display: block; }
.sp{ display: none; }
.sp2{ display: none; }

}

@media screen and (max-width:1080px){
	nav ul li {
	font-size: 1.3rem;
}
}

/* ================================================== 900px未満（ タブレット用 ）専用設定 */
@media screen and (max-width:899px){
.pc{ display: none; }
.sp{ display: block; }
.sp2{ display: none; }

header .logo img {
	width: 80%;
	transition: .2s;
}
header nav {
	margin-left: -40px;
}
nav ul li {
	font-size: 1.3rem;
	margin: 0 3vw 0 0;
}
header nav ul li a span::after {
	right: -10px;
}
#index nav ul li a span::after {
	right: -10px;
}

#intro p:nth-child(1) {
	font-size: 5.5vw;
}

#aboutus .box div {
	padding: 32px;
}

#info dl dd, #release dl dd {
	width: 86%;
	padding-left: 32px;
}

.number p:nth-child(1) {
	font-size: 3.5rem;
}
.number p:nth-child(2) {
	font-size: 1.2rem;
}

footer .box_item div:nth-child(3) {
	font-size: 1.8vw;
}

#company table th, #company table td,
#contactform table th, #contactform table td{
	border-bottom: none;
    display: block;
    width: 100%;
}

#business #submenu ul li {
	font-size: 1.8vw;
}

}

@media screen and (max-width:720px){
	nav ul li {
	font-size: 1.0rem;
}
}

/* ================================================== 600px未満（ スマートフォン用 ）専用設定 */
@media screen and (max-width:599px){
.pc{ display: none; }
.sp{ display: none; }
.sp2{ display: block; }

#intro p:nth-child(1) {
	margin-bottom: 32px;
	text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 10px #fff;
}
#intro p:nth-child(2) {
	font-size: 1.4rem;
	margin-bottom: 32px;
}

#index h2 {
	font-size: 7vw;
}

#ab {
	padding: 6em 0 0 0;
}
#ab .box {
	padding: 0 0 0 0;
}
#ab .box h2 {
	width: 98%;
	margin: 0 auto;
}
.box_ab {
	flex-direction: column;
}
.box_ab p:nth-child(1) {
	padding: 40px;
	line-height: 2.4rem;
}
#ab a.button {
	margin: 40px auto 0 auto;
	text-align: center;
}

#aboutus .box{
	flex-direction: column;
}
#aboutus .box div {
	width: 100%;
}

#info dl, #release dl {
	display: flex;
	flex-direction: column;
}
#info dl dt, #release dl dt {
	width: 100%;
	margin: 16px auto -4px auto;
	padding-bottom: 8px;
}
#info dl dd, #release dl dd {
	width: 86%;
	padding-left: 0;
	margin: 16px auto 8px auto;
	border-bottom: none;
}

#contact .box_item {
	flex-direction: column;
}
.number {
	border-right: none;
	text-align: center;
}
.formlink {
	padding-left: 0;
	margin-top: 24px;
}

footer {
	padding: 0;
}
footer ul {
	flex-direction: column;
	text-align: center;
}
footer ul li {
	padding: 8px 0;
	border-bottom: 1px solid #c0c3c6;
}
footer ul li:last-child {
	border-bottom: none;
}
footer ul li a {
	display: block;
}
footer .box_item {
	flex-direction: column;
	align-items: center;
}
footer .box_item div:nth-child(1) {
	text-align: center;
}
footer .box_item div:nth-child(3) {
	margin-top: 24px;
	font-size: 2.2vw;
}

#greeting .inner_box {
	display: flex;
	flex-direction: column-reverse;
}
#greeting .inner_box p:nth-child(1){
	margin: 40px 64px 0 64px;
}
#greeting .inner_box p:nth-child(2){
	line-height: 2.2rem;
}

#business .yamano {
	flex-direction: column;
}
#business .yamano .profile {
	margin: 16px 0 0 0px;
}


#base .bases ul li,
#base .sales ul li {
	width: 100%;
}

#base #area .inner_box p:nth-child(1) {
	font-size: 5vw;
}

#products #adblue ul li,
#products #chemical ul li,
#business #chemical ul li {
	width: 100%;
}

#business #contents {
	display: block;
}

#business #submenu ul {
	position: fixed;
	display: flex;
	top: 80px;
	background: #fff;
	margin: 0 auto;
	z-index: 5;
}
#business #submenu ul li {
	border: 2px solid #009de8;
	background: #fff;
	margin: 4px;
	padding: 16px 8px;
}
}


#greeting p{
	margin-left: 15px;
}

#greeting h3{
	margin-left: 15px;
}


/* すべての入力フィールドの横幅を100%にする */
.formTable span input {
    width: 100%;
}

.security textarea::placeholder {
	font-size: 24px;
  }

  .formTable {
	width: 100%;
	table-layout: fixed;
  }

  /* テーブルセル(td)に対しても横幅100%を指定 */
.formTable td {
    width: 100%;
	box-sizing: border-box; 
}

/* セキュリティ項目の横幅を指定 */
.security textarea {
    width: 100%;
}

/* お問い合わせ内容のテキストエリアの横幅を100%に */
.formTable textarea {
    width: 100% !important; /* 他のスタイルが優先されるのを防ぐ */
    box-sizing: border-box; /* パディングも含めて幅を調整 */
}

/* 特定のテキストエリアのみの場合 */
textarea[name="your-message"] {
    width: 100% !important;
    box-sizing: border-box; /* パディング込みで幅を調整 */
}

  
  /* フォーム内の入力フィールドのサイズ調整 */
  .wpcf7-form-control {
	width: 100%;  /* 幅を100%に設定 */
	box-sizing: border-box; /* 内側のパディングを含めた幅調整 */
  }

  /* チェックボックスとラベルを横並びに */
  .wpcf7-form-control-wrap .wpcf7-checkbox {
	display: inline-flex;
	align-items: center; /* チェックボックスとラベルを縦中央揃えに */
  }
  
  .wpcf7-form-control-wrap label {
	display: inline-flex; /* ラベルとその中身を横並びに */
	align-items: center; /* チェックボックスとテキストを縦中央揃えに */
  }
  
  .wpcf7-form-control-wrap input[type="checkbox"] {
	margin-right: 10px; /* チェックボックスとラベルの間隔 */
  }

  /* チェックボックスを左に詰める */
.wpcf7-form-control-wrap .wpcf7-checkbox {
	display: inline-flex !important;
	align-items: center !important;
  }
  
  .wpcf7-form-control-wrap label {
	display: inline-flex !important;
	align-items: center !important;
	white-space: nowrap; /* テキストを改行させない */
  }
  
  .wpcf7-form-control-wrap input[type="checkbox"] {
	margin-right: 10px !important; /* チェックボックスとテキストの間隔 */
	margin-left: 0 !important; /* 左の余白をリセット */
  }


   /* フォーム送信時の設定↓　機能していない */
  .wpcf7 form.sent .wpcf7-response-output{ /* 送信完了メッセージ */
	border-radius: 3px;
	border-color: #46b450;
	background: #ebffed;
	color: #46b450;
	padding: 15px;
	font-weight: bold;
  }

  .wpcf7 form.invalid .wpcf7-response-output,
  .wpcf7 form.unaccepted .wpcf7-response-output,
  .wpcf7 form.payment-required .wpcf7-response-output {/* 入力内容に問題がありますメッセージ */
	border-radius: 3px;
	border-color: #ffb900;
	background: #fff5da;
	color: #5d594c;
	padding: 15px;
	font-weight: bold;
  }

  .wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
	border-color: #dc3232; /* Red */
	background: #ffc5c5;
	border-radius: 3px;
	padding: 15px;
	font-weight: bold;
}

.wpcf7 form.spam .wpcf7-response-output {
	border-color: #f56e28; /* Orange */
	background: #ffd7c4;
	border-radius: 3px;
	padding: 15px;
	font-weight: bold;
}

.formTable .pc{display: block;}
.formTable .sp{display: block;}
.formTable .sp2{display: none;}
@media screen and (max-width:599px){
	#greeting p{
		margin-left: 0px;
	}
	#company table td, #contactform table td{
		padding:10px;
		width: 100%;
	}
	.wpcf7-list-item{
		margin: 0px;
		width: 100%;
	}
	.wpcf7-list-item p span{
		width: 100%;
		font-size: 12px;
	}
	#greeting p.gyo2{
		margin-left: 25px;
	}
	.formTable .pc{display: none;}
	.formTable .sp{display: none;}
	.formTable .sp2{display: block;}	

}

.wp-block-table td:nth-child(1){
	width:25%;
	}