@charset "utf-8";

.grid-img {
  display:grid;
  width:792px;
  grid-template-columns: 1fr 1fr 1fr; 
  gap: 4px 10px;
}

.img-fresh img {
  border: 3px solid yellow;
}

.img-crystal img {
  border: 3px solid skyblue;
}

.img-pure img {
  border: 3px solid orange;
}

.grid-img li a {
  display: block;
  /* overflow-x: hidden; */
  overflow-y: hidden;
  height: 193px;
}

.grid-img li a img {
width: 97%;
}

@media screen and (max-width: 800px){	
  .grid-img {
    display:grid;
    width:98%;
    grid-template-columns: 1fr 1fr; 
    gap: 4px 10px;
  }
  .service-main {
    padding-top: 50px;
  }
  .grid-img li a {
    display: block;
    /* overflow-x: hidden; */
    overflow-x: hidden;
    height: 120px;
  }
  
  .grid-img li a img {
  width: 97%;
  }
}

@media screen and (max-width:600px) {
  .p-coating-top__box--outside {
    margin-bottom: 20px;
  }

  /*7　outside1*/
  .p-coating-top__text--outside_1 {
  font-size:15px;
}

}

@media screen and (max-width: 768px) {
 .service-main2 {
    display: grid;
    grid-template-columns: 1fr;
    width:95%;
    margin-bottom: 10px;
  }

  ul.close {
      height: 240px;/*20240515 240px*/
      overflow-y: hidden;
    }
    
    .service-main2 > .grid-img li a {
      display: block;
      /* overflow-x: hidden; */
      overflow-y: hidden;
      height: 120px;/*20240515 120px*/
    }
}

@media screen and (max-width: 768px) {
  .inner {
    width: 100%;
    margin: 0 auto;
    padding-right: 20px;
    padding-left: 20px;
  }
}



/*ホバー時のボタン*/
@media ( min-width : 768px) {
	div.p-coating-detail__btn :hover {
		display: block;
		opacity: 0.5;
	}
	.service-main2 {
		margin-top: 20px;
	}
}

@media screen and (max-width: 767px) {
  a:hover {
    opacity: 0.8;
  }
}



.p-coating-top__box--wdia {
  background: #d5dbe8;
  padding:16px;
  border-radius: 6px;
  margin-bottom: 10px;
}

.p-coating-top__text dl {
  display:block;
  font-size: 16px;
}

.p-coating-top__text dt {
  width:151px;
  height:34px;
  line-height: 34px;
  text-align: center;
  background: #ffffff;
  margin: 6px auto;
  font-weight:600;
}

.p-coating-top__text dd {
  text-align: center;
 padding:3px 0;
  border-top:1px solid #ccc;
}

.p-coating-top__text-wdia {
  font-size:20px;
  font-weight:600;
  color:#0B3290;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 10px;
}

.service-main2 {
  display: grid;
  grid-template-columns: 420px 560px;/*20240515 400px 500px*/
  gap: 4px 10px;
  max-width: 980px;
  margin: 0 auto;
  margin-top: 30px;
  margin-bottom: 30px;
}

div.p-coating-detail__btn1 {
    display:block;
    width:80%;
    margin:10px auto;
    text-align: center;
    color:#fff;
    background:#0B3290;
    line-height: 26px;
    padding: 20px 0;
    border-radius: 4px;
    font-size: 16px;
    /*border: solid 1px #000000;*/
  }

  div.p-coating-detail__btn2 {
    display:block;
    width:80%;
    margin:10px auto;
    text-align: center;
    color:#fff;
    background:#C0C0C0;
    line-height: 26px;
    padding: 20px 0;
    border-radius: 4px;
    font-size: 16px;
    /*border: solid 1px #000000;*/
  }
  
.arrow2 {
  position: relative;
  padding: 0 0 0 20px;
}
.arrow2::after{
  content: "";
  position: absolute;
  top: 30px;
  right: 10px;
  border: 7px solid transparent;
  border-top: 12px solid #555;   /* 好みで色を変えてください */
}

.img-w_dia img {
  border: 3px solid #d5dbe8;
}

@media screen and (min-width: 769px) {
	ul.close {
	  height: 396px;
	  overflow-y: hidden;
	}
}

.service-main2 > .grid-img {
  display:grid;
  grid-template-columns: 280px 280px; /*20240515 250px 250px*/
  gap: 4px 2px;
  margin-bottom: 10px;
}

.open_btn, .open_btn_dia2{
  text-decoration: none;
  color: white;
  -webkit-transition: opacity 0.3s;
  transition: opacity 0.3s;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: #333333;
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

/*PC版用*/
@media screen and (min-width: 769px) {

  .responsive{
    display: none;
  }
    
}

/*SP版用*/
@media screen and (max-width: 768px) {

  .pc-size{
    display: none;
  }

  .responsive-service-main2{
	  width: 100%;
	  max-width: 100vw;
	  box-sizing: border-box;
  }
  
  .responsive{
    margin-right: 20px;
    margin-left: 20px;
  } 
  
  .responsive-grid-img{
  	display: grid;
    width: 98%;
    grid-template-columns: 1fr 1fr;
    gap: 4px 0px;
  }
  
}
