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

/* トップパララックス
------------------------------------------------------------*/

.para-box1 {
  box-sizing: border-box;
  color: #FFF;
  width:50%;
  height:400px;
  float:left;
  padding:0;
  margin:50px 0 0 0;
}
.para-box2 {
  box-sizing: border-box;
  color: #FFF;
  width:50%;
  padding:0;
  float:right;
  height:400px;
  margin:0 0 0 0;
}
.parallax-bg {
  background-image: url('../images/top/top-image.jpg');
/*  background-attachment: fixed;*/
background:url(image/bg.jpg) center/cover no-repeat fixed;
/*-moz-background-size:contain;
background-size:contain;
  background-repeat: no-repeat;*/
}

.parallax-bg2 {
  background-image: url('../images/top/top-image2.jpg');
/*  background-attachment: fixed;*/
  background-position:right;
-moz-background-size:contain;
background-size:contain;
  background-repeat: no-repeat;
}

/* トップ　会社案内、製品案内、主要設備
------------------------------------------------------------*/
#top03{
	overflow: hidden;
}

#top03 li{
	float: left;
	width: calc(100%/3);
	line-height: 0;
	position:relative;
	background:rgba(10,60,150,1.0);
	overflow:hidden;
}

#top03 li img {
	display: block;
	width: 100%;
	height: auto;
	z-index:-1;
	transform: scale(1);
	transition: .3s ease-in-out;
	opacity: .7;filter: grayscale(100%);
}

#top03 li p {
	z-index:999;
	position: absolute;
	top:43%;
	left:0;
	width: 100%;
	color:rgba(255,255,255,0.0);
	text-align:center;transition: .3s ease-in-out;
	display:inline-block;
	font-size:24px;
	font-weight:normal;
	font-family: 'Shippori Mincho', serif;
}

#top03 li:hover p::before {
  position: absolute;
  bottom: -35px;
  left: calc(50% - 30px);
  width: 60px;
  height: 3px;
  content: '';
  border-radius: 3px;
  background:rgba(255,255,255,0.5);
}

#top03 li:hover img {
  transform: scale(1.1);
  opacity:0.4;filter: grayscale(20%);
}

#top03 li:hover p {
width: 100%;top:45%;
color:rgba(255,255,255,1.0);
}

@media only screen and (max-width:640px){
#top03 li{
	float: none;
	width: 100%;}
}



#top02{
	overflow: hidden;
}

#top02 li{
	float: left;
	width: calc(100%/2);
	line-height: 0;
	position:relative;
	background:rgba(10,60,150,1.0);
	overflow:hidden;
}

#top02 li img {
	display: block;
	width: 100%;
	height: auto;
	z-index:-1;
	transform: scale(1);
	transition: .3s ease-in-out;
	opacity: .7;filter: grayscale(100%);
}

#top04 {
	display: -webkit-box;
    display: -ms-flexbox;
    display:flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
}

#top04 li {
	width: calc(100%/4);
	color: #fff;
	position:relative;
	background:#19448e;
	border-left:3px solid rgba(255,255,255,0.1);
	font-size:14.5px;
}

#top04 li span {
	position:absolute;
	font-size:80px;
	font-weight:600;
	top:-22px;
	left:20px;
	font-family: 'Roboto Condensed', sans-serif;
	color:rgba(255,255,255,0.15);
}

#top04 li h3 {
	font-size:24px;
	line-height:1.4;
	text-align:center;
	margin:50px auto 0;
	font-weight:600;
	letter-spacing:2px;
	height:63px;
}
#top04 li p {
	margin:0 6% 0 8%;
	width:86%;
	padding:20px 0 30px;
	text-align:left;
	font-weight:normal;
	line-height:1.8;
	letter-spacing:0.5px;
}

#top04 li ol {
	width:80%;
	margin: 0 0 0 14%;
	position:relative;
	padding:20px 0;
}

#top04 li ol li {
	width:100%;
	margin:0 0 6px 0;
	border:none!important;
	letter-spacing:0.5px;
	line-height:1.65;
}

@media only screen and (max-width: 1250px){
#top04 li h3 {
	font-size:20px;
	height:60px;
}
}
@media only screen and (max-width:1000px){
#top04 {
	flex-wrap: wrap;
}	
#top04 li{width: calc(100%/2 - 4px);}
#top04 li {
	font-size:13px;
}
#top04 li:nth-of-type(3),#top04 li:nth-of-type(4) {
	border-top:3px solid rgba(255,255,255,0.1);
}
#top04 li h3 {
	font-size:22px;
	height:60px;
	margin:40px auto 0;
}
#top04 li p {
	margin:0 5% 0 9%;
	width:86%;
	padding:20px 0 30px;
	line-height:1.65;
	letter-spacing:0px;}
}

@media only screen and (max-width:767px){
#top04 li { width:100%; }
#top04 li {
	border-top:3px solid rgba(255,255,255,0.1);
}
#top04 li:first-child {
	border-top:none;
}
}

