@charset "UTF-8";


/*=======================================================*/
/*      		セクション毎のCSS   			  		  */
/*======================================================*/


/*======= 共通 ======*/

/* 親要素からはみ出して画面いっぱいに */
.full {
	margin: 0 calc(50% - 50vw);
	width: 100vw;
}



/*======= TOP ======*/
/*ご挨拶*/
.greeting {
	padding: clamp(40px, 6vw, 90px) 0 var(--v-space);
	background-color: var(--base-color);
	position: relative; /* sectionの位置を相対的にする*/
	z-index: 1; /* 背景画像より上に表示 */
}

.greeting-spot {
	color: var(--accent-color1);
	font-size: 1.2em;
}


/*カード*/
.secG-card__item{
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap:10px;
}
@media only screen and (max-width: 968px) {
	.secG-card__item{
		display: grid;
		grid-template-columns: repeat(2, 1fr);
	}
}
@media only screen and (max-width: 568px) {
	.secG-card__item{
		display: grid;
		grid-template-columns: repeat(1, 1fr);
	}
}
.secG-card__item div{
	/*子要素のそれぞれのdivの高さを揃える記述*/
	display: grid;
	grid-template-rows: subgrid;
	grid-row: span 3;
	/*ここまで*/

	padding: 10px;
	border-radius: 10px;
	box-sizing: border-box;
	/*
	border: solid 1px var(--main-color);
	 */
}
.secG-card__item H4{
	padding: 5px 0;
	font-size: clamp(16px,1.5vw,20px);
	line-height: 1.3;
	text-align: center;
	font-weight:normal;
	background-color:var(--main-color);
	margin-bottom:-10px;
}
.secG-card__item p{
	display: inline-block;
	font-size: 15px;
	line-height: 1.5;
}

/*======= コンテンツ ======*/




/*======= Service 取扱商品 ======*/
/*section1*/
.sec1 {
	padding: var(--v-space) 0;

	background: repeating-linear-gradient(
	45deg,
	rgba(128, 128, 128, 0.1) 0,    /* 線の色: グレー */
	rgba(128, 128, 128, 0.2) 1px,  /* 線の太さ: やや濃いグレー */
	transparent 5px,  /* 隙間の開始 */
	transparent 5px   /* 隙間の幅 */
	);

}

.waku80{
	width: 80%;
	margin: 0 auto; /* 左右中央揃え */
	padding:10px;
	border:1px solid #aaa;
	margin-bottom:3em;
	text-align:center;
	font-size: clamp(16px, 3vw, 25px);
	min-height: 0vw;
	font-weight: 400;

	box-shadow: 6px 6px 1px #888 ;
}

@media screen and (max-width: 568px) { 

}

/*======= Item 取扱鋼材一覧 ======*/
.secI {
	padding: var(--v-space) 0;
	background-color:white;
}



/*======= FLOW ======*/

/*section3*/
.sec3 {
	padding: var(--v-space) 0;
	background-color: var(--base-color);
	background-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 50px), url(../img/bg_03.png);
	background-size: cover;
	background-repeat: no-repeat;
	position: relative;
	z-index: 1;
	background-color: rgba(255, 255, 255, 0.7) !important;
	background-blend-mode: overlay;

}

/*======= FAQ ======*/
.faq_sec1 {
	padding: var(--v-space) 0;
	background-color: #FFF;

	position: relative; /* sectionの位置を相対的にする*/ 
	z-index: 1; /* 背景画像より上に表示 */ 
}
div.faq2 p.b {
	font-weight: bold;
	color: #444;
}
div.faq2 p.b::first-letter {
	color: #222;
	font-size: 130%;
}
div.faq2 p {
	margin-top: 5px;
	line-height: 1.4;
	text-align: left;
	text-indent: -1.4em;
	padding-left: 1.4em;
	display: block;
}
div.faq2 p::first-letter {
	color: var(--accent-color1);
	font-size: 130%;
	font-weight: bold;
}
hr.faqHr{
	height: 0px;
	border: 1px dashed var(--accent-color2);
	margin: 20px auto;
}


