@charset "utf-8";
/* CSS Document */

/* メインイメージ
------------------------------------------------------------*/
.top-img { 
	position:relative;
	overflow:hidden;
}
/*.top-img:before {
	position:absolute;
	background:url("../images/top/main-upper.png");
	content:"";
	background-size: contain;
	background-repeat: no-repeat;
	width:100%;
	height:100%;
}*/
#slogan {
	position: absolute;
	top: 50%;
	width: 100%;
	-webkit-transform: translate(0, -50%);
	transform: translate(0, -50%);
	color: #fff;
	line-height: 1.2;
	text-align: center;
}
/*#slogan img {
	width:20%;
	max-width:500px;
}*/

#slogan h2{
	font-size:2vw;
	font-weight:700;
	text-shadow: 0 0 8px rgb(0, 0, 0, 0.8);
	line-height:2;
	letter-spacing:2px;
}

@media only screen and (max-width:1400px){
#slogan h2{
	font-size:2.5vw;
}	
}

@media only screen and (max-width:900px){
.top-img { 
	margin:60px auto 0;
}
#slogan h2{
	font-size:3vw;
}	
}

@media only screen and (max-width:767px){
.top-img { 
	margin:90px auto 20px;
}
#slogan h2{
	font-size:20px;
	line-height:1.5;
}	
}

/*@media only screen and (min-width:1600px){
.top-img img { 
	margin-top:-100px;}
}

@media only screen and (max-width: 767px){
#slogan img {
	width:33%;
}
.top-img { overflow: hidden;}	
.top-img img { 
	margin-top:50px;
	width:140%;}	
}*/

/* トップカテゴリー
------------------------------------------------------------*/
section.category{
background-color:rgba(51,141,190,0.1);
margin-top:-130px;
position:relative;
z-index:1;
}

section.category div.top4box {
	display:flex;
	flex-wrap:wrap;
	position:relative;
	top:40px;
	gap:20px;
	width:55%;
	margin:auto;
}

@media only screen and (max-width:1820px){
section.category div.top4box {
	width:70%;}
}
@media only screen and (max-width:1400px){
section.category div.top4box {
	width:80%;}
}
@media only screen and (max-width:1250px){
section.category div.top4box {
	width:85%;}
}
@media only screen and (max-width:1160px){
section.category div.top4box {
	width:90%;}
}
@media only screen and (max-width: 1000px){
section.category div.top4box {
	width:94%;}
}
@media only screen and (max-width:767px){
section.category div.top4box {
	width:90%;}
section.category{
margin-top:-10px;}	
}

@media only screen and (max-width:400px){
section.category div.top4box {
	width:93%;}	
}

section.category div.top4box div {
	width:calc( 25% - 30px );
	border:6px solid #0055b4;
	border-radius:20px;
	background-color:#fafafa;
	margin:0 auto;
	transition: .3s ease-in-out;
	box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
}

section.category div.top4box div a {
	display:block;
	padding: 3px 20px 12px;
	height:calc( 100% - 15px );
	border-radius:20px;
	text-decoration:none;
}

section.category div.top4box div:hover {
	border-radius:20px;
	background-color:#ebf3f8;
	transform: translateY(-5px);
}
section.category div.top4box div h2 {
	font-size:25px;
	text-align:center;
	letter-spacing:0.5px;
	font-weight:700;
	color:#0055b4;
	padding:0;
	margin: -12px 0 2px;
}
div.top4box div:nth-of-type(3) h2 {
	letter-spacing:-0.5px!important;
}
div.top4box div:nth-of-type(4) h2 {
	margin:-10px 0 0 0!important;
}

div.top4box div img {
	width:60%;
	margin:0 20% 0;
}
div.top4box div:nth-of-type(4) img {
	width:83%;
	margin:5% 12% 0;
}

div.top4box div ul {
	list-style:none;
	padding:0;
	margin:-7px 0 0 0;
}
div.top4box div ul li {
	color:#0055b4;
	font-weight:600;
	line-height: 1.35;
}
div.top4box div ul li{
	font-size:17px;
}
div.top4box div ul li:before {
    content:"";
    width:14px;
    height:14px;
    display:inline-block;
    background-color: #0055b4;
    border-radius: 50%;
	margin-right:3px;
}

div.top4box div:nth-of-type(2) ul li{
	line-height:1.25;
	float:left;
}
div.top4box div:nth-of-type(2) ul li{
	width:45%;
}
div.top4box div:nth-of-type(2) ul li:nth-of-type(odd){
	width:55%;
}

div.top4box div:nth-of-type(2) ul li:last-child{
	width:100%;
	float:none;
}