h3.instagram-title {
	margin:auto;
	text-align:center;
}
h3.instagram-title img {
	width:50px;
}

p.instagram-copy {
	font-size: 16px;
	text-align:center;
	margin: 20px auto 30px;
}

ul.instagram_list {
    display: -ms-grid;
    display: grid;
    /*width: 100%;*/
    -ms-grid-columns: (1fr) [3];
    grid-template-columns: repeat(3, 1fr);
    -ms-grid-rows: (1fr) [2];
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap:10px;
    grid-row-gap:10px;
    grid-auto-flow: row;
	position: relative;
	max-width:1000px;
	margin:0 auto 100px;
}

.instagram_list li {
    aspect-ratio: 380 / 353;
    position: relative;
    overflow: hidden;
	background:rgba(10,60,150,0.6);
}

.instagram_list h3 {
color:#fff;
font-size:16px;
font-weight:500;
position:absolute;
z-index:999;
top:50%;
line-height:1.5;
left:50%;
transform: translate(-50%, -50%);
opacity:1.0;
}

.instagram_list p img {
width:30px!important;	
}

.instagram_list p {
color:#fff;
position:absolute;
z-index:999;
bottom:20px;
right:30px;
opacity:1.0;
}

.instagram_list li .instagram_list-image img {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    -webkit-transition-duration: 0.7s;
    transition-duration: 0.7s;
    -o-object-fit: cover;
    object-fit: cover;
    width: 100%;
    height: 100%;
	transition:1s all;
	opacity:0.6;
}

.instagram_list li .instagram_list-image img:hover{
  transform:scale(1.1,1.1);
	opacity:1.0;
  transition:1s all;
}

@media only screen and (max-width:1100px){
ul.instagram_list {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: (1fr) [3];
    grid-template-columns: repeat(3, 1fr);
    -ms-grid-rows: (1fr) [2];
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap:10px;
    grid-row-gap:10px;
    grid-auto-flow: row;
	position: relative;
	max-width:90%;
	margin:0 auto 100px;
}	
}

@media only screen and (max-width:767px){
ul.instagram_list {
    -ms-grid-columns: (1fr) [2];
    grid-template-columns: repeat(2, 1fr);
    -ms-grid-rows: (1fr) [2];
    grid-template-rows: repeat(2, 1fr);
	max-width:90%;
}
.instagram_list h3 {
font-size:14px;
}
.instagram_list p img {
width:25px!important;	
}
.instagram_list p {
color:#fff;
position:absolute;
z-index:999;
bottom:5px;
right:15px;
opacity:1.0;}

p.instagram-copy {
	font-size:15px;
	text-align:center;
	margin: 20px auto 30px;
	width:80%;
}
}









/* SNSロゴ */
section.sns {
	margin: 20px 0 150px;
}

section.sns ul {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	justify-content: center;
	align-items: center;
	max-width: 900px;
	margin:0 auto 0;
	text-align:center;
}

section.sns ul li {
	width: 25%;
	margin:0 auto;
	text-align:center;
	vertical-align:middle;
}

section.sns ul li img {
	height:auto;
	width: 50px;
}

section.sns ul li a img {
	transition: opacity .3s linear;
}

section.sns ul li a:hover img {
	opacity: .60;
}

@media screen and (max-width:1024px){
section.sns ul { 
	max-width:80%;
}	
}

@media screen and (max-width: 820px){
section.sns {
	margin: 0 0 80px;
}
section.sns ul { 
	max-width:90%;
}	
}

@media screen and (max-width:767px){
section.sns {
	margin: 20px 0 30px;
}
section.sns ul { 
	max-width:90%;
}
section.sns ul li {
	/* width:33.3333%; */
	margin:0 auto 50px;
}
}

/* バナーロゴ */
section.link {
	margin: 0 0 50px;
}

section.link ul { 
	display: flex;
	flex-wrap: wrap;
	list-style: none;
justify-content: center;
align-items: center;
	max-width:800px;
	margin:0 auto 0;	
	text-align:center;
}

section.link ul li {
	width:40%;
	margin:0 auto;
	text-align:center;
	vertical-align:middle;	
}

section.link ul li img {
	height:auto;
	width:200px;
	border:1px solid #666;
	padding:10px 20px;
}

section.link ul li a img {
	transition: opacity .3s linear;
}

section.link ul li a:hover img {
	opacity: .60;
}

@media screen and (max-width: 1000px){
section.link ul { 
	max-width:80%;
}	
}

@media screen and (max-width:768px){
section.link {
	margin: 80px 0 50px;
}
section.link ul { 
	max-width:90%;
}	
}

@media screen and (max-width: 767px){
section.link {
	margin: 50px 0 0;
}
section.link ul {
	max-width: 90%;
}
section.link ul li {
	width: 70%;
	margin: 0 auto 25px;
}
section.link ul li img {
	height:auto;
	width: calc( 100% - 30px);
	border:1px solid #666;
	padding: 10px 15px;
}
}


