﻿/*横幅1200px以下の場合のみ適用*/
@media (max-width: 768px) {
.none{
	display:none;
}
}
@media (min-width: 768px) {
.container {
  width: 90%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}

.main-contents {
  width: 75%;
  padding: 10px;
  /*background-color: #ccc;*/
}

.side-menu {
  /*width: 15%;*/
  padding: 10px;
  /*background-color: #faa;*/
}}
.auto-style1 {
	text-align: center;
}
  img{
    max-width: 98%;
    height: auto;
  }

/*点字*/

.auto-style263 a{
text-decoration: none;
}

.auto-style263 a,a:hover,a:visited{
    color: inherit;
}


/*点字文字だけ*/
.auto-style263-2 a{
text-decoration: none;
}

.auto-style263-2 a,a:hover,a:visited{
    color: inherit;
}

/*点字hover*/
.hover1-2:hover{
	background-color:#FFC400;
	color:#FFFFFF;
	font-weight:600;
	}
	

/*保安用品だけ*/
.auto-style274 a{
text-decoration: none;
}

.auto-style274 a,a:hover,a:visited{
    color: inherit;
}

.auto-style273 a{
text-decoration: none;
}

.auto-style273 a,a:hover,a:visited{
    color: inherit;
}

/*保安用品hover*/
.hover1-1-2:hover{
	background-color:#FF0047;
	color:#FFFFFF;
	font-weight:600;
	}


.hover1-1-3:hover{
	background-color:#3170B8;
	color:#FFFFFF;
	font-weight:600;
	}


/*建築資材*/
.auto-style274-3 a{
text-decoration: none;
}

.auto-style274-3 a,a:hover,a:visited{
    color: inherit;
}

.auto-style273-3 a{
text-decoration: none;
}

.auto-style273-3 a,a:hover,a:visited{
    color: inherit;
}

/*建築資材hover*/
.hover1-1-3:hover{
	background-color:#3170B8;
	color:#FFFFFF;
	font-weight:600;
	}

/*ここまで*/

/*土木資材*/
.auto-style273-4 a{
text-decoration: none;
}

.auto-style273-4 a,a:hover,a:visited{
    color: inherit;
}

/*土木資材hover*/
.hover1-1-4:hover{
	background-color:#6F31B8;
	color:#FFFFFF;
	font-weight:600;
	}

/*ここまで*/


/*足場用品*/
.auto-style274-5 a{
text-decoration: none;
}

.auto-style274-5 a,a:hover,a:visited{
    color: inherit;
}

.auto-style273-5 a{
text-decoration: none;
}

.auto-style273-5 a,a:hover,a:visited{
    color: inherit;
}

/*足場用品hover*/
.hover1-1-5:hover{
	background-color:#00ADA9;
	color:#FFFFFF;
	font-weight:600;
	}

/*ここまで*/


.hover1:hover{
  background-color: #FFE17F;
	color: #5D5D5D;
	text-shadow: 1px 1px 2px #FFFFFF;
}

.osu:hover{
	opacity:0.8;}
}


/*ここまで*/


/*保安*/

.auto-style263-1 a{
text-decoration: none;
}

.auto-style263-1 a,a:hover,a:visited{
    color: inherit;
}


.hover1-1:hover{
  background-color: #FF5B5B;/*薄い色*/
  
  	
	color: #5D5D5D;
	text-shadow: 1px 1px 2px #FFFFFF;
}

.futo{border-top:5px solid #FF5B5B;/*濃い色*/}


/*ここまで*/


.auto-style270 td{
	border:1px solid #808080;
}
/*========= ナビゲーションのためのCSS ===============*/
@media (max-width: 768px) {

#g-nav{
    /*position:fixed;にし、z-indexの数値を小さくして最背面へ*/
    position:fixed;
	z-index: -1;
	opacity: 0;/*はじめは透過0*/
    /*ナビの位置と形状*/
	top:0;
	width:100%;
    height: 100vh;/*ナビの高さ*/
	background:#999;
    /*動き*/
	transition: all 0.3s;
}

/*アクティブクラスがついたら透過なしにして最前面へ*/
#g-nav.panelactive{
	opacity: 1;
	z-index:999;
}

/*ナビゲーションの縦スクロール*/
#g-nav.panelactive #g-nav-list{
    /*ナビの数が増えた場合縦スクロール*/
    position: fixed;
    z-index: 999; 
    width: 100%;
    height: 100vh;/*表示する高さ*/
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

/*ナビゲーション*/
#g-nav ul {
    display: none;
    /*ナビゲーション天地中央揃え*/
    position: absolute;
    z-index: 999;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
}

#g-nav.panelactive ul {
    display: block;
}

/*リストのレイアウト設定*/

#g-nav li{
	list-style: none;
    text-align: center; 
}