div.top4box div:nth-of-type(3) ul li span {
	font-size:80%;
	vertical-align:text-top;
}
div.top4box div:nth-of-type(3) ul li:nth-of-type(1) {
	margin-bottom:-4px;
}


@media only screen and (max-width:1500px){
section.category div.top4box div h2 {
	font-size:23px;
	text-align:center;
}
}

@media only screen and (max-width:1080px){
section.category div.top4box div h2 {
	font-size:20px;
}
div.top4box div:nth-of-type(3) ul li span {
	font-size:75%;
}
div.top4box div:nth-of-type(3) h2 {
	letter-spacing:-0.5px!important;
}
div.top4box div ul li:before {
    width:12px;
    height:12px;
}
}


@media only screen and (max-width:940px){
section.category div.top4box {
	gap:12px;}
section.category div.top4box div {
	width:calc( 25% - 24px );}
div.top4box div:nth-of-type(2) ul li{
	font-size:16px;}
div.top4box div:nth-of-type(4) img {
	margin:12% 12% 0;
}
}

@media only screen and (max-width: 919px){
div.top4box div:nth-of-type(3) ul li span {
	font-size:73%;
}
div.top4box div:nth-of-type(2) ul li:last-child{
	float:left;}
div.top4box div ul li:before {
    width:12px;height:12px;}
section.category div h2 {
	text-align:center;}
}

@media only screen and (max-width:890px){
section.category div.top4box div a {
	display:block;
	padding: 3px 16px 7px;
	height: 100%;
}
section.category div.top4box div h2 {
	font-size:20px;
	margin: -14px 0 0px;
}
section.category div.top4box div:nth-of-type(3) h2 {
	font-size:18px;}
div.top4box div:nth-of-type(4) h2 {
	margin: -8px 0 5px 0!important;
}
div.top4box div ul {
	margin:-2px 0 0 0;
}
div.top4box div:nth-of-type(1) ul li,
div.top4box div:nth-of-type(3) ul li{
	font-size: 15.5px;
	}
div.top4box div:nth-of-type(2) ul li{
	font-size:14px;}
div.top4box div:nth-of-type(2) ul {
	margin:-2px 0 0 0;}
	
div.top4box div:nth-of-type(3) ul li:nth-of-type(1) {
	margin-bottom:-4px;
}
}

@media only screen and (max-width:819px){
section.category div.top4box div h2 {
	margin: -12px 0 0px;
}
section.category div.top4box div:nth-of-type(3) h2 {
	font-size:17px;
letter-spacing:-1px;}	
div.top4box div:nth-of-type(3) ul li span{
	font-size:68%;}
div.top4box div:nth-of-type(2) ul li{
	font-size:13px;}
}

@media only screen and (max-width: 767px){
section.category div.top4box div h2 {
	font-size:22px;
	margin: -16px 0 0px;
}
div.top4box div:nth-of-type(2) h2 {
	line-height:1.2;
	margin: 4px auto 0!important;
}
div.top4box div:nth-of-type(3) h2 {
	font-size:19px!important;
}
div.top4box div:nth-of-type(4) h2 {
	margin:-5px 0 0 0!important;
}
section.category div.top4box {
	top:-40px;
}
section.category div.top4box div a {
	padding: 0px 15px 8px;
}
section.category div.top4box div:nth-of-type(2) a {
	padding: 3px 15px 0;
	}
section.category div.top4box div {
	border:5px solid #0055b4;
	width: calc( 50% - 20px );
	padding: 0px 0 2px;
}
section.category div.top4box div:nth-of-type(3) {
	padding: 0px 0 0px!important;
}
section.category div.top4box div:nth-of-type(4) {
	padding: 0!important;
}
div.top4box div ul {
	margin: 0px 0 0 0!important;
}	
div.top4box div ul li {
	font-size: 15px!important;
}
div.top4box div:nth-of-type(2) ul {
    margin-top: 5px!important;
}
div.top4box div:nth-of-type(3) ul {
    margin-top: -2px!important;
}
div.top4box div:nth-of-type(1) ul li,
div.top4box div:nth-of-type(3) ul li {
	font-size: 16px!important;
}
div.top4box div:nth-of-type(3) ul li:nth-of-type(1) {
	margin-bottom:-2px;
}
div.top4box div:nth-of-type(3) ul li span{
	font-size:13px;}
}