/*======= 会社案内ページ ======*/
/*会社案内*/
.info_sec1{
	padding: var(--v-space) 0;
	background-color: #FFF;
	background-image: url(../img/bg_05.png);
	background-size:cover;
	background-position: bottom;

	position: relative; /* sectionの位置を相対的にする*/ 
	z-index: 1; /* 背景画像より上に表示 */ 

	background-color: rgba(255, 255, 255, 0.7) !important;
	background-blend-mode: overlay;

}
/* 概要・アクセス部分のテーブル */
.info1 {
	font-weight: bold;
	border-bottom: 1px dashed var(--accent-color2);
	padding: 5px;
	width: 5.25em;
}
.info2 {
	border-bottom: 1px dashed var(--accent-color2);
	padding: 5px;
	width: 400px;
}
@media screen and (max-width: 568px) {
	.info1 {
		display: block;
		padding: 8px 2px 2px 2px;
		width: 100%;
		border-bottom: 1px solid rgba(255,255,255,0);
	}
	.info2 {
		display: block;
		padding: 2px;
		width: 99%;
	}
}

.info-sec1-container {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 5px 5px;
}

@media (min-width: 568px) {
	.info-sec1-container {
		grid-template-columns: repeat(6, 1fr);
	}
}

/*会社概要*/
.bg_b{
	background: rgba(0, 0, 0, 0.8);
	padding:40px;
}
@media screen and (max-width: 568px) {
	.bg_b {
		padding: 20px;
	}
}

.access_sec1{
	padding: var(--v-space) 0;
	background-color: #FFF;

	position: relative; /* sectionの位置を相対的にする*/ 
	z-index: 1; /* 背景画像より上に表示 */ 
}

@media screen and (min-width: 568px) { 
	table.date{
		width:240px;
	}
}

.photo-frame {
	display: flex; /* Flexboxを使用 */
	justify-content: center; /* 左右中央揃え */
	background: #fff;
	padding: 10px; /* 枠の太さ */
	box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3); /* 影 */
	margin: 20px auto; /* 上下マージン20px、左右はautoで中央 */
	width: fit-content; /* コンテンツに合わせた幅 */
}
.photo-frame img {
	display: block;
	width: 600px; /* 画像の幅 */
	height: auto;
}

/*======= 調整 ======*/
.l-c {
	margin-right: auto;
	margin-left: auto;
}

/*その他*/
strong{
	font-weight:normal;
}


/*------------吹き出し----------+*/


.f-container {
	display: flex;
	justify-content: center;
}

.f-box {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	flex-direction: row-reverse; /* 人物を右に */
}

.person img {
	width: 80px;
	height: auto;
}

.balloon {
	border: 2px solid #000;
	border-radius: 10px;
	padding: 1rem;
	background-color: #fff;
	position: relative;
	max-width: 800px;
}

/* PC・タブレット：三角を吹き出しの左辺中央から人物側へ */
.f-box .balloon::before {
	content: '';
	position: absolute;
	top: 20px;
	left: -20px;
	border: 10px solid transparent;
	border-right: 10px solid black; /* 外枠（三角の外側） */
	z-index: 1;
}

.f-box .balloon::after {
	content: '';
	position: absolute;
	top: 21px;
	left: -18px;
	border: 9px solid transparent;
	border-right: 9px solid white; /* 内側（三角の白） */
	z-index: 2;
}

/* スマホ用：縦並び、吹き出し上・人物下、三角は下向き */
@media (max-width: 767px) {
	.f-box {
		flex-direction: column;
		align-items: center;
	}

	.f-box .balloon::before {
		top: auto;
		bottom: -20px;
		left: 50%;
		right: auto;
		transform: translateX(-50%);
		border: 10px solid transparent;
		border-top: 10px solid black;
	}

	.f-box .balloon::after {
		top: auto;
		bottom: -18px;
		left: 50%;
		right: auto;
		transform: translateX(-50%);
		border: 9px solid transparent;
		border-top: 9px solid white;
	}
}



/*=============全体===============*/
.imgtext-container > .img {
	box-shadow: 6px 6px 1px #ccc ;
}