#g-nav li a{
	color: #333;
	text-decoration: none;
	padding:10px;
	display: block;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: bold;
}

.iframehaba{
	width:100%;
}
	 }
	 
	 
.highlight{
font-weight:bold;
background-color:Yellow;
}
.auto-style121 {
	font-size: medium;
	color: #008000;
	font-weight: normal;
}

.auto-style54 {
	border-collapse: collapse;
	border: 1px solid #808080;
}
  table{
	width:97%;
}
table{
	width:85%;
}
.auto-style109 {
	text-align: center;
	border: 1px solid #808080;
}
    .auto-style254 {
	text-align: center;
	font-size: medium;
	color: #383838;
	border: 1px solid #808080;
}
.auto-style252 {
	color: #383838;
}
.auto-style238 {
	text-align: center;
	font-size: medium;
	color: #000000;
	border: 1px solid #808080;
}
.auto-style239 {
	color: #000000;
}
  .auto-style206 {
	font-size: medium;
}
.auto-style130 {
}
  .auto-style217 {
	font-size: medium;
}


.auto-style244 {
	text-align: center;
}
.auto-style253 {
	text-align: center;
	color: #383838;
}
    .auto-style242 {
	border-collapse: collapse;
	border: 2px solid #808080;
}

.auto-style241 {
	text-align: center;
	font-size: medium;
	border: 1px solid #808080;
}
.auto-style240 {
	text-align: center;
	border: 1px solid #808080;
}
.auto-style110 {
	text-align: center;
	border: 1px solid #808080;
}
.auto-style116 {
	font-size: medium;
}
.auto-style258 {
	font-size: medium;
	color: #008000;
}

    .auto-style248 {
	text-align: center;
	/*フォントサイズ*/
	font-size: clamp(1.25rem, 0rem + 4vw, 2.5rem);
	color: #434343;
}


    .auto-style6 {
	text-align: center;
	font-size: clamp(1.25rem, -1.875rem + 5vw, 1.875rem);
		padding:0.5em;
	color: #FFFFFF;
}
.auto-style267 {
	color: #0B2750;
}
    .auto-style260 {
	font-size: large;
	color: #0B2750;
	text-align: left;
}
.auto-style3 {
	text-align: center;
	border: 1px solid #808080;
}
.auto-style268 {
	font-size: small;
}

.auto-style274 {
	text-align: center;
	border-collapse: collapse;
}

.auto-style280-11{
	text-align: center;
	background-color: #B9644E;
}
.auto-style281-11{
	font-size: x-large;
	font-family: "源ノ角ゴシック JP Heavy";
	color: #FFFFFF;
}
.auto-style282-11 {
	font-family: "源ノ角ゴシック JP Heavy";
	color: #FFFFFF;
}
.auto-style283-11 {
	font-family: "平成丸ゴシック Std W4";
	font-size: medium;
	color: #FFFFFF;
}
.tophover{
 text-decoration: none;
}
.tophover:hover{
	background-color:#4EB968;
	color:black;
	}

.auto-style301 {
	text-align: center;
	border: 1px solid #808080;
	color: #3170B8;
	font-weight: bold;
}

.auto-style302 {
	text-align: center;
	border: 1px solid #808080;
	background-color: #9171AB;
	color: #6983A8;
}
.auto-style303 {
	text-align: center;
	border: 1px solid #808080;
	background-color: #F1E8FA;
}

.auto-style304 {
	text-align: center;
	border: 1px solid #808080;
	color: #FF0000;
}
/*ここまで*/

.auto-style305 {
	text-align: center; /*フォントサイズ*/;
	font-size: medium;
	color: #434343;
}

.auto-style306 {
	font-size: small;
	font-weight: bold;
}

.auto-style307 {
	font-size: large;
}
.auto-style308 {
	font-size: large;
	font-weight: bold;
}
.width1080{
	max-width:1080px;
	margin:auto;
}
/*関連商品*/
.item-related-products {
  margin-top: 3rem;
}

.item-related-products h3 {
  font-size: 1.5rem;
  border-left: 4px solid #009688;
  padding-left: 0.5rem;
  margin-bottom: 1rem;
  text-align:left;
}

.item-related-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.item-related-card {
  flex: 1 1 calc(33.333% - 1rem);
  background: #f5f5f5;
  text-align: center;
  padding: 1rem;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.item-related-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.item-related-card a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.item-related-card img {
  max-width: 100%;
  height: auto;
}

.item-related-card p {
  margin: 0.5rem 0;
}

@media (max-width: 768px) {
  .item-related-card {
    flex: 1 1 calc(50% - 1rem);
  }
}

@media (max-width: 480px) {
  .item-related-card {
    flex: 1 1 100%;
  }
}