@media only screen and (max-width:419px){
section.category div.top4box div h2 {
	font-size:20px;
}
div.top4box div:nth-of-type(2) h2 {
	margin: 7px auto 0!important;
}
div.top4box div:nth-of-type(3) h2 {
	font-size:18px!important;
	letter-spacing:-0.5px!important;
}
div.top4box div:nth-of-type(2) ul {
    margin-top:6px!important;
}
div.top4box div:nth-of-type(3) ul {
    margin-top: -5px!important;
}
div.top4box div ul li {
	font-size: 13.5px!important;
}
div.top4box div:nth-of-type(3) ul li:nth-of-type(1) {
	margin-bottom: -6px;
}
div.top4box div:nth-of-type(3) ul li span{
	font-size:12px;}
}

@media only screen and (max-width: 400px){
section.category div.top4box div h2 {
	font-size:20px;}
div.top4box div:nth-of-type(3) h2 {
	font-size:17px!important;
	letter-spacing:-0.5px!important;
}
div.top4box div ul li {
	font-size: 12.5px!important;
}
}


/* 青木ポンプ工業所について
------------------------------------------------------------*/
section#aboutus {
	background-color:rgba(51,141,190,0.1);
	position:relative;
	z-index: -1;
}
section#aboutus:before {
	position:absolute;
	z-index:-1;
	background-image:url("../images/top/aboutus-back.png");
	content:"";
	background-size: contain;
	background-repeat: no-repeat;
	width:100%;
	height:2000px;
	background-position:0 -40vh;
}

@media only screen and (max-width: 2000px){
section#aboutus:before { background-position:0 -22vh;}
}
@media only screen and (max-width: 1800px){
section#aboutus:before { background-position:0 -12vh;}
}
@media only screen and (max-width: 1700px){
section#aboutus:before { background-position:0 -11vh;}
}
@media only screen and (max-width:1600px){
section#aboutus:before { background-position:0 -10vh;}
}
@media only screen and (max-width: 1500px){
section#aboutus:before { 
	background-image:url("../images/top/aboutus-back-wide1500.png");
	background-position:0 -50vh;}
}
@media only screen and (max-width:1400px){
section#aboutus:before { background-position:0 -40vh;}
}
@media only screen and (max-width:1250px){
section#aboutus:before { background-position:0 -35vh;}
}
@media only screen and (max-width:1150px){
section#aboutus:before { background-position:0 -30vh;}
}
@media only screen and (max-width:1100px){
section#aboutus:before { background-position:0 -22vh;}
}
@media only screen and (max-width:1000px){
section#aboutus:before { background-position:0 -12vh;}
}
@media only screen and (max-width:840px){
section#aboutus:before {
	width: 100%;
	min-height:830px;
	background-position: 0 -8vh;
	}
}	
@media only screen and (max-width:768px){
section#aboutus:before {
	position:absolute;
	background-image:url("../images/top/aboutus-back-wide1500.png");
	content:"";
	background-size: contain;
	background-repeat: no-repeat;
	width: 100%;
	min-height:2000px;
	background-position: 0px -1vh;
	}
}
	
section#aboutus header {
	margin:auto;
	text-align:center;
	width:140px;
	height:140px;
	background:#fff;
	border:50px #fff solid;
	border-radius:50%;
	z-index: 0;
	position:relative;
	top:25px;
}
section#aboutus header img {
	width:130px;
	position:relative;
	top:12px;
}
.aboutus {
	width: 800px;
	margin:0 auto;
	padding:60px 0 100px;
}
.aboutus p {
	font-size:17px;
	font-weight:600;
	line-height:2.2;
	letter-spacing:0.5px;
	padding:0;
	margin:0 0 20px;
	color: #444;
}

@media only screen and (max-width:840px){
.aboutus {width: 78%;}
.aboutus p {
	font-size: 15px;}
}

@media only screen and (max-width:819px){
.aboutus {width: 75%;}
}

@media only screen and (max-width: 767px){
section#aboutus:before {
	top:-80px;
}
section#aboutus header {
	border:20px #fff solid;
	top:30px;
}
section#aboutus header img {
	width:110px;
	top:20px;
}
.aboutus { width:84%;}
.aboutus p { text-align:left;}
}


/* 施工事例
------------------------------------------------------------*/
section#works {margin-top: 30px;position:relative;z-index:1;}

section#works h2.midashi img {
	display:inline-block;
	width: 40px;
	margin: 0 0 5px 12px;
	vertical-align: middle;
}

section#works p {
padding:20px 0;
}

.instagram {
	margin:30px auto 0;
}

@media only screen and (max-width:840px){
section#works p { 
	text-align:center;
}
}


/* 不使用
section#works ul {
	display:flex;
	flex-wrap:wrap;
	position:relative;
	gap:30px;
	width:100%;
	margin:auto;
}
section#works ul li {
	width:calc( 33.333333333333333% - 30px );
	height:100%;
	aspect-ratio: 1;
	margin:0 auto 0;
	position:relative;
	overflow:hidden;
}

section#works ul li a {
	display:block;
	width:100%;
	height: auto;
	transition: .6s cubic-bezier(0.33, 1, 0.68, 1);
}
section#works ul li a:hover {
	transform: scale(1.05);
}

section#works ul li a img {
	margin: 0;
	padding:0;
}

section#works ul li a::before,
section#works ul li a::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  margin: auto;
  transition: .6s cubic-bezier(0.33, 1, 0.68, 1);
  opacity: 0;
}
section#works ul li a::before {
  background:rgba(51,141,190,0.6);
  width: 100%;
  height:100%;
}
section#works ul li a::after {
  color: #fff;
  content: "事例を見る";
font-weight:500;
  font-size:1.1vw;
  display: flex;
  text-align: center;
  justify-content: center;
  align-items: center;
  bottom: 0;
	left:3px;
  right: 0;
}
section#works ul li a:hover::before,
section#works ul li a:hover::after {
opacity: 1;
cursor: pointer;
letter-spacing:0.1em;
}

section#works ul li p {
	position:absolute;
	z-index:999;
	content:"";
	top:0;
	right:0;
	color:#fff;
	background:#0055b4;
	padding:3px 8px;
	font-size:14px;
	font-weight:600;
}

@media only screen and (max-width:1200px){
section#works {
margin-top:120px;}
section#works ul li a::after {
	font-size:15px;}
}

@media only screen and (max-width:840px){
section#works {margin-top: 80px;}
section#works ul li a::after {
  font-size:13px;}		
}

@media only screen and (max-width:767px){
section#works ul {
	gap:20px 10px;
}
section#works ul li {
	width:calc( 50% - 20px );
}
}

@media only screen and (max-width:390px){
section#works ul {
	gap:10px 5px;
}
section#works ul li {
	width:calc( 50% - 20px );
}
}*/


section#our-principles {
margin:120px auto 120px;
}

section#our-principles h2.midashi {
	text-align:center;
	margin:0 auto 30px;
	font-size:32px;
	color: #0055b4;
}

.principles {
	border-bottom: 1px solid #ccc;
	border-right: 1px solid #ccc;
	display: flex;
	background: rgba(255,255,255,0.6);
	flex-wrap: wrap;
	box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 50px;
}

.principles li {
	position: relative;
	margin:0 auto;
	width: calc( 33.333% - 61px);
	padding: 0 30px 50px;
	border-top: 1px solid #ccc;
	border-left: 1px solid #ccc;
}

.principles .num::before {
	background-color: rgba(0, 64, 150, 1.0);
	opacity:100%;
}

.principles .num {
	font-weight:600;
	font-size: 60px;
	line-height: 1.6;
	z-index: 10;
	color:rgba(0, 64, 150, 0.4);
	font-family: 'Roboto Condensed', sans-serif;
}
.principles .num::before {
	content: "";
	position: absolute;
	top: -1px;
	left: 30px;
	width: 70px;
	height:6px;
}

.principles h3.ttl {
	margin-bottom: 30px;
	font-size:30px;
	height:80px;
	text-align:center;
	font-weight: 700;
	line-height: 1.4;
	color: #0055b4;
}

.principles .lead p {
	font-size:15px;
	font-weight:600;
	color: #444;
	line-height: 2;
}

@media only screen and (max-width:940px){
.principles .num {
	font-size: 50px;
}
.principles .num::before {
	left: 21px;
}
.principles li {
	width: calc( 33.333% - 61px);
	padding: 0 30px 35px;
}	
.principles h3.ttl {
	font-size:24px;
	height:60px;;
}	
}

@media only screen and (max-width: 820px){
section#our-principles {
margin:60px auto 30px;
}
.principles li {
	width: calc( 33.333% - 41px);
	padding: 0 20px 30px;
}	
.principles h3.ttl {
	font-size:22px;
	height:50px;
}
.principles .lead p {
	font-size:14px;
	font-weight:500;
	line-height:1.8;
}
}


@media only screen and (max-width:767px){
section#our-principles {margin: -50px auto 30px;}
.principles {
	border-bottom:none;
	border-right: none;
	box-shadow: none;
}
ul.principles { 
	width:90%;
	margin:auto;}
	
.principles h3.ttl {
	font-size:24px;
	height: 46px;
	padding-left:15px;
	margin-top: -35px;
}

.principles .description02 h3.ttl {
	height:25px;
}
	
.principles li {
	width: calc( 100% - 30px );
	border-top: none;
	border-left: none;
	margin-bottom:30px;
	padding: 0 25px 25px;
	box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 20px;
}
.principles .lead p {
	font-size:15px;
	font-weight:500;
}
}

